-
Notifications
You must be signed in to change notification settings - Fork 480
Use name-only syntax for anonymous ink! event item configuration argument
#2140
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
Use name-only syntax for anonymous ink! event item configuration argument
#2140
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2140 +/- ##
==========================================
+ Coverage 53.64% 53.74% +0.09%
==========================================
Files 224 224
Lines 7050 7084 +34
Branches 3115 3129 +14
==========================================
+ Hits 3782 3807 +25
- Misses 3268 3277 +9 ☔ View full report in Codecov by Sentry. |
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑These are the results when building the
Link to the run | Last update: Fri Mar 8 12:37:56 CET 2024 |
…gument Required updating `ink_ir::ast::AttributeArgs` to support name-only meta items e.g. `#[ink::event(anonymous)]`
ascjones
left a comment
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.
LGTM!
|
Looks like I'm gonna have to rebase to fix the changelog conflict 🙂 |
Already done |
Summary
Closes #_
cargo-contractorpallet-contracts?Description
anonymousink! event item configuration argument (i.e.#[ink::event(anonymous)]instead of#[ink::event(anonymous = true|false)])ink_ir::ast::AttributeArgsto support name-only meta items e.g.#[ink::event(anonymous)]signature_topicargument which previously referencedanonymousinsteadChecklist before requesting a review
CHANGELOG.md