Skip to content

Commit

Permalink
fix blank transfer failures on opret/tapret dichotomies
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jan 6, 2025
1 parent 9e2de76 commit 97b4ea2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion rgb-std
6 changes: 0 additions & 6 deletions tests/transfers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1320,12 +1320,9 @@ fn send_to_oneself() {
}

#[rstest]
#[ignore = "fix needed"] // https://github.com/RGB-WG/rgb-std/issues/284
#[case(CloseMethod::OpretFirst, CloseMethod::OpretFirst)]
#[case(CloseMethod::TapretFirst, CloseMethod::TapretFirst)]
#[ignore = "fix needed"] // https://github.com/RGB-WG/rgb-std/issues/284
#[case(CloseMethod::OpretFirst, CloseMethod::TapretFirst)]
#[ignore = "fix needed"] // https://github.com/RGB-WG/rgb-std/issues/284
#[case(CloseMethod::TapretFirst, CloseMethod::OpretFirst)]
fn blank_tapret_opret(#[case] close_method_0: CloseMethod, #[case] close_method_1: CloseMethod) {
println!("close_method_0 {close_method_0:?} close_method_1 {close_method_1:?}");
Expand Down Expand Up @@ -1354,9 +1351,6 @@ fn blank_tapret_opret(#[case] close_method_0: CloseMethod, #[case] close_method_
None,
);

// send opret, blank opret: pay fails with Composition(Stock("the spent UTXOs contain too many seals which can't fit the state transition input limit."))
// send opret, blank tapret: pay fails with Composition(Stock("the spent UTXOs contain too many seals which can't fit the state transition input limit."))
// send tapret, blank opret: pay fails with Composition(Construction(NoInputs))
wlt_1.send(
&mut wlt_2,
TransferType::Blinded,
Expand Down

0 comments on commit 97b4ea2

Please sign in to comment.