diff --git a/common/libzkp/impl/Cargo.lock b/common/libzkp/impl/Cargo.lock index 9ca28a6d4..425d045ec 100644 --- a/common/libzkp/impl/Cargo.lock +++ b/common/libzkp/impl/Cargo.lock @@ -3389,7 +3389,7 @@ checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] name = "types" version = "0.1.0" -source = "git+https://github.com/scroll-tech/common-rs#4a299c70835179be7fcf007ebb122b428d063c56" +source = "git+https://github.com/scroll-tech/scroll-zkevm#51b9b022fcdb45c505ea351f9dca8f2cfbec4d86" dependencies = [ "base64 0.13.0", "blake2", @@ -3816,7 +3816,7 @@ checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" [[package]] name = "zkevm" version = "0.1.0" -source = "git+https://github.com/scroll-tech/common-rs#4a299c70835179be7fcf007ebb122b428d063c56" +source = "git+https://github.com/scroll-tech/scroll-zkevm#51b9b022fcdb45c505ea351f9dca8f2cfbec4d86" dependencies = [ "anyhow", "blake2", diff --git a/common/libzkp/impl/Cargo.toml b/common/libzkp/impl/Cargo.toml index 2b6a6aa49..ae23e2614 100644 --- a/common/libzkp/impl/Cargo.toml +++ b/common/libzkp/impl/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" crate-type = ["staticlib"] [dependencies] -zkevm = { git = "https://github.com/scroll-tech/common-rs" } -types = { git = "https://github.com/scroll-tech/common-rs" } +zkevm = { git = "https://github.com/scroll-tech/scroll-zkevm" } +types = { git = "https://github.com/scroll-tech/scroll-zkevm" } log = "0.4" env_logger = "0.9.0" diff --git a/common/message/message.go b/common/message/message.go index 006930843..13e8b0c28 100644 --- a/common/message/message.go +++ b/common/message/message.go @@ -41,7 +41,7 @@ type Identity struct { // Roller public key PublicKey string `json:"publicKey"` // Version is common.Version+ZK_VERSION. Use the following to check the latest ZK_VERSION version. - // curl -sL https://api.github.com/repos/scroll-tech/common-rs/commits | jq -r ".[0].sha" + // curl -sL https://api.github.com/repos/scroll-tech/scroll-zkevm/commits | jq -r ".[0].sha" Version string `json:"version"` // Random unique token generated by manager Token string `json:"token"` diff --git a/common/version/version.go b/common/version/version.go index 44b286a88..4381f7add 100644 --- a/common/version/version.go +++ b/common/version/version.go @@ -22,7 +22,7 @@ var commit = func() string { return "" }() -// ZK_VERSION is commit-id of common/libzkp/impl/cargo.lock/common-rs +// ZK_VERSION is commit-id of common/libzkp/impl/cargo.lock/scroll-zkevm var ZK_VERSION string // Version denote the version of scroll protocol, including the l2geth, relayer, coordinator, roller, contracts and etc. diff --git a/coordinator/Makefile b/coordinator/Makefile index c72e3628a..fc9a1bca1 100644 --- a/coordinator/Makefile +++ b/coordinator/Makefile @@ -5,9 +5,9 @@ IMAGE_VERSION=latest REPO_ROOT_DIR=./.. ifeq (4.3,$(firstword $(sort $(MAKE_VERSION) 4.3))) - ZK_VERSION=$(shell grep -m 1 "common-rs" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) + ZK_VERSION=$(shell grep -m 1 "scroll-zkevm" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) else - ZK_VERSION=$(shell grep -m 1 "common-rs" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) + ZK_VERSION=$(shell grep -m 1 "scroll-zkevm" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) endif test: diff --git a/roller/Makefile b/roller/Makefile index d06a5b4ef..d56832f9a 100644 --- a/roller/Makefile +++ b/roller/Makefile @@ -4,9 +4,9 @@ IMAGE_NAME=go-roller IMAGE_VERSION=latest ifeq (4.3,$(firstword $(sort $(MAKE_VERSION) 4.3))) - ZK_VERSION=$(shell grep -m 1 "common-rs" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) + ZK_VERSION=$(shell grep -m 1 "scroll-zkevm" ../common/libzkp/impl/Cargo.lock | cut -d "#" -f2 | cut -c-7) else - ZK_VERSION=$(shell grep -m 1 "common-rs" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) + ZK_VERSION=$(shell grep -m 1 "scroll-zkevm" ../common/libzkp/impl/Cargo.lock | cut -d "\#" -f2 | cut -c-7) endif libzkp: @@ -29,7 +29,7 @@ test-gpu-prover: libzkp go test -tags="gpu ffi" -timeout 0 -v ./prover lastest-zk-version: - curl -sL https://api.github.com/repos/scroll-tech/common-rs/commits | jq -r ".[0].sha" + curl -sL https://api.github.com/repos/scroll-tech/scroll-zkevm/commits | jq -r ".[0].sha" lint: ## Lint the files - used for CI GOBIN=$(PWD)/build/bin go run ../build/lint.go