Skip to content

Commit

Permalink
stl: fix missed AnchoredBundle type
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 18, 2023
1 parent 5321fa3 commit 619cde6
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 261 deletions.
32 changes: 4 additions & 28 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion src/stl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
pub use aluvm::stl::aluvm_stl;
pub use bp::bc::stl::bp_tx_stl;
pub use bp::stl::bp_core_stl;
use commit_verify::stl::commit_verify_stl;
use strict_types::stl::{std_stl, strict_types_stl};
use strict_types::typelib::LibBuilder;
use strict_types::{CompileError, TypeLib};

use crate::{Extension, Genesis, SubSchema, TransitionBundle, LIB_NAME_RGB};
use crate::{AnchoredBundle, Extension, Genesis, SubSchema, TransitionBundle, LIB_NAME_RGB};

/// Strict types id for the library providing data types for RGB consensus.
pub const LIB_ID_RGB: &str =
Expand All @@ -37,12 +38,14 @@ fn _rgb_core_stl() -> Result<TypeLib, CompileError> {
LibBuilder::new(libname!(LIB_NAME_RGB), tiny_bset! {
std_stl().to_dependency(),
strict_types_stl().to_dependency(),
commit_verify_stl().to_dependency(),
bp_tx_stl().to_dependency(),
bp_core_stl().to_dependency(),
aluvm_stl().to_dependency()
})
.transpile::<SubSchema>()
.transpile::<Genesis>()
.transpile::<AnchoredBundle>()
.transpile::<TransitionBundle>()
.transpile::<Extension>()
.compile()
Expand Down
Loading

0 comments on commit 619cde6

Please sign in to comment.