Skip to content

Commit

Permalink
Merge branch 'main' into 1308-xlightclient-redundent-call-for-findsta…
Browse files Browse the repository at this point in the history
…teinfobyheight
  • Loading branch information
mtsitrin committed Dec 3, 2024
2 parents 5911b27 + e26b17e commit 490f5be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion x/lightclient/keeper/canonical_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,4 @@ func (k Keeper) ValidateHeaderAgainstStateInfo(ctx sdk.Context, sInfo *rollappty
NextBlockSequencer: nextSeq,
}
return errorsmod.Wrap(types.CheckCompatibility(*consState, rollappState), "check compatibility")

}
9 changes: 5 additions & 4 deletions x/rollapp/keeper/msg_server_update_rollapp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/dymensionxyz/gerr-cosmos/gerrc"
"github.com/dymensionxyz/sdk-utils/utils/ucoin"
"github.com/dymensionxyz/sdk-utils/utils/uptr"

"github.com/dymensionxyz/dymension/v3/x/rollapp/types"
Expand All @@ -33,6 +34,7 @@ func (s *RollappTestSuite) TestUpdateRollapp() {
Owner: alice,
RollappId: rollappId,
InitialSequencer: initialSequencerAddress,
MinSequencerBond: ucoin.SimpleMul(types.DefaultMinSequencerBondGlobalCoin, 3),
Metadata: &mockRollappMetadata,
GenesisInfo: &types.GenesisInfo{
Bech32Prefix: "new",
Expand All @@ -51,10 +53,9 @@ func (s *RollappTestSuite) TestUpdateRollapp() {
Owner: alice,
RollappId: rollappId,
InitialSequencer: initialSequencerAddress,
MinSequencerBond: sdk.NewCoins(types.DefaultMinSequencerBondGlobalCoin),

VmType: types.Rollapp_EVM,
Metadata: &mockRollappMetadata,
MinSequencerBond: sdk.NewCoins(ucoin.SimpleMul(types.DefaultMinSequencerBondGlobalCoin, 3)),
VmType: types.Rollapp_EVM,
Metadata: &mockRollappMetadata,
GenesisInfo: types.GenesisInfo{
GenesisChecksum: "new_checksum",
Bech32Prefix: "new",
Expand Down

0 comments on commit 490f5be

Please sign in to comment.