-
Notifications
You must be signed in to change notification settings - Fork 173
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
Fix error while calling nonexistent entry point selector #2606
Fix error while calling nonexistent entry point selector #2606
Conversation
The error message was created specifically to reflect and be in consequence with the cairo-test. Now both tests give the same output: tests |
…-unknown-entry-point-selector-error-from-contract-and-from-test
…-unknown-entry-point-selector-error-from-contract-and-from-test
crates/cheatnet/src/runtime_extensions/call_to_blockifier_runtime_extension/panic_data.rs
Outdated
Show resolved
Hide resolved
…-unknown-entry-point-selector-error-from-contract-and-from-test
crates/cheatnet/src/runtime_extensions/call_to_blockifier_runtime_extension/panic_data.rs
Show resolved
Hide resolved
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.
Can we add a test that verifies this behavior was fixed?
crates/cheatnet/src/runtime_extensions/call_to_blockifier_runtime_extension/panic_data.rs
Show resolved
Hide resolved
crates/cheatnet/src/runtime_extensions/call_to_blockifier_runtime_extension/panic_data.rs
Show resolved
Hide resolved
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.
There are two places in which we should add comments with reference links, otherwise it's good to go 👌 .
…-unknown-entry-point-selector-error-from-contract-and-from-test
Closes #1812
The
Err
message chosen to be thrown bysafe-dispatcher
is intended to replicatecairo-test
behavior. These felts are taken explicitly fromCairoHintProcessor
Introduced changes
Checklist
CHANGELOG.md