Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: gfanton <[email protected]>
  • Loading branch information
gfanton committed Jan 9, 2025
1 parent 9aa7139 commit d574bf7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 1 addition & 3 deletions gno.land/pkg/sdk/vm/types.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
10 changes: 5 additions & 5 deletions tm2/pkg/bft/abci/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down
4 changes: 2 additions & 2 deletions tm2/pkg/sdk/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d574bf7

Please sign in to comment.