Skip to content

[Sei] fix ante decorators#76

Merged
codchen merged 1 commit intomasterfrom
tony-chen-fix-ante
Jul 2, 2022
Merged

[Sei] fix ante decorators#76
codchen merged 1 commit intomasterfrom
tony-chen-fix-ante

Conversation

@codchen
Copy link
Collaborator

@codchen codchen commented Jul 2, 2022

Make GaslessDecorator to still call next so that we don't skip ante handlers. Also added unit test to ensure all decorators run.

@codchen codchen requested review from LCyson, philipsu522 and udpatil July 2, 2022 00:06

func isTxGasless(tx sdk.Tx, ctx sdk.Context, oracleKeeper oraclekeeper.Keeper) bool {
if len(tx.GetMsgs()) == 0 {
// empty TX shouldn't be gasless
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@codchen codchen merged commit 0216eb3 into master Jul 2, 2022
masih pushed a commit that referenced this pull request Sep 26, 2025
* add VM155 back

* rename

* update dylib

* call upgrade keeper
masih pushed a commit that referenced this pull request Sep 29, 2025
## Describe your changes and provide context
* CacheKv Stores emit an access operation event used to track accesses
to resources during runTx, we only need to add it to cacheKv because we
branch before runMsgs and ante handlers
* Adds validation logic 

Will also need to add validation for ante handlers 

## Testing performed to validate your change

Testing part of this PR:
#345
masih pushed a commit that referenced this pull request Sep 30, 2025
## Describe your changes and provide context
* CacheKv Stores emit an access operation event used to track accesses
to resources during runTx, we only need to add it to cacheKv because we
branch before runMsgs and ante handlers
* Adds validation logic 

Will also need to add validation for ante handlers 

## Testing performed to validate your change

Testing part of this PR:
#345
masih pushed a commit that referenced this pull request Oct 1, 2025
* Reduce logs and turn of recheck

* bump
@masih masih deleted the tony-chen-fix-ante branch October 31, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants