diff --git a/gno.land/pkg/sdk/vm/types.go b/gno.land/pkg/sdk/vm/types.go index e2649dc844c..442c2d4b138 100644 --- a/gno.land/pkg/sdk/vm/types.go +++ b/gno.land/pkg/sdk/vm/types.go @@ -1,8 +1,6 @@ package vm -import ( - "github.com/gnolang/gno/tm2/pkg/amino" -) +import "github.com/gnolang/gno/tm2/pkg/amino" // Public facing function signatures. // See convertArgToGno() for supported types. diff --git a/tm2/pkg/bft/abci/types/types.go b/tm2/pkg/bft/abci/types/types.go index b07dc598337..42376e712a6 100644 --- a/tm2/pkg/bft/abci/types/types.go +++ b/tm2/pkg/bft/abci/types/types.go @@ -99,12 +99,12 @@ type Response interface { } type ResponseBase struct { - Error Error `json:"error"` - Data []byte `json:"data"` - Events []Event `json:"events"` + Error Error + Data []byte + Events []Event - Log string `json:"log"` // nondeterministic - Info string `json:"info"` // nondeterministic + Log string // nondeterministic + Info string // nondeterministic } func (ResponseBase) AssertResponse() {} diff --git a/tm2/pkg/sdk/types.go b/tm2/pkg/sdk/types.go index bd4960e5c91..47395362f1a 100644 --- a/tm2/pkg/sdk/types.go +++ b/tm2/pkg/sdk/types.go @@ -23,8 +23,8 @@ type Handler interface { // Result is the union of ResponseDeliverTx and ResponseCheckTx plus events. type Result struct { abci.ResponseBase - GasWanted int64 `json:"gas_wanted"` - GasUsed int64 `json:"gas_used"` + GasWanted int64 + GasUsed int64 } // AnteHandler authenticates transactions, before their internal messages are handled.