-
Notifications
You must be signed in to change notification settings - Fork 79
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
Market actor should batch datacap token transfers #662
Labels
Comments
builtin-actors/actors/market/src/lib.rs Line 359 in b9f6b74
|
From discussion today we're going to defer including this until post nv17 |
This was referenced Jan 12, 2023
anorth
pushed a commit
that referenced
this issue
Jan 18, 2023
Co-authored-by: anorth <[email protected]> Closes #662
shamb0
pushed a commit
to shamb0/builtin-actors
that referenced
this issue
Jan 31, 2023
Co-authored-by: anorth <[email protected]> Closes filecoin-project#662
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The market actor currently makes datacap token transfers once per deal, even when many deals are published at once. This is so that it runs out of datacap balance/allowance, some deals can still succeed. A batch would simply fail if the token balance was insufficient.
The market could instead fetch the balance/allowance, and then make a single transfer for a subset of deals that falls within the datacap balance available.
The text was updated successfully, but these errors were encountered: