Skip to content

Conversation

darioush
Copy link

No description provided.

Darioush Jalali and others added 2 commits March 18, 2025 17:20
- Define `HeaderExtra` with `RLP` and `JSON` serialization methods
- remove `BlockNonce`
- remove `EncodeNonce`
- new functions `GetHeaderExtra` and `SetHeaderExtra`
- Migrate existing custom `Header` to `HeaderSerializable` in block_ext.go with only `Hash` method for RLP code generation
- Rename files gen_header_json.go to gen_header_serializable_json.go
- Rename files gen_header_rlp.go to gen_header_serializable_rlp.go

See original PR ava-labs/coreth#746

Signed-off-by: Quentin McGaw <[email protected]>
Co-authored-by: Quentin Mc Gaw <[email protected]>
Co-authored-by: Arran Schlosberg <[email protected]>
Co-authored-by: Ceyhun Onur <[email protected]>
@qdm12 qdm12 force-pushed the qdm12/libevm/coreth-sync branch from 76ba2a2 to 46717e4 Compare March 18, 2025 19:02
@qdm12
Copy link
Contributor

qdm12 commented Mar 18, 2025

Incorporated in #1502 commit "chore(core/types): header JSON and RLP serialization hooks" (191be9a at the time of this comment, but will get overwritten later)

@qdm12 qdm12 force-pushed the qdm12/libevm/coreth-sync branch from 46717e4 to 191be9a Compare March 18, 2025 19:07
@qdm12 qdm12 closed this Mar 18, 2025
@qdm12 qdm12 deleted the darioush/libevm/coreth-sync branch March 18, 2025 19:13
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.

2 participants