mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(codecs): add proptest roundtrip to all main_codec (#803)
This commit is contained in:
@ -74,7 +74,6 @@ mod tests {
|
||||
proofs::{calculate_receipt_root, calculate_transaction_root},
|
||||
Block, Bloom, Log, Receipt, TxType, H160, H256,
|
||||
};
|
||||
use bytes::Bytes;
|
||||
use reth_rlp::Decodable;
|
||||
|
||||
#[test]
|
||||
@ -89,7 +88,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn check_receipt_root() {
|
||||
let logs = vec![Log { address: H160::zero(), topics: vec![], data: Bytes::default() }];
|
||||
let logs = vec![Log { address: H160::zero(), topics: vec![], data: Default::default() }];
|
||||
let bloom = Bloom(hex!("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"));
|
||||
let receipt = Receipt {
|
||||
tx_type: TxType::EIP2930,
|
||||
|
||||
Reference in New Issue
Block a user