Skip to content

feat(consumer): add opt-in ante decorator to enforce photon fees#57

Merged
julienrbrt merged 2 commits into
mainfrom
giunatale/consumer-ante
Jun 11, 2026
Merged

feat(consumer): add opt-in ante decorator to enforce photon fees#57
julienrbrt merged 2 commits into
mainfrom
giunatale/consumer-ante

Conversation

@giunatale

Copy link
Copy Markdown
Contributor

Closes #23

Adds an optional ante decorator for the consumer to enforce that tx fees are paid with photon (single-hop IBC voucher coming from the provider and resolving to uphoton)

Also, this PR moves the other ante decorators for the consumer to an ante package inside the consumer module, which is more appropriate than the previous location.

@tbruyelle tbruyelle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@julienrbrt julienrbrt merged commit 3339e7c into main Jun 11, 2026
4 checks passed
@julienrbrt julienrbrt deleted the giunatale/consumer-ante branch June 11, 2026 11:08
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.

Consumer "core shard" chain fee token must be PHOTON

3 participants