Skip to content

Commit c92dc5f

Browse files
authored
v5.5.1 & v5.5.2 release (#1685)
* Add v5.5.0 release * add evm migration * Add v5.5.2
1 parent 6140a56 commit c92dc5f

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Ref: https://keepachangelog.com/en/1.0.0/
2727
-->
2828

2929
# Changelog
30+
## v5.5.2
31+
sei-chain
32+
* [#1685](https://github.com/sei-protocol/sei-chain/pull/1685) Add EVM support to v5.5.2
3033
## v5.4.0
3134
sei-chain
3235
* [#1671](https://github.com/sei-protocol/sei-chain/pull/1671) Update and fixes to ERC721 contract

app/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ func (app *App) SetStoreUpgradeHandlers() {
10061006
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storeUpgrades))
10071007
}
10081008

1009-
if upgradeInfo.Name == "v5.1.0" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
1009+
if (upgradeInfo.Name == "v5.1.0" || upgradeInfo.Name == "v5.5.2") && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
10101010
storeUpgrades := storetypes.StoreUpgrades{
10111011
Added: []string{evmtypes.StoreKey},
10121012
}

app/upgrades.go

+3
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ var upgradesList = []string{
9898
"v5.2.2",
9999
"v5.3.0",
100100
"v5.4.0",
101+
"v5.5.0",
102+
"v5.5.1",
103+
"v5.5.2",
101104
}
102105

103106
// if there is an override list, use that instead, for integration tests

x/evm/module.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ func (am AppModule) RegisterServices(cfg module.Configurator) {
151151
_ = cfg.RegisterMigration(types.ModuleName, 6, func(ctx sdk.Context) error {
152152
return migrations.StoreCWPointerCode(ctx, am.keeper, false, true)
153153
})
154+
155+
_ = cfg.RegisterMigration(types.ModuleName, 7, func(ctx sdk.Context) error {
156+
return migrations.StoreCWPointerCode(ctx, am.keeper, false, true)
157+
})
154158
}
155159

156160
// RegisterInvariants registers the capability module's invariants.
@@ -175,7 +179,7 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
175179
}
176180

177181
// ConsensusVersion implements ConsensusVersion.
178-
func (AppModule) ConsensusVersion() uint64 { return 7 }
182+
func (AppModule) ConsensusVersion() uint64 { return 8 }
179183

180184
// BeginBlock executes all ABCI BeginBlock logic respective to the capability module.
181185
func (am AppModule) BeginBlock(ctx sdk.Context, _ abci.RequestBeginBlock) {

x/evm/module_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func TestModuleExportGenesis(t *testing.T) {
5151
func TestConsensusVersion(t *testing.T) {
5252
k, _ := testkeeper.MockEVMKeeper()
5353
module := evm.NewAppModule(nil, k)
54-
assert.Equal(t, uint64(7), module.ConsensusVersion())
54+
assert.Equal(t, uint64(8), module.ConsensusVersion())
5555
}
5656

5757
func TestABCI(t *testing.T) {

0 commit comments

Comments
 (0)