mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 03:41:02 +00:00
@@ -16,8 +16,8 @@ pub const BIT_LENGTH_X64: usize = crate::byte_length::BYTE_LENGTH_X64 * BIT_LENG
|
||||
pub const BIT_LENGTH_ETH_ADDRESS: usize =
|
||||
crate::byte_length::BYTE_LENGTH_ETH_ADDRESS * BIT_LENGTH_BYTE;
|
||||
|
||||
/// The field (usually `u256` or `i256`) bit-length.
|
||||
pub const BIT_LENGTH_FIELD: usize = crate::byte_length::BYTE_LENGTH_FIELD * BIT_LENGTH_BYTE;
|
||||
/// The VM word (usually `u256` or `i256`) bit-length.
|
||||
pub const BIT_LENGTH_WORD: usize = crate::byte_length::BYTE_LENGTH_WORD * BIT_LENGTH_BYTE;
|
||||
|
||||
/// Bit length of the runtime value type.
|
||||
pub const BIT_LENGTH_VALUE: usize = crate::byte_length::BYTE_LENGTH_VALUE * BIT_LENGTH_BYTE;
|
||||
|
||||
@@ -15,8 +15,8 @@ pub const BYTE_LENGTH_X64: usize = 8;
|
||||
/// The ETH address byte-length.
|
||||
pub const BYTE_LENGTH_ETH_ADDRESS: usize = 20;
|
||||
|
||||
/// The field byte-length.
|
||||
pub const BYTE_LENGTH_FIELD: usize = 32;
|
||||
/// The word byte-length.
|
||||
pub const BYTE_LENGTH_WORD: usize = 32;
|
||||
|
||||
/// Byte length of the runtime value type.
|
||||
pub const BYTE_LENGTH_VALUE: usize = 16;
|
||||
|
||||
Reference in New Issue
Block a user