zkevm-circuits icon indicating copy to clipboard operation
zkevm-circuits copied to clipboard

Fix to align value in U256 type always in little endian

Open hero78119 opened this issue 2 years ago • 0 comments

Describe the feature you would like

Now Hash to U256 is still keep in big endian, see here https://github.com/privacy-scaling-explorations/zkevm-circuits/blob/main/eth-types/src/lib.rs#L189-L193. While other value in U256 is assumed in little endian.

See the related discussion in evm-circuit word lo-hi refactor

Additional context

No response

hero78119 avatar Jun 09 '23 14:06 hero78119