Commit 129fcca
committed
[mfp] allow partial failures in soft bundles (#23910)
## Description
Soft bundles can include transactions from multiple sources. Permitting
partial failure seems necessary, where some transactions may fail
without invalidating the entire request. Otherwise, a single source
submitting invalid transactions can deterministically cause the bundle
request to fail.
When partial failures are allowed, each transaction must handle the
situations in which some transactions in the bundle have been rejected
or already executed at submission. This is the case in existing soft
bundle usages pre-MFP.
## Test plan
CI1 parent e44db8c commit 129fcca
File tree
2 files changed
+21
-36
lines changed- crates/sui-core/src
- unit_tests
2 files changed
+21
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
631 | 635 | | |
632 | 636 | | |
633 | 637 | | |
| |||
701 | 705 | | |
702 | 706 | | |
703 | 707 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | 741 | | |
751 | 742 | | |
752 | 743 | | |
| |||
785 | 776 | | |
786 | 777 | | |
787 | 778 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | | - | |
792 | | - | |
793 | | - | |
794 | | - | |
795 | | - | |
796 | | - | |
797 | 779 | | |
798 | 780 | | |
799 | 781 | | |
| |||
803 | 785 | | |
804 | 786 | | |
805 | 787 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
810 | | - | |
| 788 | + | |
811 | 789 | | |
812 | 790 | | |
813 | 791 | | |
| |||
Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
587 | | - | |
| 586 | + | |
| 587 | + | |
588 | 588 | | |
589 | | - | |
590 | | - | |
591 | | - | |
592 | | - | |
593 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
594 | 593 | | |
595 | | - | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
596 | 603 | | |
0 commit comments