Skip to content

Commit 44fda09

Browse files
author
Ubuntu
committed
fix: change rename to copy
1 parent 6d878d0 commit 44fda09

File tree

14 files changed

+35
-25
lines changed

14 files changed

+35
-25
lines changed

Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ members = [
99
]
1010
resolver = "2"
1111

12+
[workspace.dependencies]
13+
zkm-prover = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
14+
zkm-emulator = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
15+
zkm-recursion = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
16+
zkm-build = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
17+
18+
#zkm-prover = { path = "../zkm/prover", default-features = false }
19+
#zkm-emulator = { path = "../zkm/emulator", default-features = false }
20+
#zkm-recursion = { path = "../zkm/recursion", default-features = false }
21+
#zkm-build = { path = "../zkm/build", default-features = false }
22+
1223
[profile.release]
1324
opt-level = 3
1425

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"roots_before":{"root":[1520004774,3121205016,3928823765,3984044795,4189791008,2695951123,1653901234,873746115]},"roots_after":{"root":[2516396279,2445484608,390252443,1584308213,4024382435,1334582959,2148796663,3129331213]},"userdata":[1,2,3,4,5,6,7,8,9,10,17,255,34,17,255,255,51,34,17,0,255,255,255,255,85,68,51,34,17,0,0,0,255,255,255,255,255,255,255,255,32,0,0,0,0,0,0,0,113,30,150,9,51,158,146,176,61,220,10,33,24,39,219,164,33,243,143,158,216,185,216,6,225,255,221,140,21,255,160,61,2,0,0,0,6,0,0,0,0,0,0,0,119,111,114,108,100,33]}
1+
{"roots_before":{"root":[1537799086,790747994,253982350,1232901963,1315535894,3763258413,1480996030,387848781]},"roots_after":{"root":[3543994566,1883143543,738626415,3748167693,2451115341,3683523566,4215499167,1156283928]},"userdata":[32,0,0,0,0,0,0,0,27,167,148,233,48,81,116,203,205,88,201,232,206,40,42,248,91,53,61,135,204,211,128,219,58,65,195,188,70,21,210,115]}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"Proof":{"Ar":{"X":"5994796414855330279065706512461940173003535436454272510371884944778183220302","Y":"9979836589617051287237964220027676158651659880361307070031011222574442197333"},"Krs":{"X":"16425790600371440879048973447442289896128617218437946182899147455494672154327","Y":"16793774841009774311478607962388436195173668336718362390104170978699859140336"},"Bs":{"X":{"A0":"21266426073961229419279095443642077380427558788991791627794984405608358447969","A1":"4215462658323739035539772293752009147404279262137887490779576475050096740793"},"Y":{"A0":"9734149779616818867124275749828029321793592106575872495296116896240194651571","A1":"805855292067123296655616051327210961447690494844642826581054334651142896334"}},"Commitments":[{"X":"14999526371232172328720781148880234212128075630755076155226146277253242268926","Y":"12533709697540749719271196349170692011621445086961136148015304778551632957662"}],"CommitmentPok":{"X":"16944420262394583326227442952980175766915086863156341226871919788821408053792","Y":"18856406134740883110051279191817661923647044766596119316665934586625582461803"}},"PublicWitness":["9109048324632521390150885285073287124501684821785031893029558487799656969399","941471420695846506503662682553547735673473641949479646471617379358248217516"]}
1+
{"Proof":{"Ar":{"X":"5269357132583109792777732748116491850363061210419933690322537564547273662042","Y":"14616037379556199530704417492109213678437973266383838136643885048578041476765"},"Krs":{"X":"15317139946953017431531724543961523751387050133311394308135939795422690304785","Y":"2313611058593831118725843489068072717058346591255073037233082907816620328161"},"Bs":{"X":{"A0":"46281037715979476344441433091246500550174002466865090769140937719189482394","A1":"18538821046780330063462203064864756665432473138227382038600730502739032345809"},"Y":{"A0":"10015450119805720184518392721989027586240857740574924954343700864151895973051","A1":"20893547376155348656275937485080891047104352329030135475758697890073059001850"}},"Commitments":[{"X":"6859317147489123421585064393529860653887569063260882585461321794855918712886","Y":"17737800139649546493410994994040381763493235348811977061506809128692315687868"}],"CommitmentPok":{"X":"7552132033244759033197497221532782591979051990823570416477162034356919407520","Y":"14599763977385252827620861819014804130506627234201320515405208668526618899045"}},"PublicWitness":["13405073698650317324300706420886499127430783860999788629801337418979613128879","3537181968686031917644856108501022191454008327838087091345528462678503932440"]}

guest-program/mem-alloc-vec/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ version = "0.1.0"
55
edition = "2021"
66

77
[dependencies]
8-
zkm-runtime = { git = "https://github.com/zkMIPS/zkm.git"}
8+
#zkm-runtime = { git = "https://github.com/zkMIPS/zkm.git"}
99
##just testing
10-
#zkm-runtime = { path = "../../../zkm/runtime/entrypoint" }
10+
zkm-runtime = { path = "../../../zkm/runtime/entrypoint" }

guest-program/revme/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ version = "0.1.0"
55
edition = "2021"
66

77
[dependencies]
8-
zkm-runtime = { git = "https://github.com/zkMIPS/zkm" }
8+
#zkm-runtime = { git = "https://github.com/zkMIPS/zkm" }
99
##just testing
10-
#zkm-runtime = { path = "../../../zkm/runtime/entrypoint" }
10+
zkm-runtime = { path = "../../../zkm/runtime/entrypoint" }
1111

1212
revm = { git = "https://github.com/zkMIPS/revm", branch = "zkm", default-features = false, features = [ "serde" ] }
1313
models = { git = "https://github.com/zkMIPS/revme", branch = "feat/zkm", package = "models" }

guest-program/sha2-composition/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ name = "sha2-precompile"
55
edition = "2021"
66

77
[dependencies]
8-
zkm-runtime = { git = "https://github.com/zkMIPS/zkm.git"}
8+
#zkm-runtime = { git = "https://github.com/zkMIPS/zkm.git"}
9+
zkm-runtime = { path = "../../../zkm/runtime/entrypoint" }
910
sha2 = { version = "0.10.8", default-features = false }

host-program/mem-alloc-vec/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ edition = "2021"
77

88
[dependencies]
99
zkm-sdk = { path = "../../sdk", features = ["snark"] }
10-
zkm-recursion = {git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
10+
zkm-recursion = { workspace = true, default-features = false }
1111

12-
#tonic = "0.8.1"
1312
tokio = { version = "1.21.0", features = ["macros", "rt-multi-thread", "signal"] }
1413
log = { version = "0.4.14", default-features = false }
1514
env_logger = "0.10.0"
1615
anyhow = "1.0.75"
1716
[build-dependencies]
1817
tonic-build = "0.8.0"
19-
zkm-build = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
18+
zkm-build = { workspace = true, default-features = false }
2019

2120
[features]
2221
test = []

host-program/revme/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ edition = "2021"
77

88
[dependencies]
99
zkm-sdk = { path = "../../sdk", features = ["snark"] }
10-
zkm-recursion = {git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
10+
zkm-recursion = { workspace = true, default-features = false }
1111

1212
tokio = { version = "1.21.0", features = ["macros", "rt-multi-thread", "signal"] }
13-
#ethers = "2.0.14"
1413
log = { version = "0.4.14", default-features = false }
1514
env_logger = "0.10.0"
1615
anyhow = "1.0.75"
16+
1717
[build-dependencies]
1818
tonic-build = "0.8.0"
19-
zkm-build = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
19+
zkm-build = { workspace = true, default-features = false }
2020

2121
[features]
2222
test = []

host-program/run-proving.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ echo "SEG_SIZE:$SEG_SIZE"
4141
echo "BASEDIR:$BASEDIR"
4242
echo "ZKM_PROVER:$ZKM_PROVER"
4343

44-
nohup $BASEDIR/../target/release/$program >./$program-$ZKM_PROVER-proving.log 2>&1 &
44+
$BASEDIR/../target/release/$program
4545

4646
echo "Check out the log: tail -f $program-$ZKM_PROVER-proving.log"

host-program/sha2-composition/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ bincode = "1.3.3"
1010
sha2 = { version = "0.10.8", default-features = false }
1111

1212
tokio = { version = "1.21.0", features = ["macros", "rt-multi-thread", "signal"] }
13-
#ethers = "2.0.14"
1413

1514
log = { version = "0.4.14", default-features = false }
1615
anyhow = "1.0.75"
1716
env_logger = "0.10.0"
1817

1918
[build-dependencies]
2019
tonic-build = "0.8.0"
21-
zkm-build = { git = "https://github.com/zkMIPS/zkm", branch = "main", default-features = false }
20+
zkm-build = { workspace = true, default-features = false }
2221

2322
[features]
2423
test = []

0 commit comments

Comments
 (0)