diff --git a/scripts/build.sh b/scripts/build.sh index cd08449f9e..332a9e032b 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -31,6 +31,7 @@ echo "Building Subnet EVM @ GitCommit: $SUBNET_EVM_COMMIT at $BINARY_PATH" # TODO: consider moving scripts to the avalanche directory pushd "$SUBNET_EVM_PATH/avalanche" +go mod tidy go build -ldflags "-X github.com/ava-labs/subnet-evm/avalanche/plugin/evm.GitCommit=$SUBNET_EVM_COMMIT $STATIC_LD_FLAGS" -o "$BINARY_PATH" "plugin/"*.go popd \ No newline at end of file