mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: bump alloy (#12215)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -277,7 +277,8 @@ mod tests {
|
||||
use alloy_consensus::{TxEip4844, EMPTY_OMMER_ROOT_HASH, EMPTY_ROOT_HASH};
|
||||
use alloy_eips::{eip4895::Withdrawal, BlockHashOrNumber};
|
||||
use alloy_primitives::{
|
||||
hex_literal::hex, Address, BlockHash, BlockNumber, Bytes, Parity, Sealable, Signature, U256,
|
||||
hex_literal::hex, Address, BlockHash, BlockNumber, Bytes, PrimitiveSignature as Signature,
|
||||
Sealable, U256,
|
||||
};
|
||||
use mockall::mock;
|
||||
use rand::Rng;
|
||||
@ -403,7 +404,7 @@ mod tests {
|
||||
blob_versioned_hashes: std::iter::repeat_with(|| rng.gen()).take(num_blobs).collect(),
|
||||
});
|
||||
|
||||
let signature = Signature::new(U256::default(), U256::default(), Parity::Parity(true));
|
||||
let signature = Signature::new(U256::default(), U256::default(), true);
|
||||
|
||||
TransactionSigned::from_transaction_and_signature(request, signature)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user