Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Migrate udc #610
Migrate udc #610
Changes from 8 commits
33dada9
503e72d
3d3f8f9
59a7aa1
e0ae838
bb77b8d
a078431
ef593d0
ab57f1e
80b1937
fcec061
f0e960b
e367a27
25b72e6
28e8759
9f39597
b2c05a4
5318f6b
c65161c
4cb9584
88b0e3d
2c9121b
8b2e1d4
695b16d
553f667
362f688
1873990
4c6d61c
c909d46
d5c1ed4
6eca688
390488c
0cf47b9
b23e1ef
f5a65fa
bf1669f
aac54f1
f3bc0f5
5553241
014c412
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
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 you do these modifiers on traits like this?
i haven't seen that anywhere else yet.
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.
Yeah, you can and the contracts compile. The
external
andview
macros might be redundant, but I assume we'll need to include it forevent
(so other contracts aren't required to reimplement the event in animpl
). Here's a test data example from the Cairo repo: https://github.com/starkware-libs/cairo/blob/main/crates/cairo-lang-starknet/src/plugin/plugin_test_data/dispatcher#L6-L17