-
Notifications
You must be signed in to change notification settings - Fork 436
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
Made error message for entry point be dependent on failing var. #3740
Conversation
2120669
to
0cabb0b
Compare
I see that this is not a regression compared to the current state, Suggestion: "failed to deserialize `{param_name}`" |
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.
Reviewable status: 0 of 23 files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware)
crates/cairo-lang-starknet/src/plugin/entry_point.rs
line 95 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
I see that this is not a regression compared to the current state,
but I'm not sure I like having all those constants in the byecode.
i think i prefer having the param name more than the prefix.
the current one was very confusing - we may add "non-provable" info at some point of the future.
Previously, orizi wrote…
"i think i prefer having the param name more than the prefix." |
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.
Reviewable status: 0 of 23 files reviewed, 1 unresolved discussion (waiting on @ilyalesokhin-starkware)
crates/cairo-lang-starknet/src/plugin/entry_point.rs
line 95 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
"i think i prefer having the param name more than the prefix."
What is the prefix?
i meant before the other part.
I'd rather have:
'long_long_long_name' failed to des
than
failed to deserialize 'long_long_long
Previously, orizi wrote…
Ok, I wasn't sure if the former is correct grammatically. |
This is starnge. Code quote:
|
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.
Reviewed 3 of 23 files at r1.
Reviewable status: 3 of 23 files reviewed, all discussions resolved
Previously, ilyalesokhin-starkware wrote…
Maybe you should just give the index of the parameter? |
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.
Reviewable status: 3 of 23 files reviewed, all discussions resolved (waiting on @ilyalesokhin-starkware)
crates/cairo-lang-starknet/src/plugin/plugin_test_data/l1_handler
line 205 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
This is starnge.
until we have normal long-string byte arrays - this would still be the easiest way to go.
Previously, orizi wrote…
not doing this PR is even easier. |
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.
Reviewed 20 of 23 files at r1.
Reviewable status: 22 of 23 files reviewed, all discussions resolved (waiting on @orizi)
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.
Reviewable status: 22 of 23 files reviewed, all discussions resolved (waiting on @ilyalesokhin-starkware)
crates/cairo-lang-starknet/src/plugin/entry_point.rs
line 95 at r1 (raw file):
Previously, ilyalesokhin-starkware wrote…
Maybe you should just give the index of the parameter?
i don't really like that idea, but can do - still an improvement i guess.
0cabb0b
to
d8c276a
Compare
d8c276a
to
dac2f15
Compare
This change is