mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-06 15:53:10 +00:00
fmt
This commit is contained in:
parent
2e62ac1b63
commit
29143fe5d3
@ -19,10 +19,7 @@ pub(crate) mod txn_fields;
|
||||
pub fn evm_constants() -> HashMap<String, U256> {
|
||||
let mut c = HashMap::new();
|
||||
|
||||
let hex_constants = EC_CONSTANTS
|
||||
.iter()
|
||||
.chain(HASH_CONSTANTS.iter())
|
||||
.cloned();
|
||||
let hex_constants = EC_CONSTANTS.iter().chain(HASH_CONSTANTS.iter()).cloned();
|
||||
for (name, value) in hex_constants {
|
||||
c.insert(name.into(), U256::from_big_endian(&value));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user