Skip to content

Commit 7ba72ed

Browse files
committed
chore(e2e): remove PRE_CONWAY local-network flag
1 parent 6cbcf03 commit 7ba72ed

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

packages/e2e/.env.example

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ SCHEDULES="/config/schedules.json"
5555
# Required by test:long-running
5656
STAKE_POOL_PROJECTOR_URL='http://localhost:4002/'
5757

58-
# PRE_CONWAY=stable starts the local-network in babbage era. If this variable is not set, the local-network will start in conway era.
59-
# TODO: Once conway era is stable, remove this variable and start the local-network in conway era by default.
60-
#
61-
# PRE_CONWAY=stable
62-
6358
# NETWORK_SPEED (fast|slow) determines the timeout tests will use when for blockchain events, like transaction confirmation.
6459
# It should be configured to 'slow' when running against real networks like preprod.
6560
# The local-network slotLength is 0.2s when running in fast mode (default), and 1s when running in slow mode.

packages/e2e/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ services:
2727
CARDANO_NODE_LOG_LEVEL: ${CARDANO_NODE_LOG_LEVEL:-Info}
2828
CARDANO_NODE_CHAINDB_LOG_LEVEL: ${CARDANO_NODE_CHAINDB_LOG_LEVEL:-Notice}
2929
NETWORK_SPEED: ${NETWORK_SPEED:-fast}
30-
PRE_CONWAY: ${PRE_CONWAY}
3130
ports:
3231
- 3001:3001
3332
volumes:

packages/e2e/local-network/scripts/make-babbage.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -153,22 +153,6 @@ echo "TestConwayHardForkAtEpoch: 0" >> "${ROOT}/configuration.yaml"
153153
echo "ExperimentalHardForksEnabled: True" >> "${ROOT}/configuration.yaml"
154154
echo "ExperimentalProtocolsEnabled: True" >> "${ROOT}/configuration.yaml"
155155

156-
# TODO: Remove once mainnet is hardforked to conway-era and we don't need to run the e2e tests on pre-conway too.
157-
# If we want the network to start in Babbage era we need to configure it to hardfork to Conway very far in the future.
158-
# We also need to update the conway transaction cli commands to babbage cli commands.
159-
if [ -n "$PRE_CONWAY" ]; then
160-
echo "Updating scripts for pre-conway eras"
161-
# Start in Babbage era
162-
sed -i '/TestConwayHardForkAtEpoch/d' ./templates/babbage/node-config.json
163-
sed -i '/TestConwayHardForkAtEpoch/d' ${ROOT}/configuration.yaml
164-
165-
# Convert all cardano-cli conway cmds to babbage
166-
find ./scripts/ -type f -name "*.sh" -exec sed -i 's/cardano-cli conway /cardano-cli babbage /g' {} +
167-
168-
# Remove cardano-cli conway specific args
169-
sed -i '/--key-reg-deposit-amt/d' ./scripts/setup-new-delegator-keys.sh
170-
fi
171-
172156
# Copy the cost mode
173157
cardano-cli conway genesis create-staked --genesis-dir "${ROOT}" \
174158
--testnet-magic "${NETWORK_MAGIC}" \

0 commit comments

Comments
 (0)