Skip to content

Commit

Permalink
Merge branch 'main' into jim/issue5974-move-solomachine-initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
chatton authored Mar 25, 2024
2 parents 97eea76 + 572d8e8 commit c9242ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/params/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The 02-client submodule contains the following parameters:

The allowed clients parameter defines an allow list of client types supported by the chain. The
default value is a single-element list containing the `AllowAllClients` wildcard (`"*"`). When the
wilcard is used, then all client types are supported by default. Alternatively, the parameter
wildcard is used, then all client types are supported by default. Alternatively, the parameter
may be set with a list of client types (e.g. `"06-solomachine","07-tendermint","09-localhost"`).
A client type that is not registered on this list will fail upon creation or on genesis validation.
Note that, since the client type is an arbitrary string, chains must not register two light clients
Expand Down
9 changes: 9 additions & 0 deletions modules/apps/transfer/keeper/relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,15 @@ func (suite *KeeperTestSuite) TestOnRecvPacket() {
expEscrowAmount = sdkmath.NewInt(100)
}, true, false,
},
{
"failure: receive is disabled",
func() {
suite.chainB.GetSimApp().TransferKeeper.SetParams(suite.chainB.GetContext(),
types.Params{
ReceiveEnabled: false,
})
}, false, false,
},
}

for _, tc := range testCases {
Expand Down

0 comments on commit c9242ba

Please sign in to comment.