Commit 2a4829b
fix(ic-icrc1-test-utils): handle AuthorizedMint and AuthorizedBurn in match arms
Non-exhaustive pattern errors after adding the two new Operation variants.
- effective_fee match: return None (no fee for authorized supply changes)
- balance tracking: mirror Mint/Burn credit/debit behaviour
- update_valid_allowance_from: check affected account validity
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent fe42624 commit 2a4829b
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
610 | 617 | | |
611 | 618 | | |
612 | 619 | | |
| |||
637 | 644 | | |
638 | 645 | | |
639 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
640 | 653 | | |
641 | 654 | | |
642 | 655 | | |
| |||
0 commit comments