Skip to content

Commit

Permalink
Drop const
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed May 21, 2022
1 parent f7b6b27 commit 0d69d10
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 0d69d10

Please sign in to comment.