Skip to content

Commit

Permalink
feat(zk_toolbox): Adapt zkt binary for using zkup (#2643)
Browse files Browse the repository at this point in the history
## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.

Signed-off-by: Danil <[email protected]>
  • Loading branch information
Deniallugo authored Aug 13, 2024
1 parent a0c7a03 commit a6213ef
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions bin/zkt
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env bash

cd $(dirname $0)
cd ../zk_toolbox

cargo install --path ./crates/zk_inception --force
cargo install --path ./crates/zk_supervisor --force
if which zkup >/dev/null; then
zkup -p .. --alias
else
echo zkup does not installed, please install it https://github.com/matter-labs/zksync-era/tree/main/zk_toolbox/zkup
cd ../zk_toolbox
cargo install --path ./crates/zk_inception --force
cargo install --path ./crates/zk_supervisor --force
fi

0 comments on commit a6213ef

Please sign in to comment.