-
Notifications
You must be signed in to change notification settings - Fork 27
feat(based-op-reth): execute_frag on state machine #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
|
|
||
| /// Looks up and returns a cloned transaction by transaction hash, if present. | ||
| pub fn get_transaction(&self, tx_hash: &TxHash) -> Option<Transaction> { |
There was a problem hiding this comment.
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? |
There was a problem hiding this comment.
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? |
There was a problem hiding this comment.
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
…reth/state_executor
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>
No description provided.