Skip to content

Commit

Permalink
tr56
Browse files Browse the repository at this point in the history
  • Loading branch information
lasthyphen committed Jul 4, 2023
1 parent 6beb2f1 commit 504644b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ require (
github.com/jackpal/go-nat-pmp v1.0.2
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
github.com/kr/text v0.2.0 // indirect
github.com/lasthyphen/duluth v1.7.4 // indirect
github.com/linxGnu/grocksdb v1.6.34
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mitchellh/go-homedir v1.1.0
Expand Down
4 changes: 3 additions & 1 deletion scripts/build_coreth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ else
exit 1
fi

coreth_commit=${CORETH_COMMIT:-$( git rev-list -1 HEAD )}

# Build Coreth
echo "Building ECC Addons @ ${coreth_version} ..."
cd "$coreth_path"
go build -ldflags "-X github.com/lasthyphen/duluth/plugin/evm.Version=$coreth_version $static_ld_flags" -o "$evm_path" "plugin/"*.go
go build -ldflags "-X github.com/lasthyphen/duluth/plugin/evm.GitCommit=$coreth_commit -X github.com/lasthyphen/duluth/plugin/evm.Version=$coreth_version" -o "$evm_path" "plugin/"*.go
cd "$AVALANCHE_PATH"

# Building coreth + using go get can mess with the go.mod file.
Expand Down

0 comments on commit 504644b

Please sign in to comment.