From fcdb9c6e0a3a91db52819ada79d10f839cf6cd18 Mon Sep 17 00:00:00 2001 From: jakehemmerle Date: Mon, 27 Nov 2023 15:53:51 -0500 Subject: [PATCH] bump ec-runtime: new Error variant for zero-length program --- Cargo.lock | 21 +++++---------------- crypto/server/Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37653b524..f449b3c3c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2350,18 +2350,7 @@ checksum = "68b0cf012f1230e43cd00ebb729c6bb58707ecfa8ad08b52ef3a4ccd2697fc30" [[package]] name = "ec-core" version = "0.1.0" -source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.2.0#5ed3d8a3bfbce6aa39bb0dd372ebea6d8749e7c4" -dependencies = [ - "getrandom 0.2.10", - "serde", - "wit-bindgen", - "witgen", -] - -[[package]] -name = "ec-core" -version = "0.1.0" -source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.3.0#008fd64e95702084231194bfc62b45def44bccec" +source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.4.0#52c1c84728e190950c83d05eecd3578cd9ca7235" dependencies = [ "getrandom 0.2.10", "serde", @@ -2372,9 +2361,9 @@ dependencies = [ [[package]] name = "ec-runtime" version = "0.1.0" -source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.3.0#008fd64e95702084231194bfc62b45def44bccec" +source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.4.0#52c1c84728e190950c83d05eecd3578cd9ca7235" dependencies = [ - "ec-core 0.1.0 (git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.3.0)", + "ec-core", "thiserror", "wasmtime 12.0.1", ] @@ -12308,9 +12297,9 @@ dependencies = [ [[package]] name = "template-barebones" version = "0.1.0" -source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.2.0#5ed3d8a3bfbce6aa39bb0dd372ebea6d8749e7c4" +source = "git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.4.0#52c1c84728e190950c83d05eecd3578cd9ca7235" dependencies = [ - "ec-core 0.1.0 (git+ssh://git@github.com/entropyxyz/constraints.git?tag=v0.2.0)", + "ec-core", ] [[package]] diff --git a/crypto/server/Cargo.toml b/crypto/server/Cargo.toml index a4c3d263d..ff1c0efa5 100644 --- a/crypto/server/Cargo.toml +++ b/crypto/server/Cargo.toml @@ -43,7 +43,7 @@ entropy-protocol ={ path="../protocol", features=["server"] } x25519-chacha20poly1305={ git="https://github.com/entropyxyz/x25519-chacha20poly1305.git", tag="v0.2.1" } # Constraints -ec-runtime={ git="ssh://git@github.com/entropyxyz/constraints.git", tag="v0.3.0" } +ec-runtime={ git="ssh://git@github.com/entropyxyz/constraints.git", tag="v0.4.0" } # Logging tracing ="0.1.37" @@ -72,7 +72,7 @@ hex-literal="0.3.4" project-root="0.2.2" sp-keyring="24.0.0" more-asserts="0.3.1" -template-barebones={ git="ssh://git@github.com/entropyxyz/constraints.git", tag="v0.2.0" } +template-barebones={ git="ssh://git@github.com/entropyxyz/constraints.git", tag="v0.4.0" } lazy_static="1.4.0" x25519-chacha20poly1305={ git="https://github.com/entropyxyz/x25519-chacha20poly1305.git", tag="v0.2.1", features=[ "unsafe",