Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Feb 16, 2024
1 parent e53663f commit 4529302
Show file tree
Hide file tree
Showing 10 changed files with 238 additions and 259 deletions.
114 changes: 46 additions & 68 deletions Cargo.lock

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

11 changes: 4 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ name = "rgbcore-stl"
required-features = ["stl"]

[dependencies]
amplify = { version = "~4.5.1", features = ["rand"] }
strict_encoding = "~2.7.0"
strict_types = "~2.7.0"
aluvm = { version = "~0.11.0-beta.2", features = ["std"] }
amplify = { version = "~4.6.0", features = ["rand"] }
strict_encoding = "~2.7.0-beta.1"
strict_types = "~2.7.0-beta.1"
aluvm = { version = "~0.11.0-beta.3", features = ["std"] }
commit_verify = { version = "~0.11.0-beta.3", features = ["rand", "derive"] }
single_use_seals = "~0.11.0-beta.3"
bp-core = { version = "~0.11.0-beta.3" }
Expand Down Expand Up @@ -62,11 +62,8 @@ wasm-bindgen-test = "0.3"
features = [ "all" ]

[patch.crates-io]
strict_encoding = { git = "https://github.com/strict-types/strict-encoding", branch = "refactor/io" }
strict_types = { git = "https://github.com/strict-types/strict-types", branch = "refactor/io" }
commit_verify = { git = "https://github.com/LNP-BP/client_side_validation", branch = "v0.11" }
bp-consensus = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
bp-dbc = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
bp-seals = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
bp-core = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
aluvm = { git = "https://github.com/AluVM/rust-aluvm", branch = "v0.11" }
2 changes: 1 addition & 1 deletion src/contract/seal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ mod test {
let secret = reveal.to_secret_seal();
assert_eq!(
secret.to_string(),
"bc:utxob:MEtUtHY-Nk2QBNbkL-vnV1aAHcx-eYAwSr16Q-qGa5tKND8-MR3WG6"
"bc:utxob:28Hk9S1-nBLPw4u9j-Zwaftwz8s-k5Y6G7bug-qvoeGn5BF-GPEJoY3"
);
assert_eq!(reveal.to_secret_seal(), reveal.conceal())
}
Expand Down
4 changes: 2 additions & 2 deletions src/schema/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

use strict_encoding::constants::U64;
use strict_encoding::Primitive;
use strict_types::SemId;

use crate::{StateType, LIB_NAME_RGB};
Expand Down Expand Up @@ -96,7 +96,7 @@ impl StateSchema {
pub enum FungibleType {
#[default]
#[display("64bit")]
Unsigned64Bit = U64.into_code(),
Unsigned64Bit = Primitive::U64.into_code(),
}

#[derive(Clone, PartialEq, Eq, Hash, Debug)]
Expand Down
2 changes: 1 addition & 1 deletion src/stl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use crate::{

/// Strict types id for the library providing data types for RGB consensus.
pub const LIB_ID_RGB: &str =
"urn:ubideco:stl:GBpCZWjW6YyuTB8tGMi856t1iATppxNGTr7GPzZxgSpU#helium-cinema-contact";
"urn:ubideco:stl:Hzv1xPBtQfqcGYeisvS2V9DPj1VRC5WyYfME2RtmuRpu#blitz-english-eric";

fn _rgb_core_stl() -> Result<TypeLib, CompileError> {
LibBuilder::new(libname!(LIB_NAME_RGB), tiny_bset! {
Expand Down
2 changes: 1 addition & 1 deletion stl/AnchoredBundle.vesper
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ AnchoredBundle rec
element bytes len=32 aka=MerkleHash
dbcProof is Unit aka=OpretProof
bundle rec -- TransitionBundle
inputMap map len=1..MAX16
inputMap map len=1..MAX16 aka=InputMap
key is U32 aka=Vout
value bytes len=32 aka=OpId
knownTransitions map len=1..MAX16
Expand Down
2 changes: 1 addition & 1 deletion stl/MerkleNode.vesper
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MerkleNode rec
branching enum void=0 single=1 branch=2 -- NodeBranching
depth is U8
width is U16
width is U256
node1 bytes len=32 aka=MerkleHash
node2 bytes len=32 aka=MerkleHash
Loading

0 comments on commit 4529302

Please sign in to comment.