Set next block version to version2  on ICON2 revision
@@ -122,6 +122,10 @@ func (s *chainScore) handleRevisionChange(as state.AccountState, r1, r2 int) err
if err := scoredb.NewVarDB(as, state.VarDepositTerm).Set(icmodule.DisableDepositTerm); err != nil {
return err
}
+ // using v2 block for ICON2
+ if err := scoredb.NewVarDB(as, state.VarNextBlockVersion).Set(module.BlockVersion2); err != nil {
+ return err
+ }
}
// for ICON platform IISS
