Skip to content

Conversation

estebanmino
Copy link
Contributor

@estebanmino estebanmino commented Dec 11, 2018

This PR solves an edge case when an asset is added manually, while at the same time is being auto detected in the background. To solve this a semaphore is included in addCollectible and addToken methods.

It also includes a refactor of some controllers related to assets and their tests.

@bitpshr bitpshr merged commit ca76728 into master Dec 11, 2018
@bitpshr bitpshr deleted the semaphore-assets-interaction branch December 11, 2018 12:57
mcmire pushed a commit to mcmire/core that referenced this pull request Jul 17, 2023
* Add tests for Json type

* Move test to src folder and get rid of test-d folder

* Add tests for Hex type too

* Exclude type tests from coverage
kanthesha pushed a commit that referenced this pull request Oct 11, 2023
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* refactor to controllers and tests related to assets

* add semaphore when adding assets

* run asset detection with safely execute

* use BN isZero
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* refactor to controllers and tests related to assets

* add semaphore when adding assets

* run asset detection with safely execute

* use BN isZero
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.

2 participants