cashscript icon indicating copy to clipboard operation
cashscript copied to clipboard

Update the Mecenas example to cover contract bug

Open mr-zwets opened this issue 1 year ago • 1 comments

The Mecenas contract allows for multiple contract inputs but this can lead to behavior as pointed out in telegram, we should update the examples & docs, and also the the Mecenas contract used in the automated tests

mr-zwets avatar Mar 06 '25 14:03 mr-zwets

further the mecenas contract has the actual relative timelock logic commented out

@kiok46 noticed it would best to restore this now that we have working tests for MockNet with local evaluation. However, this raises a further question: how in the scenario can the UTXO age be set as to make succeeding and failing tests for relative locktime checks

mr-zwets avatar May 04 '25 13:05 mr-zwets