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

roller should set denoms in the genesis file #168

Closed
mtsitrin opened this issue Jul 3, 2023 · 2 comments
Closed

roller should set denoms in the genesis file #168

mtsitrin opened this issue Jul 3, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mtsitrin
Copy link
Contributor

mtsitrin commented Jul 3, 2023

as roller defines both the symbol denom (e.g RAX) and the base denom (e.g uRAX),

it should register them both in the genesis under denom_metadata

@mtsitrin mtsitrin added the enhancement New feature or request label Jul 3, 2023
@mtsitrin mtsitrin self-assigned this Jul 13, 2023
@mtsitrin
Copy link
Contributor Author

on genesis, the following should be set in app_state.bank.denom_metadata:

[
	   	{
	   	          "description": "The native token of the rollapp",
	   	          "denom_units": [
	   	            {
	   	              "denom": "u$DENOM",
	   	              "exponent": 0,
	   	            },
	   	            {
	   	              "denom": "$DENOM",
	   	              "exponent": 18,
	   	            }
	   	          ],
	   	          "base": "u$DENOM",
	   	          "display": "$DENOM"
	   	        }
]

@mtsitrin
Copy link
Contributor Author

handled by #293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants