Rename ambiguous Code attribute

This commit is contained in:
Alex Peters
2020-07-17 16:50:57 +02:00
parent 774f6d7876
commit db464d891b
19 changed files with 51 additions and 51 deletions

View File

@@ -171,7 +171,7 @@ func TestHandleInstantiate(t *testing.T) {
// create with no balance is also legal
initCmd := MsgInstantiateContract{
Sender: creator,
Code: 1,
CodeID: 1,
InitMsg: initMsgBz,
InitFunds: nil,
}
@@ -228,7 +228,7 @@ func TestHandleExecute(t *testing.T) {
initCmd := MsgInstantiateContract{
Sender: creator,
Code: 1,
CodeID: 1,
InitMsg: initMsgBz,
InitFunds: deposit,
}
@@ -339,7 +339,7 @@ func TestHandleExecuteEscrow(t *testing.T) {
initCmd := MsgInstantiateContract{
Sender: creator,
Code: 1,
CodeID: 1,
InitMsg: initMsgBz,
InitFunds: deposit,
}