Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Add AnteHandler access ops and move completion channel signalling#56

Merged
BrandonWeng merged 3 commits intomainfrom
bweng-ante-handler-deps
Oct 17, 2022
Merged

Add AnteHandler access ops and move completion channel signalling#56
BrandonWeng merged 3 commits intomainfrom
bweng-ante-handler-deps

Conversation

@BrandonWeng
Copy link
Contributor

Describe your changes and provide context

  • Adds the AnteHandlers Dependency Decorators for the decorators that have read/write operations to/from keepers
  • Moves the MsgCompletion signaling to the end of RunTx. The main issue is that the signaling SHOULD happen after the write() calls so that dependent transactions have the updated data.
    • We can make it more granular in the future but for now we should just move it out so that its easier to reason/

Testing performed to validate your change

With this branch - able to run a couple of rounds of load testing before running into the app hash error due to different gas consumed for the same TX on validators, this is with concurrency enabled
sei-protocol/sei-chain#309

@BrandonWeng BrandonWeng merged commit ddc6f1f into main Oct 17, 2022
@BrandonWeng BrandonWeng deleted the bweng-ante-handler-deps branch October 17, 2022 13:55
BrandonWeng added a commit that referenced this pull request Oct 17, 2022
## Describe your changes and provide context
* Adds the AnteHandlers Dependency Decorators for the decorators that
have read/write operations to/from keepers
* Moves the MsgCompletion signaling to the end of RunTx. The main issue
is that the signaling SHOULD happen after the write() calls so that
dependent transactions have the updated data.
* We can make it more granular in the future but for now we should just
move it out so that its easier to reason/

## Testing performed to validate your change
With this branch - able to run a couple of rounds of load testing before
running into the app hash error due to different gas consumed for the
same TX on validators, this is with concurrency enabled
sei-protocol/sei-chain#309
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants