From 4dc116717d033ec8e69b2b95f7ef0721eacae5c0 Mon Sep 17 00:00:00 2001 From: anhductn2001 Date: Sun, 22 Dec 2024 16:17:00 +0700 Subject: [PATCH] drs 4 --- tests/setup.go | 4 ++-- tests/time_upgrade_test.go | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/setup.go b/tests/setup.go index 67c06b32..a8e114ed 100644 --- a/tests/setup.go +++ b/tests/setup.go @@ -202,7 +202,7 @@ var ( rollappEVMGenesisKV = []cosmos.GenesisKV{ { Key: "app_state.rollappparams.params.drs_version", - Value: 3, + Value: 4, }, { Key: "consensus_params.block.max_gas", @@ -290,7 +290,7 @@ var ( rollappWasmGenesisKV = []cosmos.GenesisKV{ { Key: "app_state.rollappparams.params.drs_version", - Value: 3, + Value: 4, }, { Key: "app_state.gov.voting_params.voting_period", diff --git a/tests/time_upgrade_test.go b/tests/time_upgrade_test.go index 0b1050e9..7eecc0ed 100644 --- a/tests/time_upgrade_test.go +++ b/tests/time_upgrade_test.go @@ -255,10 +255,10 @@ func Test_TimeBaseUpgrade_EVM(t *testing.T) { upgradeTime := blockTime.Add(90 * time.Second).Format(time.RFC3339) fmt.Println("Upgrade Time:", upgradeTime) msg := map[string]interface{}{ - "@type": "/rollapp.timeupgrade.types.MsgSoftwareUpgrade", - "authority": "ethm10d07y265gmmuvt4z0w9aw880jnsr700jpva843", - "drs": 2, - "upgrade_time": upgradeTime, + "@type": "/rollapp.timeupgrade.types.MsgSoftwareUpgrade", + "authority": "ethm10d07y265gmmuvt4z0w9aw880jnsr700jpva843", + "drs": 4, + "upgrade_time": upgradeTime, } rawMsg, err := json.Marshal(msg) @@ -588,10 +588,10 @@ func Test_TimeBaseUpgradeInPast_EVM(t *testing.T) { upgradeTime := "2024-09-06T18:10:00Z" // upgrade time in the past fmt.Println("Upgrade Time:", upgradeTime) msg := map[string]interface{}{ - "@type": "/rollapp.timeupgrade.types.MsgSoftwareUpgrade", - "authority": "ethm10d07y265gmmuvt4z0w9aw880jnsr700jpva843", - "drs": 2, - "upgrade_time": upgradeTime, + "@type": "/rollapp.timeupgrade.types.MsgSoftwareUpgrade", + "authority": "ethm10d07y265gmmuvt4z0w9aw880jnsr700jpva843", + "drs": 2, + "upgrade_time": upgradeTime, } rawMsg, err := json.Marshal(msg)