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

cleanup: remove legacy patches #43

Conversation

lightsing
Copy link
Member

@lightsing lightsing commented Jan 2, 2025

Those legacy codes are not needed anymore

Changes

Important Notes

For TxL1Msg, you need set the chain_id in TxEnv to None to disable the chain_id check.

Removed

@@ -416,10 +416,6 @@ pub fn call<H: Host + ?Sized, SPEC: Spec>(interpreter: &mut Interpreter, host: &
interpreter.instruction_result = InstructionResult::FatalExternalError;
return;
};
#[cfg(feature = "scroll")]
if account_load.is_cold && host.is_address_in_access_list(to) {
panic!("access list account should be either loaded or never accessed");
Copy link
Member Author

Choose a reason for hiding this comment

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

Those checks panics immediately, it should be safe to remove those.

@lightsing lightsing changed the title feat: remove poseidon code hash also code size field cleanup: remove legacy patches Jan 2, 2025
@lightsing
Copy link
Member Author

Ignore those ethtests failures, they are also failed in upstream

@lightsing lightsing deleted the branch scroll-evm-executor/v51 January 16, 2025 10:16
@lightsing lightsing closed this Jan 16, 2025
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.

1 participant