Skip to content

Commit

Permalink
fix(contracts/solve): fix deployedAt on Arbitrum chains (#2672)
Browse files Browse the repository at this point in the history
Arbitrum chains return L1 block values when using `block.number`. L2
block numbers need to be retrieved from the ArbSys precompile.
Implemented temporary fix, but a more robust method is necessary for
detecting when we are deployed to any Arbitrum chain.

issue: none
  • Loading branch information
Zodomo authored Dec 10, 2024
1 parent d97191e commit 5f8f00a
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/bindings/solveinbox.go

Large diffs are not rendered by default.

Loading

0 comments on commit 5f8f00a

Please sign in to comment.