From 0d69d104d6aeb4e3c9f19b82f0f4a4382f7fb576 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Sat, 21 May 2022 15:58:00 +0200 Subject: [PATCH] Drop const --- bindings/rust/evmc-client/src/types.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bindings/rust/evmc-client/src/types.rs b/bindings/rust/evmc-client/src/types.rs index 5489ba52b..15fcec4d9 100644 --- a/bindings/rust/evmc-client/src/types.rs +++ b/bindings/rust/evmc-client/src/types.rs @@ -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];