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

chore(rpc): rename witness fields #1293

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

rkrasiuk
Copy link
Member

Description

Rename witness fields and amend docs to clarify what they represent.

pub state_preimages: Option<HashMap<B256, Bytes>>,
/// keccak(rlp(node)) => rlp(node)
pub state: HashMap<B256, Bytes>,
/// Map of all hashed account and storage keys (addresses and slots) to their preimages
Copy link
Contributor

@0x00101010 0x00101010 Sep 16, 2024

Choose a reason for hiding this comment

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

Can we add codes here as well? 🙏 It will be needed per our discussion in the thread

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

we can add those separately once we resolve some questions regarding compatibility

@mattsse mattsse merged commit 347626b into main Sep 17, 2024
26 checks passed
@mattsse mattsse deleted the rkrasiuk/rename-witness-key-preimages branch September 17, 2024 18:44
lwedge99 pushed a commit to sentioxyz/alloy that referenced this pull request Oct 8, 2024
* chore(rpc): rename witness fields

* chore: allow missing keys

---------

Co-authored-by: Matthias Seitz <[email protected]>
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