-
Notifications
You must be signed in to change notification settings - Fork 716
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Node: Update Celo watcher * Code review rework
- Loading branch information
1 parent
db1ee86
commit 56cf37a
Showing
11 changed files
with
23 additions
and
2,241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ ARG GO_BUILD_ARGS=-race | |
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \ | ||
export CGO_ENABLED=1 && \ | ||
cd node && \ | ||
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-extldflags "-Wl,--allow-multiple-definition" -X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /guardiand github.com/certusone/wormhole/node && \ | ||
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /guardiand github.com/certusone/wormhole/node && \ | ||
go get github.com/CosmWasm/[email protected] && \ | ||
cp /go/pkg/mod/github.com/!cosm!wasm/[email protected]/internal/api/libwasmvm.*.so /usr/lib/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
.PHONY test | ||
.PHONY: test | ||
test: | ||
# Use this command on amd64 systems | ||
go test -v -ldflags '-extldflags "-Wl,--allow-multiple-definition" ' ./... | ||
|
||
.PHONY test-arm64 | ||
test-arm64: | ||
# Use this command on arm64, otherwise you will encounter linker errors. | ||
# It's not perfect: it will fail due to 'undefined symbols' errors | ||
# for packges using cgo. Still, it will get you farther than running | ||
# the default command. | ||
# To test a single package, use these -ldflags with e.g. ./pkg/governor | ||
go test -ldflags '-extldflags "-Wl,-ld_classic " ' ./... | ||
go test -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ ARG GO_BUILD_ARGS=-race | |
RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \ | ||
export CGO_ENABLED=1 && \ | ||
cd node/hack/query/ccqlistener && \ | ||
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-extldflags "-Wl,--allow-multiple-definition" -X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /ccqlistener ccqlistener.go && \ | ||
go build ${GO_BUILD_ARGS} -gcflags="all=-N -l" --ldflags '-X "github.com/certusone/wormhole/node/cmd/guardiand.Build=dev"' -mod=readonly -o /ccqlistener ccqlistener.go && \ | ||
go get github.com/CosmWasm/[email protected] && \ | ||
cp /go/pkg/mod/github.com/!cosm!wasm/[email protected]/internal/api/libwasmvm.x86_64.so /usr/lib/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.