Commit 3cc36be2 authored by clabby's avatar clabby Committed by GitHub

chore(op-challenger): Update kona executor to use subcommand (#13769)

parent 5f7e31ce
......@@ -25,6 +25,7 @@ func NewNativeKonaExecutor() *KonaExecutor {
func (s *KonaExecutor) OracleCommand(cfg Config, dataDir string, inputs utils.LocalGameInputs) ([]string, error) {
args := []string{
cfg.Server,
"single",
"--l1-node-address", cfg.L1,
"--l1-beacon-address", cfg.L1Beacon,
"--l2-node-address", cfg.L2,
......
......@@ -31,6 +31,7 @@ func TestKonaFillHostCommand(t *testing.T) {
args, err := vmConfig.OracleCommand(cfg, dir, inputs)
require.NoError(t, err)
require.True(t, slices.Contains(args, "single"))
require.True(t, slices.Contains(args, "--server"))
require.True(t, slices.Contains(args, "--l1-node-address"))
require.True(t, slices.Contains(args, "--l1-beacon-address"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment