2fee69f26f
Although not every contract is persisted (see https://github.com/neo-project/neo/blob/master/src/neo/Ledger/Blockchain.cs#L94) we have to add `onPersist` and `postPersist` methods to every native contract in order to display them in manifest for users and follow C# behaviour. In C# there are `onPersist` and `postPersist` methods in base native contract class, see https://github.com/neo-project/neo/blob/master/src/neo/SmartContract/Native/NativeContract.cs#L141 and https://github.com/neo-project/neo/blob/master/src/neo/SmartContract/Native/NativeContract.cs#L148 |
||
---|---|---|
.. | ||
contract.go | ||
designate.go | ||
interop.go | ||
native_gas.go | ||
native_neo.go | ||
native_neo_candidate.go | ||
native_neo_test.go | ||
native_nep17.go | ||
neo_types.go | ||
oracle.go | ||
oracle_types.go | ||
oracle_types_test.go | ||
policy.go | ||
util.go |