Implemented files called general_consts.go to all modules that heavly relied on the duplicated "CLientID : 1"

Future duplicated variables across the entire module can also be added to it, centralizing therefore all os those kind of values.
This commit is contained in:
Gustavo H. M. Silva
2020-08-19 12:30:38 +01:00
parent 70a1dbac64
commit 23ce8e84c9
10 changed files with 53 additions and 39 deletions

View File

@@ -90,7 +90,7 @@ func TestInitGenesis(t *testing.T) {
initCmd := MsgInstantiateContract{
Sender: creator,
CodeID: 1,
CodeID: CID,
InitMsg: initMsgBz,
InitFunds: deposit,
}