https://gitlab.com/tezos/tezos
Raw File
Tip revision: 84fb8565a2b88e0427aa44e1ff7daed6b4aa4957 authored by Jun Furuse on 20 August 2023, 03:06:30 UTC
Updates the default IO configs
Tip revision: 84fb856
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 work
#   on Tezos 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
back to top