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

feat: access list support implementation #17384

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mmyslariane
Copy link

Description:
When sending transaction with access list the public key and the address of the transaction sender is not properly calculated and it results in error for example of INVALID_ACCOUNT_ID. We added changes in EthTxData.java and EthTxSigs.java to fix this behaviour by firstly read accessList as object of RLPList instance and put it different variable accessListAsRLP. If this variable is present we transform it to array of Object containing byte array and then we add this to RLPEncoder.
We also put unit tests to check if now transactions on which we found this error are now calculating proper signature.

Related issue(s):
#17040

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@mmyslariane mmyslariane requested review from a team as code owners January 15, 2025 00:38
@mmyslariane mmyslariane requested a review from povolev15 January 15, 2025 00:38
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.

1 participant