Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 0d69d10

Browse files
committed
Drop const
1 parent f7b6b27 commit 0d69d10

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bindings/rust/evmc-client/src/types.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

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

8-
pub const ADDRESS_LENGTH: usize = 20;
9-
pub const BYTES32_LENGTH: usize = 32;
10-
pub type Address = [u8; ADDRESS_LENGTH];
11-
pub type Bytes32 = [u8; BYTES32_LENGTH];
8+
pub type Address = [u8; 20];
9+
pub type Bytes32 = [u8; 32];
1210
pub type Bytes = [u8];

0 commit comments

Comments
 (0)