From d06f5d0fa0cf6bbcb696c027bed86a218bea6216 Mon Sep 17 00:00:00 2001 From: Wodann Date: Mon, 8 Apr 2024 07:17:50 -0500 Subject: [PATCH] feat: pass rand feature to alloy_primitives (#1276) --- Cargo.lock | 1 + crates/primitives/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 88b5b1e04d..d1addf1074 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -122,6 +122,7 @@ dependencies = [ "derive_arbitrary", "derive_more", "ethereum_ssz", + "getrandom", "hex-literal", "itoa", "k256", diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index e3ef145d2b..7542c9298b 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -87,6 +87,7 @@ optional_eip3607 = [] optional_gas_refund = [] optional_no_base_fee = [] optional_beneficiary_reward = [] +rand = ["alloy-primitives/rand"] # See comments in `revm-precompile` c-kzg = ["dep:c-kzg", "dep:once_cell", "dep:derive_more"]