2121// limitations under the License.
2222
2323pub use aluvm:: stl:: aluvm_stl;
24- pub use bp:: bc:: stl:: bp_tx_stl;
24+ pub use bp:: bc:: stl:: { bp_consensus_stl , bp_tx_stl} ;
2525pub use bp:: stl:: bp_core_stl;
2626use bp:: Txid ;
2727use commit_verify:: stl:: commit_verify_stl;
@@ -37,20 +37,20 @@ use crate::{
3737
3838/// Strict types id for the library providing data types for RGB consensus.
3939pub const LIB_ID_RGB_COMMIT : & str =
40- "stl:taGMXEjW-1FDlac4-c6kFcnK-6iv9IXB-G0Gjhdz-Stoexsk#film-extreme-koala " ;
40+ "stl:NwMt~fFK-6VJmHNx-PL2t3S~-qxkGDuN-_d13aKL-P8LCOyE#orchid-orlando-crown " ;
4141/// Strict types id for the library providing data types for RGB consensus.
4242pub const LIB_ID_RGB_LOGIC : & str =
43- "stl:hrx4os5M-G1AhR3Z-8FlOSFa-VxScvGS-!jvqFk3-XBnsCa8#cable-pagoda-mayor " ;
43+ "stl:EG0fIYF8-WocmDgI-krs8UrX-wgofBr9-slznxgC-Ty8RDtk#extra-compass-optic " ;
4444
4545fn _rgb_commit_stl ( ) -> Result < TypeLib , CompileError > {
46- LibBuilder :: new ( libname ! ( LIB_NAME_RGB_COMMIT ) , tiny_bset ! {
47- std_stl( ) . to_dependency ( ) ,
48- strict_types_stl( ) . to_dependency ( ) ,
49- commit_verify_stl( ) . to_dependency ( ) ,
50- bp_tx_stl( ) . to_dependency ( ) ,
51- bp_core_stl( ) . to_dependency ( ) ,
52- aluvm_stl( ) . to_dependency ( )
53- } )
46+ LibBuilder :: with ( libname ! ( LIB_NAME_RGB_COMMIT ) , [
47+ std_stl ( ) . to_dependency_types ( ) ,
48+ strict_types_stl ( ) . to_dependency_types ( ) ,
49+ commit_verify_stl ( ) . to_dependency_types ( ) ,
50+ bp_tx_stl ( ) . to_dependency_types ( ) ,
51+ bp_core_stl ( ) . to_dependency_types ( ) ,
52+ aluvm_stl ( ) . to_dependency_types ( ) ,
53+ ] )
5454 . transpile :: < Schema > ( )
5555 . transpile :: < Genesis > ( )
5656 . transpile :: < Txid > ( )
@@ -60,15 +60,15 @@ fn _rgb_commit_stl() -> Result<TypeLib, CompileError> {
6060}
6161
6262fn _rgb_logic_stl ( ) -> Result < TypeLib , CompileError > {
63- LibBuilder :: new ( libname ! ( LIB_NAME_RGB_LOGIC ) , tiny_bset ! {
64- std_stl( ) . to_dependency ( ) ,
65- strict_types_stl( ) . to_dependency ( ) ,
66- commit_verify_stl( ) . to_dependency ( ) ,
67- bp_tx_stl ( ) . to_dependency ( ) ,
68- bp_core_stl( ) . to_dependency ( ) ,
69- aluvm_stl( ) . to_dependency ( ) ,
70- rgb_commit_stl( ) . to_dependency ( )
71- } )
63+ LibBuilder :: with ( libname ! ( LIB_NAME_RGB_LOGIC ) , [
64+ std_stl ( ) . to_dependency_types ( ) ,
65+ strict_types_stl ( ) . to_dependency_types ( ) ,
66+ commit_verify_stl ( ) . to_dependency_types ( ) ,
67+ bp_consensus_stl ( ) . to_dependency_types ( ) ,
68+ bp_core_stl ( ) . to_dependency_types ( ) ,
69+ aluvm_stl ( ) . to_dependency_types ( ) ,
70+ rgb_commit_stl ( ) . to_dependency_types ( ) ,
71+ ] )
7272 . transpile :: < GlobalOrd > ( )
7373 . transpile :: < DbcProof > ( )
7474 . compile ( )
0 commit comments