Skip to content
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

[DO NOT MERGE] v1.0.0 rc.2 taiko #6

Open
wants to merge 36 commits into
base: v1.0.0-rc.2
Choose a base branch
from
Open

Conversation

Brechtpd
Copy link

Diff tracking PR

DO NOT MERGE

Brechtpd and others added 11 commits May 14, 2024 07:40
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	crates/chainspec/src/lib.rs
#	crates/ethereum/evm/Cargo.toml
#	crates/ethereum/evm/src/execute.rs
#	crates/evm/src/execute.rs
#	crates/evm/src/lib.rs
#	crates/primitives/Cargo.toml
#	crates/primitives/src/block.rs
#	crates/primitives/src/lib.rs
#	crates/revm/Cargo.toml
#	crates/revm/src/test_utils.rs
#	crates/rpc/rpc/src/eth/error.rs
#	crates/storage/errors/src/provider.rs
#	crates/trie/trie/src/proof.rs
#	testing/ef-tests/Cargo.toml
#	testing/ef-tests/src/cases/blockchain_test.rs
if res.is_err() {
// Clear the state for the next tx
evm.context.evm.journaled_state = JournaledState::new(evm.context.evm.journaled_state.spec, HashSet::new());

Copy link
Collaborator

@johntaiko johntaiko Jul 5, 2024

Choose a reason for hiding this comment

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

		if is_taiko && is_anchor {
                    return Err(BlockExecutionError::Validation(res.err().unwrap()));
                }

Copy link
Collaborator

Choose a reason for hiding this comment

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

needs to assert anchor before optimistic

Copy link
Author

Choose a reason for hiding this comment

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

In the optimistic case, I think the anchor transaction is allowed to fail. Otherwise this would stop the execution of the execution of the blcok, which would postpone data gathering of all transactions until the anchor tx is valid.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, I misunderstood the optimistic function

smtmfft and others added 8 commits July 21, 2024 13:30
@github-actions github-actions bot removed the S-stale label Aug 17, 2024
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.

4 participants