diff --git a/tests/e2e/grants_test.go b/tests/e2e/grants_test.go index f210e37530..8494726c9d 100644 --- a/tests/e2e/grants_test.go +++ b/tests/e2e/grants_test.go @@ -4,6 +4,8 @@ import ( "fmt" "testing" + "github.com/CosmWasm/wasmd/x/wasm/ibctesting" + "github.com/CosmWasm/wasmd/x/wasm/types" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types" sdk "github.com/cosmos/cosmos-sdk/types" @@ -11,9 +13,6 @@ import ( "github.com/cosmos/cosmos-sdk/x/authz" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - - "github.com/CosmWasm/wasmd/x/wasm/ibctesting" - "github.com/CosmWasm/wasmd/x/wasm/types" ) func TestGrants(t *testing.T) { @@ -74,7 +73,7 @@ func TestGrants(t *testing.T) { filter: types.NewAllowAllMessagesFilter(), senderKey: otherPrivKey, transferAmount: myAmount, - expErr: sdkerrors.ErrUnauthorized, + expErr: authz.ErrNoAuthorizationFound, }, } for name, spec := range specs { diff --git a/x/wasm/keeper/testdata/reflect_1_1.wasm b/x/wasm/keeper/testdata/reflect_1_1.wasm new file mode 100644 index 0000000000..7383a6d635 Binary files /dev/null and b/x/wasm/keeper/testdata/reflect_1_1.wasm differ