Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fusdc: ForwardFailed state #10625

Open
0xpatrickdev opened this issue Dec 4, 2024 · 0 comments · May be fixed by #10729
Open

fusdc: ForwardFailed state #10625

0xpatrickdev opened this issue Dec 4, 2024 · 0 comments · May be fixed by #10729
Assignees
Labels
enhancement New feature or request

Comments

@0xpatrickdev
Copy link
Member

What is the Problem Being Solved?

In FUSDC, the contact does not distinguish between failed forwards and successful ones.

Description of the Design

  • do not call .forwarded () on initiation of forward
    • we considered a Forwarding state, but the extra vstorage write seems unnecessary
  • transition to Forwarded after the transfer vow has fulfilled
  • transition to ForwardFailed after transfer vow has rejected

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants