consensus: Deploy native money contract on startup.

This commit is contained in:
parazyd
2022-11-15 19:33:10 +01:00
parent 8a60502a2f
commit fe611fbbcd
4 changed files with 45 additions and 12 deletions

View File

@@ -32,6 +32,9 @@ PROOFS_BIN = $(PROOFS:=.bin)
all: zkas $(PROOFS_BIN) $(BINS)
contracts: zkas
$(MAKE) -C src/contract/money
zkas: $(BINDEPS)
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --all-features --release --package $@
cp -f target/release/$@ $@
@@ -42,7 +45,7 @@ $(PROOFS_BIN): $(PROOFS) zkas
token_lists:
$(MAKE) -C contrib/token all
$(BINS): token_lists $(BINDEPS)
$(BINS): token_lists contracts $(BINDEPS)
RUSTFLAGS="$(RUSTFLAGS)" $(CARGO) build --all-features --release --package $@
cp -f target/release/$@ $@