Skip to content

Conversation

@pamungkaski
Copy link
Collaborator

No description provided.

}

/// Looks up and returns a cloned transaction by transaction hash, if present.
pub fn get_transaction(&self, tx_hash: &TxHash) -> Option<Transaction> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could make a HashMap with TxHash and Transaction if needed


/// Returns the canonical block number.
pub fn canonical_block_number(&self) -> u64 {
// TODO: Is this correct?
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

self.receipts.extend_from_slice(receipts.as_slice());
self.cumulative_gas_used = cummulative_gas_used;

// TODO: Is this correct? Is everything applied here?
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

most is applied here, transaction list and db cache are applied separately but called before this

Ki Ageng Satria Pamungkas and others added 7 commits December 19, 2025 14:07
Co-authored-by: Ki Ageng Satria Pamungkas <ageng.satria@bukalapak.com>
Co-authored-by: Jonas Bostoen <jonasbostoen@fastmail.com>
… on SealFragsV0 (#274)

Co-authored-by: Ki Ageng Satria Pamungkas <ageng.satria@bukalapak.com>
Co-authored-by: Jonas Bostoen <jonasbostoen@fastmail.com>
@mempirate mempirate marked this pull request as ready for review December 19, 2025 14:37
@mempirate mempirate merged commit 53d75b5 into ki/reth/new-frag Dec 19, 2025
1 check passed
@mempirate mempirate deleted the ki/reth/state_executor branch December 19, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants