21
21
// limitations under the License.
22
22
23
23
pub 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} ;
25
25
pub use bp:: stl:: bp_core_stl;
26
26
use bp:: Txid ;
27
27
use commit_verify:: stl:: commit_verify_stl;
@@ -37,20 +37,20 @@ use crate::{
37
37
38
38
/// Strict types id for the library providing data types for RGB consensus.
39
39
pub 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 " ;
41
41
/// Strict types id for the library providing data types for RGB consensus.
42
42
pub 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 " ;
44
44
45
45
fn _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
+ ] )
54
54
. transpile :: < Schema > ( )
55
55
. transpile :: < Genesis > ( )
56
56
. transpile :: < Txid > ( )
@@ -60,15 +60,15 @@ fn _rgb_commit_stl() -> Result<TypeLib, CompileError> {
60
60
}
61
61
62
62
fn _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
+ ] )
72
72
. transpile :: < GlobalOrd > ( )
73
73
. transpile :: < DbcProof > ( )
74
74
. compile ( )
0 commit comments