app icon indicating copy to clipboard operation
app copied to clipboard

Updating either dependency or maintainer splits to 0% on a project results in invalid TX

Open efstajas opened this issue 8 months ago • 0 comments

Repro:

  1. Have a project that has both dependency & maintainer splits
  2. Click Edit splits
  3. Set high-level percentage of either dependencies or maintainers to 0%
  4. Complete the flow and click create transaction
  5. Observe transaction fails to simulate because it tries to set split receiver(s) with weight 0

Fix:

  • Filter out splits with weight 0 before building the edit splits TX payload

efstajas avatar Jun 19 '24 13:06 efstajas