https://gitlab.com/tezos/tezos
Raw File
Tip revision: 9aebedd3b0745f5e261919cb56e8b5b317828c63 authored by Joel Bjornson on 23 November 2022, 12:04:53 UTC
Proto,SCORU: Assign a gas cost to proof validation
Tip revision: 9aebedd
patch-yes_node.sh
#!/bin/sh

# 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
back to top