Skip to content

Commit

Permalink
Drop const
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jun 1, 2022
1 parent 5c60abf commit 34a5f67
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bindings/rust/evmc-client/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

pub use evmc_vm::{Capabilities, MessageKind, Revision, StatusCode, StorageStatus};

pub const ADDRESS_LENGTH: usize = 20;
pub const BYTES32_LENGTH: usize = 32;
pub type Address = [u8; ADDRESS_LENGTH];
pub type Bytes32 = [u8; BYTES32_LENGTH];
pub type Address = [u8; 20];
pub type Bytes32 = [u8; 32];
pub type Bytes = [u8];

0 comments on commit 34a5f67

Please sign in to comment.