Add ReplyOn fields to SubMsg, state is bech32 not canonical addresses
This commit is contained in:
@@ -68,9 +68,9 @@ func TestInitGenesis(t *testing.T) {
|
||||
assertContractList(t, q, data.ctx, 1, []string{contractBech32Addr})
|
||||
assertContractInfo(t, q, data.ctx, contractBech32Addr, 1, creator)
|
||||
assertContractState(t, q, data.ctx, contractBech32Addr, state{
|
||||
Verifier: []byte(fred),
|
||||
Beneficiary: []byte(bob),
|
||||
Funder: []byte(creator),
|
||||
Verifier: fred.String(),
|
||||
Beneficiary: bob.String(),
|
||||
Funder: creator.String(),
|
||||
})
|
||||
|
||||
// export into genstate
|
||||
@@ -90,8 +90,8 @@ func TestInitGenesis(t *testing.T) {
|
||||
assertContractList(t, q2, newData.ctx, 1, []string{contractBech32Addr})
|
||||
assertContractInfo(t, q2, newData.ctx, contractBech32Addr, 1, creator)
|
||||
assertContractState(t, q2, newData.ctx, contractBech32Addr, state{
|
||||
Verifier: []byte(fred),
|
||||
Beneficiary: []byte(bob),
|
||||
Funder: []byte(creator),
|
||||
Verifier: fred.String(),
|
||||
Beneficiary: bob.String(),
|
||||
Funder: creator.String(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user