Skip to content

fix: change r and s types from HexBytes to int in SetCodeAuthoriz…#3811

Open
ozge-devops wants to merge 3 commits intoethereum:mainfrom
ozge-devops:main
Open

fix: change r and s types from HexBytes to int in SetCodeAuthoriz…#3811
ozge-devops wants to merge 3 commits intoethereum:mainfrom
ozge-devops:main

Conversation

@ozge-devops
Copy link
Copy Markdown

Fixes #3716

r and s fields in SetCodeAuthorizationData were incorrectly typed as HexBytes. Changed to int as per the EIP-7702 specification.

What was wrong?

r and s signature fields were typed as HexBytes instead of int.

How was it fixed?

Changed both r and s field types from HexBytes to int in SetCodeAuthorizationData TypedDict.

…ationData

Fixes ethereum#3716 - r and s fields in SetCodeAuthorizationData were incorrectly typed as HexBytes. They should be int as per the EIP-7702 specification.
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.

Serialization bug with authorization signatures

1 participant