Skip to content

Commit

Permalink
fix(client): Don't shadow executor in engine retry (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby authored Oct 29, 2024
1 parent 069c3f1 commit 3630af2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bin/client/src/l1/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 3630af2

Please sign in to comment.