Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

FM-111: Query the chain ID from genesis in SimpleCoin example #118

Merged
merged 1 commit into from
May 30, 2023

Conversation

aakoshh
Copy link
Contributor

@aakoshh aakoshh commented May 30, 2023

Follow up for consensus-shipyard/ipc#339

Do away with the --chain-name parameter in the SimpleCoin example by querying the Tendermint genesis() API endpoint and using the chain_id field. It makes it easier to call the example (similar to how it figures out the nonce) and demonstrates the use of the underlying Tendermint client.

@aakoshh aakoshh merged commit 200cb63 into master May 30, 2023
@aakoshh aakoshh deleted the fm-111-query-chain-id branch May 30, 2023 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant