Revision 9dc080096a163b9831606f1c8c527aa3ed129779 authored by Marge Bot on 22 December 2023, 15:01:47 UTC, committed by Marge Bot on 22 December 2023, 15:01:47 UTC
Co-authored-by: Neo <11726174-neo.nomadic@users.noreply.gitlab.com>

Approved-by: Arvid Jakobsson <arvid.jakobsson@nomadic-labs.com>
Approved-by: Killian Delarue <killian.delarue@nomadic-labs.com>

See merge request https://gitlab.com/tezos/tezos/-/merge_requests/11127
2 parent s 7feb97c + 393b01a
Raw File
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