-
Notifications
You must be signed in to change notification settings - Fork 39
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
Conversation
# 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
0eb09a3
to
d20c700
Compare
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()); | ||
|
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.
if is_taiko && is_anchor {
return Err(BlockExecutionError::Validation(res.err().unwrap()));
}
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.
needs to assert anchor
before optimistic
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.
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.
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.
Ok, I misunderstood the optimistic
function
Signed-off-by: smtmfft <[email protected]>
add taiko_dev chain spec
Signed-off-by: smtmfft <[email protected]>
Signed-off-by: smtmfft <[email protected]>
Co-authored-by: Brecht Devos <[email protected]>
prepare for ontake upgrade
Signed-off-by: smtmfft <[email protected]>
sync anchorV2 structure with taiko-mono
feat(chainspec): read ontake fork height from env
Signed-off-by: smtmfft <[email protected]>
fix hekla ontake fork height
Diff tracking PR
DO NOT MERGE