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

Add the TX to address in Erigon lib #1402

Open
wants to merge 2 commits into
base: zkevm
Choose a base branch
from

Conversation

zjg555543
Copy link

No description provided.

@cla-bot cla-bot bot added the cla-signed label Nov 4, 2024
Copy link

@afa7789 afa7789 left a comment

Choose a reason for hiding this comment

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

is this correct ?

BlobTo and To are composed by the same data information ? common.BytesToAddress(payload[dataPos : dataPos+dataLen]) ?

@revitteth
Copy link
Collaborator

@zjg555543 hey mate - please could you provide some explanation of this one? Keen to see if we can merge but I don't understand the motivation for it.

@zjg555543
Copy link
Author

zjg555543 commented Feb 7, 2025

@revitteth Thanks~ I think the Blob to and tx to are different address?
Because we need to use the tx to in X Layer for some sepecific function. If we use the raw code, it will got an issue.Just like
https://github.com/okx/xlayer-erigon/blob/dev/zk/txpool/pool_xlayer.go#L122
https://github.com/okx/xlayer-erigon/blob/dev/zk/txpool/pool_xlayer.go#L146

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.

4 participants