Files: settlement_contract/src/lib.rs — test section
Problem: Same as Issues 123 and 124. set_default_rule behavior during pause is untested.
Fix: Add a test that pauses the contract and then calls set_default_rule. If a pause guard is added (see Issue 4), the test should expect a Paused panic.
Files:
settlement_contract/src/lib.rs— test sectionProblem: Same as Issues 123 and 124.
set_default_rulebehavior during pause is untested.Fix: Add a test that pauses the contract and then calls
set_default_rule. If a pause guard is added (see Issue 4), the test should expect aPausedpanic.