Skip to content

Commit 22f0dde

Browse files
committed
add openvm support
1 parent 10ede63 commit 22f0dde

File tree

33 files changed

+5341
-1405
lines changed

33 files changed

+5341
-1405
lines changed

Cargo.lock

Lines changed: 3640 additions & 325 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ version = "0.1.0"
4949
common = { path = "synd-translator/crates/common" }
5050
contract-bindings = { path = "shared/contract-bindings" }
5151
metrics = { path = "synd-translator/crates/metrics" }
52+
openvm-p384 = { path = "synd-withdrawals/synd-tee-attestation-zk-proofs/openvm-p384", default-features = false }
5253
shared = { path = "shared" }
5354
synd-block-builder = { path = "synd-translator/crates/synd-block-builder" }
5455
synd-chain-ingestor = { path = "synd-chain-ingestor" }
@@ -66,6 +67,7 @@ test-utils = { path = "shared/test-utils" }
6667
# dependencies
6768
alloy = { version = "1.0.25", default-features = false }
6869
alloy-primitives = { version = "1.4.1", default-features = false }
70+
alloy-rlp = "0.3.11"
6971
arc-swap = "1.7.1"
7072
assert_matches = "1.5.0"
7173
async-trait = { version = "0.1" }
@@ -78,23 +80,37 @@ bytes = "1.9.0"
7880
clap = { version = "4.5.26" }
7981
derivative = "2.2"
8082
dotenv = "0.15.0"
83+
ecdsa-core = { version = "0.16.9", package = "ecdsa", default-features = false }
84+
elliptic-curve = { version = "0.13.8", default-features = false }
8185
eyre = { version = "0.6.12" }
86+
ff = { version = "0.13.1", default-features = false }
8287
figment = { version = "0.10.19" }
8388
fs2 = { version = "0.4.3" }
8489
futures-util = "0.3.31"
8590
hex = { version = "0.4.3", default-features = false }
91+
hex-literal = { version = "1.1.0", default-features = false }
8692
http = "1.2.0"
8793
http-body = "1.0.1"
8894
http-body-util = "0.1"
8995
humantime = "2.1.0"
9096
hyper = { version = "1.5.2" }
9197
jsonrpsee = "0.26.0"
98+
num-bigint = { version = "0.4.6", default-features = false }
9299
opentelemetry = "0.31.0"
93100
opentelemetry-otlp = "0.31.0"
94101
opentelemetry-semantic-conventions = { version = "0.31.0", features = ["semconv_experimental"] }
95102
opentelemetry-stdout = "0.31.0"
96103
opentelemetry_sdk = { version = "0.31.0", features = ["trace"] }
97-
p384 = { version = "0.13.1", default-features = false } # NOTE: this lib is NOT AUDITED
104+
openvm = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
105+
openvm-algebra-guest = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
106+
openvm-algebra-moduli-macros = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
107+
openvm-bigint-guest = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
108+
openvm-ecc-guest = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
109+
openvm-ecc-sw-macros = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
110+
openvm-keccak256 = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
111+
openvm-sdk = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1" }
112+
openvm-sha2 = { git = "https://github.com/openvm-org/openvm.git", tag = "v1.4.1", default-features = false }
113+
p384 = { version = "0.13.1", default-features = false } # NOTE: this lib is NOT AUDITED
98114
pin-project-lite = "0.2.16"
99115
prometheus-client = { version = "0.23.1" }
100116
rand = { version = "0.9.0" }
@@ -108,6 +124,7 @@ serde-hex = "0.1.0"
108124
serde_bytes = { version = "0.11.19", default-features = false }
109125
serde_cbor = { version = "0.11.2", default-features = false }
110126
serde_json = { version = "1.0.135", default-features = false }
127+
sha2 = { version = "0.10.9", default-features = false }
111128
sp1-sdk = "5.2.2"
112129
sp1-zkvm = { version = "5.2.2", default-features = false }
113130
strum = "0.27.1"
@@ -133,6 +150,7 @@ ctor = "0.4.1"
133150
mockall = "0.13.1"
134151
mockito = "1.7.0"
135152
once_cell = "1.21.3"
153+
primeorder = { version = "0.13.6", default-features = false }
136154
temp-env = "0.3.6"
137155
test-case = "3"
138156

shared/Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ create-contract-bindings-rust:
1212
--select 'TeeKeyManager|TeeModule|AttestationDocVerifier' \
1313
--select 'IBridge|IOutbox|IRollupCore|IUpgradeExecutor' \
1414
--select 'ArbSys|NodeInterface|ArbGasInfo|ArbOwner' \
15-
--select 'IInboxBase|ISequencerInbox|IDelayedMessageProvider|ArbChainConfig' \
16-
--select 'DummySP1Verifier'
15+
--select 'IInboxBase|ISequencerInbox|IDelayedMessageProvider|ArbChainConfig'
1716
cp -r ../synd-contracts/out/bindings/* contract-bindings/src/synd
1817

1918
.PHONY: create-withdrawal-contract-bindings-go

shared/contract-bindings/src/synd/attestation_doc_verifier.rs

Lines changed: 211 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)