Another #Ethereum highlight for today: our breaking releases for the whole EthereumJS stack are finally out 🎉, the team worked for > 1y on this! ❤️ Highlights are native BigInts, Merge Default HF, Trie Pruning, a pure non-overhead EVM, audited crypto deps and a lot more. 🧵:
1
8
1
29
1) If you want to jump right in: github.com/ethereumjs/ethere…

Sep 6, 2022 · 1:58 PM UTC

1
1
2
2) These releases have been in the works since August 2021 and bundle breaking changes for the various EthereumJS libraries we wanted to integrate for quite some time.
1
3
3) There are releases for 12 (!) standalone packages: VM, EVM, StateManager, Blockchain, Block, Ethash, Tx, Trie, Devp2p, Common, Util and RLP.
1
3
4) Two libraries from the above are completely new - StateManager and EVM - with the latter extracting the core virtual machine logic from the VM package, more on this later.
1
1
2
5) Also to mention: our client also got a new release on the sideline with v0.6.3 now being fully Merge ready in terms of specs and configuration 🐼 (to not overpromise: this is still in a non-productive stage and can not run full mainnet at the current point)
1
1
2
6) So, back to our releases and to pick up some highlights: All libraries now support native JavaScript BigInts throughout the whole stack, this rewrite was a huge undertaking eliminating the usage of the third-party BN.js package for all computation and parameter passing. 💯
1
3
7) "The Merge" is now the default hardfork on all libraries. 🐼 If you do "VM.create()" you get a Merge HF VM with the new PREVRANDAO opcode (supplanting the DIFFICULTY opcode), just as an example.
1
2
8) We have now integrated Noble crypto libraries from @paulmillr for hashing and signature creation in our Util library to be used throughout our whole stack which are audited and have a reduced dependency set. This makes our libraries more secure to use.
1
2
9) The Trie library 🌲 has seen some amazing updates with a substantial structural refactor for easier customization, added pruning functionality and a new DB layer abstraction to switch out LevelDB for another DB.
1
2
10) Argh, I guess I didn't even mention EIP-3074 Authcall support, Blockchain Consensus Encapsulation, package size reduction for e.g. Tx from MB -> KB, Devp2p Snap Protocol Support,... yet? 😬 😀
1
1
1
11) This is just getting too much for one tweet. So this will be continued/picked up on a per-package/per-feature basis with some additional threads throughout the next days.
1
1
12) For now: thanks a thousand times to a fantastic team! ❤️❤️❤️ You've all done an amazing job! 🙏
1
1
2
So, everyone: jump into the releases, this builds the ground for amazing additional things and new use cases. We can't wait to see what you'll come up with! Feel free to reach out to us on Discord: discord.gg/TNwARpR Happy Coding! 🧑🏽‍💻
3