Skip to content

Commit

Permalink
fix: make test compile (alloy-rs#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored and ben186 committed Jul 27, 2024
1 parent cbc5ecc commit db945ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ serde = { workspace = true, features = ["derive"], optional = true }

[dev-dependencies]
alloy-primitives = { workspace = true, features = ["arbitrary", "rand"] }
alloy-eips = { workspace = true, features = ["arbitrary"] }
alloy-signer.workspace = true

arbitrary = { workspace = true, features = ["derive"] }
Expand Down
4 changes: 3 additions & 1 deletion crates/consensus/src/transaction/envelope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,9 @@ mod tests {
use super::*;
use crate::transaction::SignableTransaction;
use alloy_eips::eip2930::{AccessList, AccessListItem};
use alloy_primitives::{hex, Address, Bytes, Signature, TxKind, U256};
use alloy_primitives::{hex, Address, Signature, U256};
#[allow(unused_imports)]
use alloy_primitives::{Bytes, TxKind};
use std::{fs, path::PathBuf, vec};

#[cfg(not(feature = "std"))]
Expand Down

0 comments on commit db945ed

Please sign in to comment.