Skip to content

Commit 2fe74c2

Browse files
authored
Merge pull request #1696 from input-output-hk/jpraynaud/1694-upgrade-sanchonet-8.11-pre
Support Cardano `8.11.0-pre` in `testing-sanchonet`
2 parents dc4ad17 + f22ad5d commit 2fe74c2

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ jobs:
271271
matrix:
272272
mode: [ "std" ]
273273
era: ${{ fromJSON(needs.build-ubuntu-X64.outputs.eras) }}
274-
cardano_node_version: [ "8.7.3", "8.10.0-pre", "8.9.0" ]
274+
cardano_node_version: [ "8.7.3", "8.9.0", "8.11.0-pre" ]
275275
hard_fork_latest_era_at_epoch: [ 0,10,100 ]
276276
run_id: [ "#1" ]
277277
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 = "d55cc5cd71f95807601800f4d6b148eefffbfe10"
156+
default = "692010ed0f454bfbb566c06443227c79e2f4dbab"
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.5
1+
0.3.6

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

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

103+
if [ $(version_lt "${CARDANO_NODE_VERSION_RELEASE}" "8.11.0") = "false" ]; then
104+
# Fix >=8.11.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 "plutusV3CostModel" not found
105+
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 '. += {"plutusV3CostModel": []}' > ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json && rm ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json.tmp
106+
cat ${ARTIFACTS_DIR_TEMP}/genesis.conway.spec.json
107+
fi
108+
103109
cp $SCRIPT_DIRECTORY/configuration/byron/configuration.yaml "${ARTIFACTS_DIR_TEMP}/"
104110
$SED -i "${ARTIFACTS_DIR_TEMP}/configuration.yaml" \
105111
-e 's/Protocol: RealPBFT/Protocol: Cardano/' \

networks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
},
115115
"sanchonet": {
116116
"cardano-minimum-version": {
117-
"mithril-signer": "8.10.0-pre"
117+
"mithril-signer": "8.11.0-pre"
118118
},
119119
"mithril-networks": [
120120
{
@@ -142,4 +142,4 @@
142142
}
143143
]
144144
}
145-
}
145+
}

0 commit comments

Comments
 (0)