File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ source "$SUBNET_EVM_PATH"/scripts/constants.sh
19
19
if [[ $# -eq 1 ]]; then
20
20
BINARY_PATH=$1
21
21
elif [[ $# -eq 0 ]]; then
22
- BINARY_PATH=" ${SUBNET_EVM_PATH} /build/subnet-evm "
22
+ BINARY_PATH=" $DEFAULT_PLUGIN_DIR / $DEFAULT_VM_ID "
23
23
else
24
24
echo " Invalid arguments to build subnet-evm. Requires zero (default binary path) or one argument to specify the binary path."
25
25
exit 1
28
28
# Build Subnet EVM, which is run as a subprocess
29
29
echo " Building Subnet EVM @ GitCommit: $SUBNET_EVM_COMMIT at $BINARY_PATH "
30
30
go build -ldflags " -X github.com/ava-labs/subnet-evm/plugin/evm.GitCommit=$SUBNET_EVM_COMMIT $STATIC_LD_FLAGS " -o " $BINARY_PATH " " plugin/" * .go
31
-
32
- PLUGIN_PATH=" ${DEFAULT_PLUGIN_DIR} /srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy"
33
- echo " Symlinking ${BINARY_PATH} to ${PLUGIN_PATH} "
34
- mkdir -p " ${DEFAULT_PLUGIN_DIR} "
35
- ln -sf " ${BINARY_PATH} " " ${PLUGIN_PATH} "
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ set -euo pipefail
8
8
# Set the PATHS
9
9
GOPATH=" $( go env GOPATH) "
10
10
DEFAULT_PLUGIN_DIR=" ${HOME} /.avalanchego/plugins"
11
+ DEFAULT_VM_ID=" srEXiWaHuhNyGwPUi444Tu47ZEDwxTWrbQiuD7FmgSAQ6X7Dy"
11
12
12
13
# Avalabs docker hub
13
14
# avaplatform/avalanchego - defaults to local as to avoid unintentional pushes
You can’t perform that action at this time.
0 commit comments