ChainSafe / forest

🌲 Rust Filecoin Node Implementation
https://forest.chainsafe.io
Apache License 2.0
632 stars 153 forks source link

feat: NV23 Waffle support 🧇 #4473

Closed LesnyRumcajs closed 3 months ago

LesnyRumcajs commented 3 months ago

Summary of changes

:yellow_heart: Sorry for a relatively large PR, I was not confident in the changes until they were all working together with a NV23-compatible Lotus.

Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes https://github.com/ChainSafe/forest/issues/4366 Part of https://github.com/ChainSafe/forest/issues/4318

Other information and links

Tests done on:

TODO

Forest

2024-07-04T13:23:41.775935Z INFO compute_tipset_state_blocking: forest_filecoin::state_migration: State migration at height Waffle(epoch 1759060) was successful, Previous state: bafy2bzacebop56rpqe3ag6fwwzuqiktjdlfkutxbpuhvucyjeugwezvj22ypq, new state: bafy2bzaceb7wforg3w3g4sauo6vn6gtmon74jegjjv4quvxnuxe326dhr2tqo, new state actors: bafy2bzaceaem6dns4klmosw5be5rbodyqfkrieeg65rhouj7eivawqqiejzoq. Took: 0.677725s.



- [x] Legacy Ethereum transactions on Butterflynet - Homestead, EIP-155 and EIP-1559 are correctly identified and consensus was held after tests with FilOz.
- [x] Cleanup code, add more tests for legacy Ethereum transactions.
- [x] Add relevant docs and links
- [x] Prepare a release + comms (follow-up)

<!-- Add any other context about the pull request here. Those might be helpful links based on your investigation, relevant commits from this or other repositories or anything else -->

## Change checklist

<!-- Please add a changelog entry for your change if needed. -->
<!-- Follow this format https://keepachangelog.com/en/1.0.0/ -->

- [x] I have performed a self-review of my own code,
- [x] I have made corresponding changes to the documentation,
- [x] I have added tests that prove my fix is effective or that my feature works (if possible),
- [x] I have made sure the [CHANGELOG][1] is up-to-date. All user-facing changes should be reflected in this document.

<!-- Thank you 🔥 -->

[1]: https://github.com/ChainSafe/forest/blob/main/CHANGELOG.md