Skip to content

Commit c4458db

Browse files
authored
Merge pull request #1628 from input-output-hk/jpraynaud/1618-upgrade-sanchonet-cardano-8.10
Support Cardano `8.10.0` in `testing-sanchonet`
2 parents 8725527 + ad2f765 commit c4458db

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ jobs:
265265
matrix:
266266
mode: [ "std" ]
267267
era: ${{ fromJSON(needs.build-ubuntu-X64.outputs.eras) }}
268-
cardano_node_version: [ "8.7.3", "8.8.1-pre", "8.9.0" ]
268+
cardano_node_version: [ "8.7.3", "8.10.0-pre", "8.9.0" ]
269269
hard_fork_latest_era_at_epoch: [ 0,10,100 ]
270270
run_id: [ "#1" ]
271271
extra_args: [ "" ]

mithril-infra/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ variable "cardano_image_registry" {
153153
variable "cardano_configurations_repository_commit" {
154154
type = string
155155
description = "The Cardano configurations commit to use"
156-
default = "a09256f7bcd2a7e7d8427175a53a7bac10ef2ca3"
156+
default = "d55cc5cd71f95807601800f4d6b148eefffbfe10"
157157
}
158158

159159
variable "mithril_api_domain" {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.3
1+
0.3.4

mithril-test-lab/mithril-devnet/mkfiles/mkfiles-cardano.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ if [ $(version_lt "${CARDANO_NODE_VERSION_RELEASE}" "8.8.0") = "false" ]; then
9494
cat ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json
9595
fi
9696

97+
if [ $(version_lt "${CARDANO_NODE_VERSION_RELEASE}" "8.10.0") = "false" ]; then
98+
# Fix >=8.10.0, to avoid the following errors: 'Command failed: genesis create-staked Error: Error while decoding Shelley genesis at: ./temp/genesis.conway.spec.json Error: Error in $: key "minFeeRefScriptCostPerByte" not found
99+
mv ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json.tmp && cat ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json.tmp | jq '. += {"minFeeRefScriptCostPerByte": 0, "committee": {"members": {}, "threshold": 0.67}}' > ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json && rm ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json.tmp
100+
cat ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json
101+
fi
102+
97103
cp $SCRIPT_DIRECTORY/configuration/byron/configuration.yaml "${ARTIFACTS_DIR_TEMP}/"
98104
$SED -i "${ARTIFACTS_DIR_TEMP}/configuration.yaml" \
99105
-e 's/Protocol: RealPBFT/Protocol: Cardano/' \

0 commit comments

Comments
 (0)