Skip to content
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

doc: ADR-002 The Photon Token #34

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

tbruyelle
Copy link
Collaborator

@tbruyelle tbruyelle commented Oct 22, 2024

First draft of the ADR to be reviewed.

I left a few comments for reviewers after the XXX symbol.

Also updated the adr-template because it was using the windows file format.

Rendered version

@tbruyelle tbruyelle marked this pull request as ready for review October 24, 2024 08:11
Copy link
Collaborator

@giunatale giunatale left a comment

Choose a reason for hiding this comment

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

I have proposed some changes and given some initial feedback. Will come back to this with my own writeups after you give it another pass. But in general the groundwork is there. The design is simple enough as it should be.

We should also mention maybe the fact that photon will also be used for ICS payments, but that such an enforcement will be a burden of the ICS software, I think. Maybe not relevant to this module but relevant in clarifying the functionality of the photon token.

docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
docs/architecture/adr-002-photon-token.md Outdated Show resolved Hide resolved
@tbruyelle
Copy link
Collaborator Author

tbruyelle commented Oct 29, 2024

@giunatale Addressed your comments, except for the ICS part, I don't know yet where to put it, and since you're willing to come back with your own write-ups, I let you find the correct location to talk about this. Thanks for the review!

@giunatale
Copy link
Collaborator

giunatale commented Oct 30, 2024

@tbruyelle I pushed some changes, I think it's mostly ready for broader review.

lmk your thoughs.

Copy link
Collaborator Author

@tbruyelle tbruyelle left a comment

Choose a reason for hiding this comment

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

All good @giunatale, nice updates!

The current TxFeeChecker does not check against *all* the denom listed
in the validator minimum-gas-prices, but against *at least* one of the
denom listed. So actually by listing both uatone and uphoton, we can use
the same check in the photon TxFeeChecker, it will work whether photon
is required or not.

See `feeCoins.IsAnyGTE()` function.
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.

2 participants