0xPolygonZero / zk_evm

Apache License 2.0
80 stars 36 forks source link

Unify shared constants into a common public module #261

Closed Nashtare closed 1 month ago

Nashtare commented 4 months ago

cf this comment.

We redefine several times identical constants at different levels (mpt_trie, evm_arithmetization, zero-bin, ...) which could be defined once and re-exported where needed out of clarity & safety.

Nashtare commented 3 months ago

Including the zero-bin crate as well, as some constants that weren't exposed by the API were re-defined identically there.