-
Notifications
You must be signed in to change notification settings - Fork 241
Rename contract subscriptions to contract listeners #548
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
Conversation
Signed-off-by: Nicko Guyer <[email protected]>
peterbroadhurst
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.
peterbroadhurst
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.
Changes look great. Some very minor suggestions, and a comment on coordinating the merge.
Signed-off-by: Nicko Guyer <[email protected]>
Signed-off-by: Nicko Guyer <[email protected]>
| ID string `json:"id,omitempty"` | ||
| } | ||
|
|
||
| type FFIGenerationInput struct { |
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.
Is this change described in the PR description?
It has migration implications.
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.
Thanks I will note that. This is a breaking change which should be called out in the release notes as well.
peterbroadhurst
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.
@nguyer - thanks for the updates. One additional comment to make sure we document the abi nesting change.
Signed-off-by: Nicko Guyer <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #548 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 297 295 -2
Lines 17036 16997 -39
=========================================
- Hits 17036 16997 -39
Continue to review full report at Codecov.
|
This PR includes several noteworthy changes:
/contracts/subscriptionsendpoint. It is now/contracts/listeners/subscribeendpoints on Contract Interfaces and APIs have been dropped/contracts/listenersendpoint can now take a interface reference to point it at an existing FFI, rather than putting the full FFI for the event inlineblockchain_eventhas been renamed toblockchain_event_received{ "input": { "abi": [] } }