Skip to content

Commit

Permalink
drs 4
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Dec 22, 2024
1 parent 12cff0f commit 4dc1167
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
16 changes: 8 additions & 8 deletions tests/time_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 4dc1167

Please sign in to comment.