Anna Shaleva
|
aa886f67ce
|
core: use dao-binded cache for native contracts
All native cached values are binded to DAO, so that it's possible
to properly handle historic calls.
|
2022-04-29 16:10:04 +03:00 |
|
Anna Shaleva
|
51a54fa248
|
core: return default BaseExecFee if blockchain height is 0
For (bc *Blockchain).GetBaseExecFee().
|
2022-04-08 14:28:30 +03:00 |
|
Anna Shaleva
|
8965441288
|
core: rebase core tests onto neotest
|
2022-03-30 19:00:53 +03:00 |
|
Anna Shaleva
|
ff13af804d
|
core: adjust persist-related Blockchain tests
`newTestChain` runs blockchain, so persist is likely already happened
before the first test iteration. Explicit call to persist makes no sence
here.
|
2022-03-30 11:46:44 +03:00 |
|
Anna Shaleva
|
e0ab4ec6f0
|
core: adjust helper test contract
Method is allowed to have single return value on stack after its invocation.
Make sure that test contract follows this rule.
|
2022-03-30 11:46:44 +03:00 |
|
Anna Shaleva
|
13252bb941
|
core: refactor helper test contracts generation
* Move generator to a separate package.
* Move loader to a separate package and get rid of the code duplications.
|
2022-03-30 11:46:29 +03:00 |
|
Anna Shaleva
|
4a74c117ee
|
*: refactor TestCreateBasicChain and its dependencies
Close #2355
|
2022-03-30 11:32:26 +03:00 |
|