Fix: era markers and pool tools for Cardano 10.1
#2053
Merged
+126
−60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Content
This PR primarily updates the era markers runbook and pool tools in infra to ensure compatibility with Cardano
10.1
.Documentation Updates:
docs/runbook/era-markers/README.md
: Updated various Cardano CLI commands to include theCARDANO_ERA
environment variable for querying UTXOs, building transactions, and submitting transactions.Script Updates:
mithril-infra/assets/tools/pool/_prelude.sh
: Addedlatest
keyword toCARDANO_CLI_CMD
to ensure the latest era is used when querying the Cardano tip.mithril-infra/assets/tools/pool/create-keys.sh
: IncorporatedCARDANO_ERA
in all Cardano CLI commands to ensure compatibility with different eras.mithril-infra/assets/tools/pool/query-stake-pool.sh
: AddedCARDANO_ERA
to all Cardano CLI commands for querying stake pool information.mithril-infra/assets/tools/pool/register-stake-address.sh
: Updated to includeCARDANO_ERA
when querying the Cardano tip and building transactions.mithril-infra/assets/tools/pool/register-stake-pool.sh
: Updated to includeCARDANO_ERA
in commands for generating metadata hash and querying the Cardano tip.Miscellaneous:
mithril-infra/README.md
: Updated examples to useGENESIS_FILE=**YOUR_SHELLEY_GENESIS_FILE**
for clarity.mithril-infra/assets/infra.version
: Bumped version from0.3.5
to0.3.6
.Pre-submit checklist
Issue(s)
Relates to #2045