-
Notifications
You must be signed in to change notification settings - Fork 140
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
add support for actor events. #1049
Merged
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
277aa3c
events: add basic eventing data model.
raulk 912e65b
events: event eventing data model.
raulk 8a5d538
events: implement the fvm-side handling of actor events.
raulk 2c2d958
events: add events AMT root CID in Receipt.
raulk b498f03
events: implement support in SDK.
raulk 19f88c3
events: implement basic integration tests.
raulk 56b2679
fix typo.
raulk 7d72eee
events: Receipt: make events_root is an Option<Cid>.
raulk cc60eea
fix clippy.
raulk d0648f2
events: charge gas for actor events (params TODO) + use bitflags.
raulk f18b9d9
fix comment.
raulk ab4880b
fix compile error.
raulk da15510
Merge branch 'master' into raulk/events
raulk 40bf949
fix clippy.
raulk 9c29e6e
Merge branch 'master' into raulk/events
raulk bd35a04
events: make sdk::event::emit_event borrow.
raulk 041ea1a
fix clippy.
raulk 1949ba1
Merge branch 'master' into raulk/events
raulk 4b93932
fix events test.
raulk 3d2b971
Merge branch 'master' into raulk/events
raulk f1ac14b
fix: serde ActorEvent as a tuple.
raulk 44cfc40
events: serialize ActorEvent as transparent.
raulk 10e4f51
events: fix Entry#value type.
raulk 7d1a62f
address review comment.
raulk f380575
improve TODO.
raulk 547d8c2
events: initialize event accumulator with no capacity.
raulk 3a8d2e5
address review comment.
raulk a19b83c
discard events emitted by aborting actors, and its subcallees.
raulk 240b7e5
simplify events accumulator layer accounting.
raulk 30c9d71
fix clippy.
raulk 02e7944
address nits.
raulk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
You don't need the
ok()
(but I'm not sure why you're not just callingunwrap
to assert that this worked.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.
The Result here is deliberately unused, and clippy was complaining. One of these sends is going to fail (see below), and ignoring that failure is part of the test scenario. I can document it.
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.
Why clippy, WHY!!!