Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(contracts/solve): fix deployedAt on Arbitrum chains #2672

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

Zodomo
Copy link
Contributor

@Zodomo Zodomo commented Dec 10, 2024

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

@Zodomo Zodomo self-assigned this Dec 10, 2024
@Zodomo Zodomo merged commit 5f8f00a into main Dec 10, 2024
19 checks passed
@Zodomo Zodomo deleted the zodomo/blocknumberfix branch December 10, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants