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

Revert "avoid using locked gas objects (#1768)" #1806

Merged
merged 1 commit into from
May 5, 2022
Merged

Revert "avoid using locked gas objects (#1768)" #1806

merged 1 commit into from
May 5, 2022

Conversation

lxfind
Copy link
Contributor

@lxfind lxfind commented May 5, 2022

This will resolve #1804

This reverts commit 1ee582c.

The issue is that it tries to read all transaction locks in the gateway to pick gas objects, but that basically means walking through every single object in the gateway, which would time out.

@lxfind lxfind enabled auto-merge (squash) May 5, 2022 04:46
@oxade
Copy link
Contributor

oxade commented May 5, 2022

I did not realize lock entries would exist even for objects which are not currently locked

@lxfind
Copy link
Contributor Author

lxfind commented May 5, 2022

I did not realize lock entries would exist even for objects which are not currently locked

I forgot too!

@lxfind lxfind merged commit 3a791a9 into main May 5, 2022
@lxfind lxfind deleted the revert-1768 branch May 5, 2022 04:53
@666lcz
Copy link
Contributor

666lcz commented May 5, 2022

@lxfind , should we also merge this to the devnet branch?

@lxfind
Copy link
Contributor Author

lxfind commented May 5, 2022

@lxfind , should we also merge this to the devnet branch?

Already did!

longbowlu pushed a commit that referenced this pull request May 12, 2022
punwai pushed a commit that referenced this pull request Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wallet locked up after stress testing merge-coin
4 participants