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 ReadStorageAt #302

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Fix ReadStorageAt #302

wants to merge 3 commits into from

Conversation

boyuan-chen
Copy link

Somehow, starting from the last night, all bcs endpoints don't support to get the storage according to the block hash. I tried the ankr, quicknode, but none of them supports it.

@boyuan-chen boyuan-chen requested a review from jyellick February 25, 2025 16:09
Copy link

@jyellick jyellick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange, but seems like a fine workaround

Copy link

@mmontour1306 mmontour1306 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll approve this as a temporary fix for a testnet, but in general the function should not override an explicitly specified blockHash as this could pass incorrect state information back to the caller. This change also bypasses the "s.trustRPC" flag and treats it as true for chainId 97.

@boyuan-chen boyuan-chen temporarily deployed to op-stack-production February 26, 2025 17:09 — with GitHub Actions Inactive
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.

3 participants