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

signer/core: support chainId in GnosisSafeTx #24231

Merged

Conversation

mmv08
Copy link
Contributor

@mmv08 mmv08 commented Jan 12, 2022

After EIP-1344 - ChainID opcode was introduced, starting from 1.3.0 Gnosis Safe contracts added chainId to the EIP-712 domain for transactions - changelog

The GnosisSafeTx struct didn't support the chainId property and couldn't be used with newer versions of the Safe contracts.

This PR adds support for chainId in GnosisSafeTx, making it possible to use to transact with Safe Contracts version 1.3.0

Thanks to @rmeissner for the help with the PR

@mmv08 mmv08 requested a review from holiman as a code owner January 12, 2022 19:21
@mmv08 mmv08 changed the title signer, core: support chainId in GnosisSafeTx signer/core: support chainId in GnosisSafeTx Jan 12, 2022
@holiman
Copy link
Contributor

holiman commented Jan 18, 2022

Please revert the change on tests/testdata

@mmv08 mmv08 force-pushed the feature/support-chainId-for-GnosisSafeTx branch from e0c9d00 to 6e5286d Compare January 18, 2022 11:00
@mmv08
Copy link
Contributor Author

mmv08 commented Jan 18, 2022

@holiman done

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

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

LGTM

@holiman holiman added this to the 1.10.16 milestone Jan 18, 2022
@holiman holiman merged commit 7dec26d into ethereum:master Jan 18, 2022
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Jan 18, 2022
JacekGlen pushed a commit to JacekGlen/go-ethereum that referenced this pull request May 26, 2022
@mmv08 mmv08 deleted the feature/support-chainId-for-GnosisSafeTx branch January 2, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants