Skip to content

Commit

Permalink
seals: remove secret seal type
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Nov 29, 2024
1 parent e80d084 commit b651952
Show file tree
Hide file tree
Showing 15 changed files with 107 additions and 213 deletions.
95 changes: 42 additions & 53 deletions Cargo.lock

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

21 changes: 9 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ default-members = [
]

[workspace.package]
version = "0.12.0-beta.1"
version = "0.12.0-beta.2"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
homepage = "https://github.com/BP-WG"
repository = "https://github.com/BP-WG/bp-core"
Expand All @@ -22,14 +22,14 @@ edition = "2021"
license = "Apache-2.0"

[workspace.dependencies]
amplify = "4.7.0"
strict_encoding = "2.7.2"
strict_types = "2.7.2"
commit_verify = "0.12.0-alpha.3"
single_use_seals = "0.12.0-alpha.3"
bp-consensus = { version = "0.12.0-beta.1", path = "./consensus" }
bp-dbc = { version = "0.12.0-beta.1", path = "./dbc" }
bp-seals = { version = "0.12.0-beta.1", path = "./seals" }
amplify = "4.8.0"
strict_encoding = "2.8.1"
strict_types = "2.8.1"
commit_verify = "0.12.0-beta.1"
single_use_seals = "0.12.0-beta.1"
bp-consensus = { version = "0.12.0-beta.2", path = "./consensus" }
bp-dbc = { version = "0.12.0-beta.2", path = "./dbc" }
bp-seals = { version = "0.12.0-beta.2", path = "./seals" }
secp256k1 = { version = "0.30.0", features = ["global-context", "rand"] }
serde_crate = { package = "serde", version = "1", features = ["derive"] }

Expand Down Expand Up @@ -89,6 +89,3 @@ wasm-bindgen-test = "0.3"

[package.metadata.docs.rs]
features = ["all"]

[patch.crates-io]
single_use_seals = { git = "https://github.com/LNP-BP/client_side_validation", branch = "v0.12" }
4 changes: 2 additions & 2 deletions consensus/src/stl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ use crate::{
};

pub const LIB_ID_BP_TX: &str =
"stl:9WwTYiP2-OadKCZP-cR0bJ~Y-qruINYX-bXZFj8Y-fsQoGgo#signal-color-cipher";
"stl:9WwTYiP2-OadKCZP-cR0bJ_Y-qruINYX-bXZFj8Y-fsQoGgo#signal-color-cipher";
pub const LIB_ID_BP_CONSENSUS: &str =
"stl:q7G95wzt-SxT2BMV-t~PokBt-wNYgZTu-AaYAtM3-rYjlzs4#agenda-wolf-pagoda";
"stl:wUfEZiWN-tvMpLYq-~h1iQC3-bHNSjiW-h9d7O0t-i154uQ0#quiz-patent-exit";

#[deprecated(since = "0.10.8", note = "use _bp_tx_stl instead")]
fn _bitcoin_stl() -> Result<TypeLib, CompileError> { _bp_tx_stl() }
Expand Down
2 changes: 1 addition & 1 deletion seals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ path = "src/lib.rs"

[dependencies]
amplify = { workspace = true }
baid64 = "0.2.2"
baid64 = "0.4.1"
single_use_seals = { workspace = true }
commit_verify = { workspace = true }
strict_encoding = { workspace = true }
Expand Down
2 changes: 0 additions & 2 deletions seals/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,5 @@ extern crate commit_verify;
extern crate serde_crate as serde;

mod txout;
mod secret;

pub use secret::SecretSeal;
pub use txout::{Anchor, AnchorError, Noise, TxoSeal, TxoSealExt};
Loading

0 comments on commit b651952

Please sign in to comment.