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

Fix DecentralandUtils.getAllAssetsForSale #328

Merged
merged 5 commits into from
Apr 18, 2019

Conversation

marcelomorgado
Copy link
Contributor

Issue link

#299

Auto-close the issue?

Closes #299

Types of changes

Bug fix (non-breaking change that fixes an issue)

Notes

  • DecentrandUtils.getAllAssetsForSale was returning overwrote and canceled sell orders.
  • With this fix we can back to show parcels on the app.

@pcowgill
Copy link
Member

@marcelomorgado Nicely done! I'll merge this once the tests finish running

@pcowgill
Copy link
Member

@marcelomorgado This test failed:

1) TasitAction.Contract
tasit-action:        Transactions (Actions) Subscription
tasit-action:          should emit error event when block reorganization occurs - tx confirmed twice:
tasit-action:       AssertionError: expected false to be true
tasit-action:       + expected - actual
tasit-action:       -false
tasit-action:       +true
tasit-action:       
tasit-action:       at Context.it (src/contract/Contract.test.js:500:7)

@marcelomorgado
Copy link
Contributor Author

@marcelomorgado This test failed:

1) TasitAction.Contract
tasit-action:        Transactions (Actions) Subscription
tasit-action:          should emit error event when block reorganization occurs - tx confirmed twice:
tasit-action:       AssertionError: expected false to be true
tasit-action:       + expected - actual
tasit-action:       -false
tasit-action:       +true
tasit-action:       
tasit-action:       at Context.it (src/contract/Contract.test.js:500:7)

Looking into that now

@marcelomorgado
Copy link
Contributor Author

I've rerun the test and it passes. Seems another non-deterministic test case.

@pcowgill
Copy link
Member

I've rerun the test and it passes. Seems another non-deterministic test case.

Ah ok, darn. Maybe flag that with an issue if there isn't one already?

@pcowgill pcowgill merged commit 8a63c5c into develop Apr 18, 2019
@pcowgill pcowgill deleted the feature/decentraland-utils-fix branch April 18, 2019 16:31
@marcelomorgado
Copy link
Contributor Author

I've rerun the test and it passes. Seems another non-deterministic test case.

Ah ok, darn. Maybe flag that with an issue if there isn't one already?

#329

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

Successfully merging this pull request may close these issues.

Tesnet: Fix land parcel purchase
2 participants