Files
evm/scripts/build_bench_precompiles.sh
T
2024-08-14 06:34:01 -07:00

20 lines
368 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# Root directory
SUBNET_EVM_PATH=$(
cd "$(dirname "${BASH_SOURCE[0]}")"
cd .. && pwd
)
# Load the versions
source "$SUBNET_EVM_PATH"/scripts/versions.sh
# Load the constants
source "$SUBNET_EVM_PATH"/scripts/constants.sh
go test ./precompile/contracts/... -bench=./... -timeout="10m" "$@"