Skip to content

Commit

Permalink
refactor!: remove gg20 support
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Jul 5, 2024
1 parent 25274fe commit 86c0105
Show file tree
Hide file tree
Showing 44 changed files with 109 additions and 4,745 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tofnd"
version = "0.10.2"
version = "0.11.0"
authors = ["Gus Gutoski <gus@axelar.network>", "Stelios Daveas <stelios@axelar.network>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -63,5 +63,3 @@ panic = "unwind"
panic = "unwind"

[features]
# when we compile tofnd with malicious build, also use malicious build for tofn
malicious = ["tofn/malicious"]
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
docker-image: git-submodule-setup
@DOCKER_BUILDKIT=1 docker build --ssh default -t axelar/tofnd .

.PHONY: docker-image-malicious
docker-image-malicious: git-submodule-setup
@DOCKER_BUILDKIT=1 docker build --ssh default --build-arg features="malicious" -t axelar/tofnd-malicious .


.PHONY: copy-binary
copy-binary-from-image: guard-SEMVER
./scripts/copy-binaries-from-image.sh
Expand All @@ -20,12 +15,11 @@ upload-binaries-to-s3: guard-S3_PATH
.PHONY: docker-image-all
docker-image-all: git-submodule-setup
make docker-image
make docker-image-malicious

.PHONY: git-submodule-setup
git-submodule-setup:
git submodule init
git submodule update

guard-%:
@ if [ -z '${${*}}' ]; then echo 'Environment variable $* not set' && exit 1; fi
@ if [ -z '${${*}}' ]; then echo 'Environment variable $* not set' && exit 1; fi
Loading

0 comments on commit 86c0105

Please sign in to comment.