-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sequencer): report deposit events (#1447)
## Summary Added creation of ABCI deposit events and record them to the state to be included in `ExecTxResult`. ## Background Deposit events were previously only stored app-side in `SequencerBlock`. This will allow for outside observation of the deposit events. ## Changes - Added helper function for the creation of ABCI deposit events. - Added recording of these events whenever deposits are created. ## Testing Added test to ensure deposit events are correctly recorded and returned by `state.apply()` ## Related Issues closes #1440 --------- Co-authored-by: Jordan Oroshiba <[email protected]> Co-authored-by: Fraser Hutchison <[email protected]> Co-authored-by: jesse snyder <[email protected]>
- Loading branch information
1 parent
f543222
commit 81f2931
Showing
5 changed files
with
110 additions
and
4 deletions.
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
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
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