mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore!: make senders fields private (#13752)
This commit is contained in:
@ -784,13 +784,13 @@ mod tests {
|
||||
let block1_hash = B256::new([15; 32]);
|
||||
block1.set_block_number(1);
|
||||
block1.set_hash(block1_hash);
|
||||
block1.senders.push(Address::new([4; 20]));
|
||||
block1.push_sender(Address::new([4; 20]));
|
||||
|
||||
let mut block2: SealedBlockWithSenders = Default::default();
|
||||
let block2_hash = B256::new([16; 32]);
|
||||
block2.set_block_number(2);
|
||||
block2.set_hash(block2_hash);
|
||||
block2.senders.push(Address::new([4; 20]));
|
||||
block2.push_sender(Address::new([4; 20]));
|
||||
|
||||
let mut block_state_extended = execution_outcome1;
|
||||
block_state_extended.extend(execution_outcome2);
|
||||
|
||||
Reference in New Issue
Block a user