Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Feb 26, 2024
1 parent 5dc97d5 commit 77504d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion tests/e2e/reflect_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func MustExecViaStargateReflectContract[T sdkMessageType](t *testing.T, chain *i
// build the complete reflect message
reflectSendBz := []byte(fmt.Sprintf("{\"reflect_msg\":{\"msgs\":%s}}", vmMsgs))

t.Log(string(reflectSendBz))
execMsg := &types.MsgExecuteContract{
Sender: chain.SenderAccount.GetAddress().String(),
Contract: contractAddr.String(),
Expand Down
7 changes: 1 addition & 6 deletions x/wasm/keeper/handler_plugin_encoders_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,8 @@ func TestEncoding(t *testing.T) {
encodingConfig := MakeEncodingConfig(t)
for name, tc := range cases {
t.Run(name, func(t *testing.T) {
var ctx sdk.Context
encoder := DefaultEncoders(encodingConfig.Codec, wasmtesting.MockIBCTransferKeeper{})
res, err := encoder.Encode(ctx, tc.sender, "", tc.srcMsg)
res, err := encoder.Encode(sdk.Context{}, tc.sender, "", tc.srcMsg)
if tc.expError {
assert.Error(t, err)
return
Expand All @@ -448,10 +447,6 @@ func TestEncodeIbcMsg(t *testing.T) {
addr1 = RandomAccountAddress(t)
addr2 = RandomAccountAddress(t)
)
valAddr := make(sdk.ValAddress, types.SDKAddrLen)
valAddr[0] = 12
valAddr2 := make(sdk.ValAddress, types.SDKAddrLen)
valAddr2[1] = 123

cases := map[string]struct {
sender sdk.AccAddress
Expand Down

0 comments on commit 77504d8

Please sign in to comment.