Revision 1713d524838c269950f3f0f478a95535c7461df7 authored by Anne-Laure on 05 June 2023, 13:21:42 UTC, committed by Anne-Laure on 05 June 2023, 13:21:42 UTC
1 parent 651c20d
patch-yes_node.sh
#!/bin/sh
# Exit on non-zero status
set -e
# Patch the node sources:
# - the cryptographic library to use fake secret keys,
# - the stresstest command of each protocol that is not frozen to make it works
# on mainnet
for arg in "$@"
do
case $arg in
"--dry-run" )
dry_run='--dry-run'
esac
done
patch $dry_run -p 1 < scripts/yes-node.patch
for f in src/proto_*/lib_client_commands/client_proto_stresstest_commands.ml
do
patch $dry_run -p 1 "$f" < scripts/yes-stresstest.patch
done
Computing file changes ...