mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
RPCResponse.Result && EventData are registered interfaces; -skip_upnp option
This commit is contained in:
@@ -2,6 +2,7 @@ package vm
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/common"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
. "github.com/tendermint/tendermint/vm"
|
||||
"github.com/tendermint/tendermint/vm/sha3"
|
||||
)
|
||||
@@ -9,7 +10,7 @@ import (
|
||||
type FakeAppState struct {
|
||||
accounts map[string]*Account
|
||||
storage map[string]Word256
|
||||
logs []*Log
|
||||
logs []types.EventDataLog
|
||||
}
|
||||
|
||||
func (fas *FakeAppState) GetAccount(addr Word256) *Account {
|
||||
@@ -69,7 +70,7 @@ func (fas *FakeAppState) SetStorage(addr Word256, key Word256, value Word256) {
|
||||
fas.storage[addr.String()+key.String()] = value
|
||||
}
|
||||
|
||||
func (fas *FakeAppState) AddLog(log *Log) {
|
||||
func (fas *FakeAppState) AddLog(log types.EventDataLog) {
|
||||
fas.logs = append(fas.logs, log)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user