Expand description
Cross-domain (between Solidity and Rust) utilities for type conversion and testing
Modules§
- bindings 🔒
- This module contains the sol! generated bindings for solidity contracts. This is autogenerated code. Do not manually edit these files. These files may be overwritten by the codegen system at any time.
- evm
- jellyfish
- Helpers for connecting types between Jellyfish and Solidity. Usually used during differential testing (via FFI).
- light_
client - Helpers and test mocks for Light Client logic
- sol_
types - Solidity types for interacting with contracts Re-export types that are used, sometimes renamed to avoid collision.
- stake_
table
Functions§
- field_
to_ u256 - convert a field element to U256, panic if field size is larger than 256 bit
- u256_
to_ field - convert U256 to a field (mod order)