Skip to content

Commit

Permalink
fix: testcase in marshal
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed Nov 27, 2024
1 parent 61ccf72 commit 692f2bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tm2/pkg/sdk/baseapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package sdk
import (
"bytes"
"encoding/binary"
"encoding/json"
"fmt"
"log/slog"
"os"
Expand Down Expand Up @@ -786,7 +785,7 @@ func TestSimulateTx(t *testing.T) {
require.True(t, queryResult.IsOK(), queryResult.Log)

var res Result
json.Unmarshal(queryResult.ResponseBase.Data, &res)
amino.UnmarshalJSON(queryResult.ResponseBase.Data, &res)
require.Nil(t, err, "Result unmarshalling failed")
require.True(t, res.IsOK(), res.Log)
require.Equal(t, gasConsumed, res.GasUsed, res.Log)
Expand Down

0 comments on commit 692f2bb

Please sign in to comment.