@@ -14,7 +14,7 @@ set -o pipefail
14
14
# One option to ensure you are running with repo matched cardano-cli and cardano-node
15
15
# versions is to enter a nix shell: `nix shell .#cardano-cli .#cardano-node`
16
16
#
17
- # There are three ways of triggering the transition to Shelley:
17
+ # There are two ways of triggering the transition to Shelley:
18
18
# 1. Trigger transition at protocol version 2.0.0 (as on mainnet).
19
19
# The system starts at 0.0.0, and we can only increase it by 1 in the major
20
20
# version, so this does require to:
@@ -24,24 +24,15 @@ set -o pipefail
24
24
# b) wait for the protocol to change (end of the epoch, or end of the last
25
25
# epoch if it's posted near the end of the epoch),
26
26
#
27
- # c) change configuration.yaml to have 'LastKnownBlockVersion-Major: 2',
28
- # and restart the nodes
27
+ # c) post an update proposal and votes to transition to 2.0.0
29
28
#
30
- # d) post an update proposal and votes to transition to 2.0.0
29
+ # d) change configuration.yaml to have 'LastKnownBlockVersion-Major: 2',
30
+ # and restart the nodes
31
31
#
32
32
# This is what will happen on the mainnet, so it's vital to test this, but
33
33
# it does contain some manual steps.
34
34
#
35
- # 2. Trigger transition at protocol version 2.0.0.
36
- # For testing purposes, we can also modify the system to do the transition to
37
- # Shelley at protocol version 1.0.0, by uncommenting the line containing
38
- # 'TestShelleyHardForkAtVersion' below. Then, we just need to execute step a)
39
- # above in order to trigger the transition.
40
- #
41
- # This is still close to the procedure on the mainnet, and requires less
42
- # manual steps.
43
- #
44
- # 3. Starting in a declared era.
35
+ # 2. Starting in a declared era.
45
36
# If you want to start a node in a specific era epoch 0, supply the script
46
37
# with a shelley, allegra, mary, alonzo string argument. E.g
47
38
# mkfiles.sh mary. This is quite convenient, but it does not test that we
@@ -117,20 +108,6 @@ $SED -i "${ROOT}/configuration.yaml" \
117
108
-e ' s/LastKnownBlockVersion-Major: 0/LastKnownBlockVersion-Major: 1/' \
118
109
-e ' s/LastKnownBlockVersion-Minor: 2/LastKnownBlockVersion-Minor: 0/'
119
110
120
- # To transition to Shelley with the default setup, we have to:
121
- #
122
- # - post an update proposal + votes to go to protocol version 1 using
123
- # scripts/byron-to-alonzo/update-1.sh
124
- #
125
- # - post another update proposal + votes to go to protocol version 2 and change
126
- # the configuration to have 'LastKnownBlockVersion-Major: 2' using
127
- # scripts/byron-to-alonzo/update-2.sh, and finally restart the nodes
128
- #
129
- # To make it easier to trigger the transition to Shelley, uncomment the next
130
- # code line to trigger the hardfork with protocol version 1 and then
131
- # scripts/byron-to-alonzo/update-2.sh can be skipped:
132
- # echo "TestShelleyHardForkAtVersion: 1" >> ${ROOT}/configuration.yaml
133
-
134
111
# Create the node directories
135
112
for NODE in ${ALL_NODES} ; do
136
113
mkdir -p " ${ROOT} /${NODE} /byron" " ${ROOT} /${NODE} /shelley"
0 commit comments