From 80ea3337ee8eb2755691451d3a47325281a992b4 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Mon, 18 Nov 2024 22:33:13 +0800 Subject: [PATCH] add flags --- rollup/tests/process_start_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rollup/tests/process_start_test.go b/rollup/tests/process_start_test.go index 0b77656824..08b9659990 100644 --- a/rollup/tests/process_start_test.go +++ b/rollup/tests/process_start_test.go @@ -19,7 +19,7 @@ func testProcessStart(t *testing.T) { db := setupDB(t) defer database.CloseDB(db) rollupApp.RunApp(t, cutils.GasOracleApp, "--genesis", "../conf/genesis.json") - rollupApp.RunApp(t, cutils.RollupRelayerApp, "--genesis", "../conf/genesis.json") + rollupApp.RunApp(t, cutils.RollupRelayerApp, "--genesis", "../conf/genesis.json", "--min-codec-version", "4") rollupApp.WaitExit() } @@ -36,7 +36,7 @@ func testProcessStartEnableMetrics(t *testing.T) { port, err = rand.Int(rand.Reader, big.NewInt(10000)) assert.NoError(t, err) svrPort = strconv.FormatInt(port.Int64()+30000, 10) - rollupApp.RunApp(t, cutils.RollupRelayerApp, "--metrics", "--metrics.addr", "localhost", "--metrics.port", svrPort, "--genesis", "../conf/genesis.json") + rollupApp.RunApp(t, cutils.RollupRelayerApp, "--metrics", "--metrics.addr", "localhost", "--metrics.port", svrPort, "--genesis", "../conf/genesis.json", "--min-codec-version", "4") rollupApp.WaitExit() }