Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ members = [
"crates/tee-authority",
"crates/tee-context",
"crates/tee-launcher",
"crates/tee-verifier",
"crates/tee-verifier-interface",
"crates/test-migration-contract",
"crates/test-parallel-contract",
Expand Down Expand Up @@ -67,6 +68,7 @@ near-mpc-sdk = { path = "crates/near-mpc-sdk", version = "0.0.1" }
near-mpc-signature-verifier = { path = "crates/near-mpc-signature-verifier", version = "0.0.1" }
node-types = { path = "crates/node-types" }
tee-authority = { path = "crates/tee-authority" }
tee-verifier-interface = { path = "crates/tee-verifier-interface" }
test-port-allocator = { path = "crates/test-port-allocator" }
test-utils = { path = "crates/test-utils" }
threshold-signatures = { path = "crates/threshold-signatures" }
Expand Down
50 changes: 50 additions & 0 deletions crates/tee-verifier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[package]
name = "tee-verifier"
version = { workspace = true }
license = { workspace = true }
edition = { workspace = true }

[package.metadata.near.reproducible_build]
image = "sourcescan/cargo-near:0.21.1-rust-1.93.0"
image_digest = "sha256:79b789c81ba19ec30794a6b1046b02dcaf5c055994b22cc7c9af67ab5096b095"
passed_env = []
Comment thread
pbeza marked this conversation as resolved.
container_build_command = [
"cargo",
"near",
"build",
"non-reproducible-wasm",
"--locked",
"--profile=release-contract",
"--features",
"abi",
]
Comment thread
pbeza marked this conversation as resolved.

[lib]
crate-type = ["cdylib", "lib"]

[features]
# Enabled by `cargo near build` (via `--features near-sdk/__abi-generate`)
# and required for ABI / Borsh schema generation. Pulls in
# `borsh/unstable__schema` and `BorshSchema` derives on the wire types.
abi = ["borsh/unstable__schema", "tee-verifier-interface/borsh-schema"]
# Enables `near_sdk::testing_env!` for tests; the workspace `near-sdk`
# dependency no longer turns on `unit-testing` by default.
test-utils = ["near-sdk/unit-testing"]

[dependencies]
borsh = { workspace = true }
dcap-qvl = { workspace = true }
near-sdk = { workspace = true }
tee-verifier-interface = { workspace = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { workspace = true, features = ["custom"] }

[dev-dependencies]
hex = { workspace = true }
rstest = { workspace = true }
tee-verifier = { path = ".", features = ["test-utils"] }
test-utils = { workspace = true }

[lints]
workspace = true
Loading
Loading