Skip to content

Commit

Permalink
Failing test showing it was not currently pinned
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jan 20, 2022
1 parent 109eb18 commit 67247e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/wasm/keeper/proposal_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ func TestStoreCodeProposal(t *testing.T) {
cInfo := wasmKeeper.GetCodeInfo(ctx, 1)
require.NotNil(t, cInfo)
assert.Equal(t, myActorAddress, cInfo.Creator)
assert.True(t, wasmKeeper.IsPinnedCode(ctx, 1))

storedCode, err := wasmKeeper.GetByteCode(ctx, 1)
require.NoError(t, err)
Expand Down

0 comments on commit 67247e1

Please sign in to comment.