As contributors to the Bitcoin RGB ecosystem, BitlightLabs has continued testing and validation work on RGB v0.12, with a particular focus on Layer 1 RGB20 asset functionality. This report details our latest test results, and documents our technical contributions to the RGB protocol implementation.
| Test Type | Total | Passed | Failed | Ignored |
|---|---|---|---|---|
issuance.rs |
10 | 8 | 0 | 2 |
stress.rs |
8 | 8 | 0 | 0 |
transfer.rs |
41 | 37 | 0 | 4 |
transfer_rgb21.rs |
2 | 0 | 0 | 2 |
| Total | 61 | 53 | 0 | 8 |
It’s important to note two key points:
The 8 ignored test cases fall into specific categories that are either pending feature completion or outside our current testing scope:
RGB21-related (2 tests in transfer_rgb21.rs and issuance.rs): Digital Collection functionality is still being refined and currently faces Inner(Genesis(Named(TypeName('DigitalCollection')), ScriptUnspecified)) errors
transfer.rs):
ln_transfers: Will be implemented as Lightning Network documentation and ecosystem integration maturescollaborative_transfer: To be completed as multi-wallet collaborative workflows and ecosystem integration maturestransfer.rs):
mainnet_wlt_receiving_test_asset: Requires interface adjustments for mainnet compatibilitysync_mainnet_wlt: Requires interface adjustments for mainnet compatibilityRGB v0.12 introduces robust support for blockchain reorganization scenarios. All tests related to blockchain reorganization now pass successfully, demonstrating:
RGB v0.12 demonstrates significant improvements in state transition validation, particularly in handling complex scenarios:
All stress tests now pass successfully, including:
back_and_forth::case_1 through case_8: Tests that validate multiple sequential transfers between walletsAll RGB20 and RGB25 asset issuance tests pass successfully, including:
During this testing phase, BitlightLabs identified and addressed several critical issues affecting RGB v0.12 stability:
BitlightLabs made significant contributions to the BP-Node blockchain indexer, which is a critical dependency for RGB v0.12. Our PR #11 introduced substantial improvements to transaction data analysis and storage:
These enhancements to BP-Node provide the essential blockchain indexing foundation required for RGB v0.12’s improved transaction tracking and reorganization handling capabilities.
Working closely with Dr. Maxim Orlovsky, we identified and fixed several critical issues affecting the RGB protocol implementation:
issue method wasn’t updating the in-memory contract collection after contract issuanceOur testing strategy for this phase focused on thoroughly validating RGB20 assets on Layer 1:
This focused approach has established a solid foundation for RGB20 assets on Bitcoin’s Layer 1.
As the RGB protocol ecosystem continues to evolve, we anticipate further expansion in the following areas:
Inner(Genesis(Named(TypeName('DigitalCollection')), ScriptUnspecified)) errorsln_transfers)collaborative_transfer)mainnet_wlt_receiving_test_asset, sync_mainnet_wlt)These enhancements will be incorporated as the protocol ecosystem matures, building upon the solid foundation we’ve established for Layer 1 RGB20 assets.
RGB v0.12 demonstrates comprehensive improvements in protocol design, particularly in handling complex Layer 1 scenarios like blockchain reorganization, state validation, and mixed descriptor types. The successful validation of these previously challenging scenarios reflects the protocol’s enhanced stability and technical maturity.
BitlightLabs has established comprehensive test coverage for RGB20 assets on Layer 1, providing a solid foundation for the RGB ecosystem’s continued growth and adoption.
Repository Links: