-
Notifications
You must be signed in to change notification settings - Fork 160
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
add metadata on schema #8
Conversation
is it valid? seems very different with other properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@beer-1 please review this PR :) i think crossreview from you would be nice since i barely know history/content of this repository
chain.schema.json
Outdated
}, | ||
"additionalProperties": false | ||
}, | ||
"description": "[Optional] The list of denoms and their respective amounts that are allowed to be transferred without fees." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A list that outlines various coin amounts. Each coin amount, denoted by the denomination (denom) and the amount, establishes a balance threshold where transaction fees are exempted. If a user's balance meets or surpasses any of these coin amounts, transaction fees will not be applied.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rewrite description like A list specifying coin amounts by denomination that exempt users from transaction fees when their balance meets or exceeds these amounts.
devnets/mahalo/assetlist.json
Outdated
@@ -21,13 +21,13 @@ | |||
"coingecko_id": "", | |||
"images": [ | |||
{ | |||
"png": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.png", | |||
"svg": "https://raw.githubusercontent.com/initia/initia-registry/main/mahalo/images/INIT.svg" | |||
"png": "https://raw.githubusercontent.com/initia-labs/initia-registry/main/devnets/mahalo/images/ETH-INIT.png", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ETH-INIT => INIT
chain.schema.json
Outdated
@@ -539,6 +539,12 @@ | |||
"$ref": "#/$defs/endpoint" | |||
} | |||
}, | |||
"faucet": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems saying faucet site not faucet api.
how about change this to faucet_api
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
afaik faucet-api won't be exposed to public. i think we need to fix values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because the object key is apis
(not urls
) so i think faucet
means the faucet api
already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any thought? @Vritra4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's move it to next to explorer as we discussed lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JSHan94 fix values of faucet. no -api.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we decided to remove faucet api
from the schema and add faucet websites
in the same depth with explorers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like faucets
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i agree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
chain.schema.json
Outdated
}, | ||
"amount": { | ||
"type": "string", | ||
"pattern": "[[:digit:]]+" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use 0-9 for general usage :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can't agree more lol
"type": "string" | ||
} | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we need to add "additionalProperties": false
into $defs/faucet unless you are intended to allow additional properties.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also we need to wrap regexes with ^ and $
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed. is there any other needed option for faucet? @simcheolhwan
No description provided.