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

Update latest signer for optimism to prague #535

Conversation

meyer9
Copy link
Contributor

@meyer9 meyer9 commented Mar 6, 2025

Description

These should be returning the most permissive signer available for the given chain config. For Isthmus, we need to make sure SetCodeTx transactions are supported.

This logic probably originally existed because Cancun signer only supports blob txs.

@meyer9 meyer9 requested a review from a team as a code owner March 6, 2025 20:25
@meyer9 meyer9 requested a review from sebastianst March 6, 2025 20:25
@tynes
Copy link
Contributor

tynes commented Mar 6, 2025

Do we also want to update LatestSignerForChainID to return the isthmus signer?

@sebastianst
Copy link
Member

Do we also want to update LatestSignerForChainID to return the isthmus signer?

@tynes this seems more complex, because this function only receives the chain id and not the chain config. So you cannot know whether it's an optimism chain within the context of this function. In that case, the most permissive signer is still the prague signer. So I think it's fine to leave it as is. We also didn't add any extra logic into that function before, e.g. also would return a blobtx signer before Isthmus.

@sebastianst sebastianst merged commit 963ab50 into ethereum-optimism:optimism Mar 7, 2025
5 of 6 checks passed
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