Skip to content

Commit dfcef25

Browse files
committed
update deps
1 parent 6651e04 commit dfcef25

File tree

7 files changed

+41
-59
lines changed

7 files changed

+41
-59
lines changed

Cargo.lock

+24-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ edition = "2021"
2222
license = "Apache-2.0"
2323

2424
[workspace.dependencies]
25-
amplify = "~4.7.0"
26-
strict_encoding = "~2.7.0"
27-
strict_types = "~2.7.2"
25+
amplify = "~4.8.0"
26+
strict_encoding = "~2.8.1"
27+
strict_types = "~2.8.2"
2828
commit_verify = "0.11.0"
2929
single_use_seals = "0.11.0"
3030
bp-consensus = { version = "0.11.1-alpha.1", path = "./consensus" }

consensus/src/stl.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ use crate::{
3232
};
3333

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

3939
#[deprecated(since = "0.10.8", note = "use _bp_tx_stl instead")]
4040
fn _bitcoin_stl() -> Result<TypeLib, CompileError> { _bp_tx_stl() }
4141

4242
fn _bp_tx_stl() -> Result<TypeLib, CompileError> {
43-
LibBuilder::new(libname!(LIB_NAME_BITCOIN), None).transpile::<Tx>().compile()
43+
LibBuilder::with(libname!(LIB_NAME_BITCOIN), None).transpile::<Tx>().compile()
4444
}
4545

4646
fn _bp_consensus_stl() -> Result<TypeLib, CompileError> {
47-
LibBuilder::new(libname!(LIB_NAME_BITCOIN), tiny_bset! {
48-
strict_types::stl::std_stl().to_dependency(),
49-
})
47+
LibBuilder::with(libname!(LIB_NAME_BITCOIN), [
48+
strict_types::stl::std_stl().to_dependency_types()
49+
])
5050
.transpile::<LegacySig>()
5151
.transpile::<Bip340Sig>()
5252
.transpile::<OpCode>()

seals/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ path = "src/lib.rs"
1818

1919
[dependencies]
2020
amplify = { workspace = true }
21-
baid64 = "0.2.2"
21+
baid64 = "0.4.1"
2222
single_use_seals = { workspace = true }
2323
commit_verify = { workspace = true }
2424
strict_encoding = { workspace = true }

seals/src/secret.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ mod test {
7373

7474
#[test]
7575
fn secret_seal_baid64() {
76-
let baid64 = "utxob:xDfmDF9g-yNOjriV-6Anbe6H-MLJ!!g6-lo7Dd4f-dhWBW8S-XYGBm";
76+
let baid64 = "utxob:xDfmDF9g-yNOjriV-6Anbe6H-MLJ__g6-lo7Dd4f-dhWBW8S-XYGBm";
7777
let seal: SecretSeal = baid64.parse().unwrap();
7878
assert_eq!(baid64, seal.to_string());
7979
assert_eq!(seal.to_string(), seal.to_baid64_string());

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ pub extern crate dbc;
4848
pub extern crate seals;
4949

5050
#[cfg(feature = "stl")]
51-
#[macro_use]
5251
extern crate amplify;
5352
#[cfg(feature = "stl")]
5453
#[macro_use]

src/stl.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ use strict_types::{CompileError, LibBuilder, TypeLib};
3131
/// Strict types id for the library providing data types from [`dbc`] and
3232
/// [`seals`] crates.
3333
pub const LIB_ID_BPCORE: &str =
34-
"stl:abxDwrpE-mSRfNo!-x4bvuzi-vlsho8Y-uyxOx7l-vkBy9KE#alfonso-andrea-nitro";
34+
"stl:Pes7Egpg-6IfFCxl-fFGcbh6-sLkFInB-w26eHfd-unAO5JE#juliet-super-dominic";
3535

3636
fn _bp_core_stl() -> Result<TypeLib, CompileError> {
37-
LibBuilder::new(libname!(LIB_NAME_BPCORE), tiny_bset! {
38-
strict_types::stl::std_stl().to_dependency(),
39-
bc::stl::bp_tx_stl().to_dependency(),
40-
commit_verify::stl::commit_verify_stl().to_dependency()
41-
})
37+
LibBuilder::with(libname!(LIB_NAME_BPCORE), [
38+
strict_types::stl::std_stl().to_dependency_types(),
39+
bc::stl::bp_consensus_stl().to_dependency_types(),
40+
commit_verify::stl::commit_verify_stl().to_dependency_types(),
41+
])
4242
.transpile::<dbc::Anchor<TapretProof>>()
4343
.transpile::<dbc::Anchor<OpretProof>>()
4444
.transpile::<seals::txout::ExplicitSeal<TxPtr>>()

0 commit comments

Comments
 (0)