Skip to content

Resubmit stuck earn transactions #147

Description

@uniyalabhishek

Follow-up to #141.

  • An earn tx whose receipt never appears leaves its row pending, which blocks the earn queue and idle deployment for its pool.
  • The EVM sender is the pool-admin account (the LP account when POOL_ADMIN_SECRET_KEY is unset), so recovery can resubmit with a fresh sender nonce. A withdraw's pool transfer is signed by the earn pool account, so it can be re-signed with a fresh accounting nonce.
  • The user's nonce cannot be refreshed: the accounting transfer nonce on deposit and the EarnManager withdraw nonce on withdraw. It makes a duplicate landing revert, so a resubmit cannot apply twice.
  • A consumed user nonce can mean the original landed. Recovery must check for that before marking the row failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions