Skip to content

Commit

Permalink
fix(l2): deployer script fixes (#976)
Browse files Browse the repository at this point in the history
**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

**Description**

<!-- A clear and concise general description of the changes this PR
introduces -->

<!-- Link to issues: Resolves #111, Resolves #222 -->

Closes #issue_number
  • Loading branch information
ilitteri authored Oct 24, 2024
1 parent 7092000 commit e11289b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/l2/.example.env → crates/l2/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ETH_RPC_URL=http://localhost:8545
DEPLOYER_ADDRESS=0x3d1e15a1a55578f7c920884a9943b3b35d0d885b
DEPLOYER_PRIVATE_KEY=0x385c546456b6a603a1cfcaa9ec9494ba4832da08dd6bcf4de9a71e4a01b74924
L1_WATCHER_BRIDGE_ADDRESS=0x90cD151b6e9500F13240dF68673f3B81245D57d4
L1_WATCHER_BRIDGE_ADDRESS=0xca829334b66d86ea2c35ca4c4fa94e99851ef587
L1_WATCHER_TOPICS=0x6f65d68a35457dd88c1f8641be5da191aa122bc76de22ab0789dcc71929d7d37
L1_WATCHER_CHECK_INTERVAL_MS=5000
L1_WATCHER_MAX_BLOCK_STEP=5000
Expand All @@ -11,7 +11,7 @@ ENGINE_API_JWT_PATH=./jwt.hex
PROVER_SERVER_LISTEN_IP=127.0.0.1
PROVER_SERVER_LISTEN_PORT=3000
PROVER_CLIENT_PROVER_SERVER_ENDPOINT=localhost:3000
PROPOSER_ON_CHAIN_PROPOSER_ADDRESS=0xF04a082b0f773cA74B61278d9dBaaB5Ed5273DB5
PROPOSER_ON_CHAIN_PROPOSER_ADDRESS=0xe9927d77c931f8648da4cc6751ef4e5e2ce74608
PROPOSER_L1_ADDRESS=0x3d1e15a1a55578f7c920884a9943b3b35d0d885b
PROPOSER_L1_PRIVATE_KEY=0x385c546456b6a603a1cfcaa9ec9494ba4832da08dd6bcf4de9a71e4a01b74924
PROPOSER_INTERVAL_MS=5000
Expand Down
4 changes: 2 additions & 2 deletions crates/l2/contracts/deployer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ async fn main() {
)
.expect("Malformed DEPLOYER_PRIVATE_KEY (SecretKey::parse)");

if std::fs::exists("solc_out").expect("Could not determine if solc_out exists") {
std::fs::remove_dir_all("solc_out").expect("Failed to remove solc_out");
if std::fs::exists("contracts/solc_out").expect("Could not determine if solc_out exists") {
std::fs::remove_dir_all("contracts/solc_out").expect("Failed to remove solc_out");
}

let overrides = Overrides {
Expand Down

0 comments on commit e11289b

Please sign in to comment.