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

Market actor should batch datacap token transfers #662

Closed
anorth opened this issue Sep 15, 2022 · 2 comments · Fixed by #722
Closed

Market actor should batch datacap token transfers #662

anorth opened this issue Sep 15, 2022 · 2 comments · Fixed by #722
Labels
enhancement New feature or request P2

Comments

@anorth
Copy link
Member

anorth commented Sep 15, 2022

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.

@jennijuju
Copy link
Member

// For verified deals, transfer datacap tokens from the client

@ZenGround0
Copy link
Contributor

From discussion today we're going to defer including this until post nv17

@anorth anorth moved this to 📋 Backlog in Network v18 Nov 23, 2022
@anorth anorth moved this from 📋 Backlog to 🏗 In progress in Network v18 Nov 23, 2022
@anorth anorth moved this from 🏗 In progress to 👀 In review in Network v18 Nov 23, 2022
@jennijuju jennijuju removed this from Network nv17 Nov 25, 2022
@jennijuju jennijuju linked a pull request Nov 25, 2022 that will close this issue
anorth pushed a commit that referenced this issue Jan 18, 2023
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Network v18 Jan 18, 2023
shamb0 pushed a commit to shamb0/builtin-actors that referenced this issue Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants