From efa23d912ad403f053ec54844f0aabdf10c50fe6 Mon Sep 17 00:00:00 2001 From: clabby Date: Tue, 29 Oct 2024 16:07:48 -0400 Subject: [PATCH] fix(client): Don't shadow `executor` in engine retry --- bin/client/src/l1/driver.rs | 3 +-- justfile | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/client/src/l1/driver.rs b/bin/client/src/l1/driver.rs index 431e8d0b6..b3f7ec155 100644 --- a/bin/client/src/l1/driver.rs +++ b/bin/client/src/l1/driver.rs @@ -213,8 +213,7 @@ where }); // Retry the execution. - let mut executor = - self.new_executor(cfg, provider, hinter, handle_register); + executor = self.new_executor(cfg, provider, hinter, handle_register); match executor.execute_payload(attributes) { Ok(Header { number, .. }) => *number, Err(e) => { diff --git a/justfile b/justfile index 14c420a6e..03aa689de 100644 --- a/justfile +++ b/justfile @@ -23,7 +23,7 @@ test-online: just test "-E 'test(test_online)'" # Run action tests for the client program on the native target -action-tests test_name='Test_ProgramAction': +action-tests test_name='Test_ProgramAction' *args='': #!/bin/bash just monorepo @@ -42,7 +42,7 @@ action-tests test_name='Test_ProgramAction': export KONA_CLIENT_PATH="{{justfile_directory()}}/target/release-client-lto/kona" cd monorepo/op-e2e/actions/proofs && \ - go test -run "{{test_name}}" -v -count=1 ./... + go test -run "{{test_name}}" {{args}} -count=1 ./... # Clean the action tests directory clean-actions: