-
Notifications
You must be signed in to change notification settings - Fork 27
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
chore: update rollapp registration script to follow new flow #306
Conversation
fdc092c
to
7f95451
Compare
{ | ||
"moniker": "Sample Moniker", | ||
"details": "Some details about the sequencer", | ||
"p2p_seeds": [ | ||
"seed1.example.com:26656", | ||
"seed2.example.com:26656" | ||
], | ||
"rpcs": [ | ||
"http://rpc1.example.com:26657", | ||
"http://rpc2.example.com:26657" | ||
], | ||
"evm_rpcs": [ | ||
"http://evm-rpc1.example.com:8545", | ||
"http://evm-rpc2.example.com:8545" | ||
], | ||
"rest_api_url": "http://restapi.example.com", | ||
"explorer_url": "http://explorer.example.com", | ||
"genesis_urls": [ | ||
"http://genesis1.example.com", | ||
"http://genesis2.example.com" | ||
], | ||
"contact_details": { | ||
"website": "http://website.example.com", | ||
"telegram": "https://t.me/example", | ||
"x": "https://twitter.com/example" | ||
}, | ||
"extra_data": "RXh0cmEgZGF0YSBzYW1wbGU=", // Base64 encoded data | ||
"snapshots": [ | ||
{ | ||
"snapshot_url": "http://snapshot1.example.com", | ||
"height": 123456, | ||
"checksum": "d41d8cd98f00b204e9800998ecf8427e" | ||
}, | ||
{ | ||
"snapshot_url": "http://snapshot2.example.com", | ||
"height": 789012, | ||
"checksum": "e2fc714c4727ee9395f324cd2e7f331f" | ||
} | ||
], | ||
"gas_price": "1000000" | ||
} |
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.
maybe it's better to store these in a file
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.
yeah, I though the same but that the user needs to run the script from a specific location and the json file needs to be at an expected location all the time... this way user can run the scripts from wherever he wants, that's why it's inline
since the sequencer metadata is optional, the dummy file will just be an empty json object, that's shorter
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.
fair enough
Description
Closes #XXX
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow-up issues.
PR review checkboxes:
I have...
Unreleased
section inCHANGELOG.md
godoc
commentsSDK Checklist
map
time.Now()
sendCoin
and notSendCoins
Full security checklist here
----;
For Reviewer:
---;
After reviewer approval: