core: allow to provide block in GetTestVM()
Sometimes amount of GAS consumed depends on block height.
This commit is contained in:
parent
42ae226f9e
commit
a5914f89fa
5 changed files with 6 additions and 6 deletions
|
@ -50,7 +50,7 @@ type Blockchainer interface {
|
|||
GetStateRoot(height uint32) (*state.MPTRootState, error)
|
||||
GetStorageItem(id int32, key []byte) *state.StorageItem
|
||||
GetStorageItems(id int32) (map[string]*state.StorageItem, error)
|
||||
GetTestVM(tx *transaction.Transaction) *vm.VM
|
||||
GetTestVM(tx *transaction.Transaction, b *block.Block) *vm.VM
|
||||
GetTransaction(util.Uint256) (*transaction.Transaction, uint32, error)
|
||||
mempool.Feer // fee interface
|
||||
GetMaxBlockSize() uint32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue