-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Upgrade num to 0.2, use enum-primitive-derive #11636
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR description is lacking: why are we doing this? Why is it worth to merge a git dependency?
@dvdplm sorry, added reasoning to PR description. |
So this PR is a performance win? Benches? Is EIP 2565 being considered for the Berlin HF? |
Performance data for EIP-2565: |
I have a hard time understanding the numbers there without further context. EIP 2565 makes sense to me, although I'm not 100% clear on what the gain is, but in general no opposition to optimizing gas prices to enable advanced crypto. This PR does not implement 2565 though right? So is this a prequel do further work? |
Updated to newly released enum-primitive-derive 0.2 |
* master: Update parity-crypto dependency (#11791) ethcore/private-tcx: fix deadlock caused by conflicting lock order (#11764) Feature/publish draft release ci (#11786) Trigger custom docker build when adding ci-build-docker to the commit (#11782) Fix alpine docker image entry point (#11749) Use BigUint::modpow for ModExp precompile (#11772) Add YOLO-1 testnet (#11757) Upgrade num to 0.2, use enum-primitive-derive (#11636) Update Simple Subroutines to the latest spec (#11731) update secret-store reference (#11761) Implementation of EIP 2537 (#11707) Add missing forks to fork ID (#11747) Use nightly tag for master branch (#11732)
…ereum/openethereum into dp/chore/upgrade-to-rocksdb-0.14 * 'dp/chore/upgrade-to-rocksdb-0.14' of github.com:openethereum/openethereum: Update parity-crypto dependency (#11791) ethcore/private-tcx: fix deadlock caused by conflicting lock order (#11764) Feature/publish draft release ci (#11786) Trigger custom docker build when adding ci-build-docker to the commit (#11782) Fix alpine docker image entry point (#11749) Use BigUint::modpow for ModExp precompile (#11772) Add YOLO-1 testnet (#11757) Upgrade num to 0.2, use enum-primitive-derive (#11636) Update Simple Subroutines to the latest spec (#11731) update secret-store reference (#11761) Implementation of EIP 2537 (#11707) Add missing forks to fork ID (#11747) Use nightly tag for master branch (#11732)
This was highlighted during the AllCoreDevs call. num 0.1 is too slow and thus blocks the proposed repricing of ModExp precompile. enum-primitive is unmaintained, so switched to enum-primitive-derive which is based on num 0.2.