core: export GetContractState/GetScriptHashesForVerifying via Blockchainer
These are gonna be used by interops and are also useful in general.
This commit is contained in:
parent
19fd7f844e
commit
8266a5ce19
2 changed files with 8 additions and 0 deletions
|
@ -56,6 +56,9 @@ func (chain testChain) HeaderHeight() uint32 {
|
|||
func (chain testChain) GetBlock(hash util.Uint256) (*core.Block, error) {
|
||||
panic("TODO")
|
||||
}
|
||||
func (chain testChain) GetContractState(hash util.Uint160) *core.ContractState {
|
||||
panic("TODO")
|
||||
}
|
||||
func (chain testChain) GetHeaderHash(int) util.Uint256 {
|
||||
return util.Uint256{}
|
||||
}
|
||||
|
@ -69,6 +72,9 @@ func (chain testChain) GetAssetState(util.Uint256) *core.AssetState {
|
|||
func (chain testChain) GetAccountState(util.Uint160) *core.AccountState {
|
||||
panic("TODO")
|
||||
}
|
||||
func (chain testChain) GetScriptHashesForVerifying(*transaction.Transaction) ([]util.Uint160, error) {
|
||||
panic("TODO")
|
||||
}
|
||||
func (chain testChain) GetStorageItem(scripthash util.Uint160, key []byte) *core.StorageItem {
|
||||
panic("TODO")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue