Skip to content

Commit

Permalink
fix: update error Message via Finschia/wasmvm#93
Browse files Browse the repository at this point in the history
  • Loading branch information
da1suk8 committed Mar 31, 2023
1 parent eee1dc1 commit 2dc2921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/wasm/dynamic_link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/line/wasmd/x/wasm/keeper"
abci "github.com/line/ostracon/abci/types"
"github.com/line/wasmd/x/wasm/keeper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down Expand Up @@ -408,7 +408,7 @@ func TestDynamicCallWithWriteFailsByQuery(t *testing.T) {
}
queryReq := abci.RequestQuery{Data: []byte(`{"mul":{"value":2}}`)}
_, qErr := q(data.ctx, queryPath, queryReq)
assert.ErrorContains(t, qErr, "Must not call a writing storage / issuing events function in this context.")
assert.ErrorContains(t, qErr, "It is not possible to inherit from read-only permission to read-write permission")
}

// This tests callee_panic in dynamic call fails
Expand Down

0 comments on commit 2dc2921

Please sign in to comment.