-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform native contract initialization for the set of hardforks (#3202)
* Close #3200 * Anna's review * All Hfs when genesis * fix * Update src/Neo/SmartContract/Native/NativeContract.cs Co-authored-by: Anna Shaleva <[email protected]> * possible fix * always Initialize with null * Revert "always Initialize with null" This reverts commit 68c285c. * Call with null during deploy * Update src/Neo/SmartContract/Native/ContractManagement.cs Co-authored-by: Anna Shaleva <[email protected]> * Update src/Neo/SmartContract/Native/ContractManagement.cs Co-authored-by: Anna Shaleva <[email protected]> * Update src/Neo/SmartContract/Native/ContractManagement.cs Co-authored-by: Anna Shaleva <[email protected]> * Native: adjust failing TestIsInitializeBlock According to new logic, an empty set of hard-forks will be returned in case of genesis initialization with all hardforks disabled. Ref. #3202 (comment). Signed-off-by: Anna Shaleva <[email protected]> --------- Signed-off-by: Anna Shaleva <[email protected]> Co-authored-by: Anna Shaleva <[email protected]> Co-authored-by: Jimmy <[email protected]>
- Loading branch information
1 parent
ef11769
commit 1e6404b
Showing
3 changed files
with
43 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters