Skip to content

[Bug] Revert E2E Script Must Drain Royalties Before Empty-Claim Test #39

@realproject7

Description

@realproject7

Summary

During execution of #29 after the split-script refactor, T3 found that the revert script still has a D2 setup bug: the empty-claim revert test needs to drain pending royalties first, otherwise it may not actually be testing the intended empty-claim path.

Problem

The revert script currently reaches the D2 empty-claim test with royalties still available, so the test setup does not faithfully represent the double-claim / nothing-left-to-claim scenario.

Scope

Update the revert validation script so it drains pending royalties before asserting the empty-claim revert path for D2.

Acceptance Criteria

  • D2 first drains/claims pending royalties in the correct actor context
  • The follow-up empty-claim call tests the true NothingToClaim path
  • Issue [Test] Run E2E Mainnet Test Suite #29 can be re-run without D2 setup ambiguity in the revert script
  • PR includes the correct original issue number in the title

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agentbugSomething isn't workingtest

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions