Skip to content

Commit

Permalink
fix: rm broken optimism gateway (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 24, 2024
1 parent 6cca6e0 commit 55b857e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions client/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ impl SuccinctClient {
let client = Arc::new(SignerMiddleware::new(provider, wallet.clone()));

let address = get_gateway_address(succinct_proof_data.chain_id);
info!(
"Could not find canonical gateway address for chain {}",
succinct_proof_data.chain_id
);

// If gateway_address is provided, use that instead of the canonical gateway address.
let mut gateway_address = gateway_address.or(address).expect(
"Gateway address must be provided when relaying a proof in local mode
Expand Down
3 changes: 1 addition & 2 deletions client/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// List of Succinct Gateway addresses for chains.
const GATEWAY_ADDRESSES: [(u32, &str); 8] = [
const GATEWAY_ADDRESSES: [(u32, &str); 7] = [
(1, "0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803"),
(5, "0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803"),
(100, "0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803"),
(420, "0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803"),
(17000, "0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803"),
(42161, "0x2d27182206f0442885989626934ca9dd5290f979"),
(421614, "0x2d27182206f0442885989626934ca9dd5290f979"),
Expand Down
1 change: 0 additions & 1 deletion contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ SUCCINCT_FEE_VAULT=[0x5999d401444f15d262fdce310bb68bd234de11aa](https://ethersca
| Mainnet | 1 | [0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803](https://etherscan.io/address/0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803) |
| Goerli | 5 | [0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803](https://goerli.etherscan.io/address/0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803) |
| Gnosis | 100 | [0x6e4f1e9eA315EBFd69d18C2DB974EEf6105FB803](https://gnosisscan.io/address/0x6e4f1e9eA315EBFd69d18C2DB974EEf6105FB803) |
| Optimism | 420 | [0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803](https://optimistic.etherscan.io/address/0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803) |
| Holesky | 17000 | [0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803](https://holesky.etherscan.io/address/0x6e4f1e9ea315ebfd69d18c2db974eef6105fb803) |
| Arbitrum | 42161 | [0x2d27182206f0442885989626934ca9dd5290f979](https://arbiscan.io/address/0x2d27182206f0442885989626934ca9dd5290f979) |
| Arbitrum Sepolia | 421614 | [0x2d27182206f0442885989626934ca9dd5290f979](https://sepolia.arbiscan.io/address/0x2d27182206f0442885989626934ca9dd5290f979) |
Expand Down

0 comments on commit 55b857e

Please sign in to comment.