Skip to content

Conversation

@estebanmino
Copy link
Contributor

@estebanmino estebanmino commented Feb 2, 2021

There were 2 issues on the AccountTrackerController

  1. For some reason we were using ethjs-query only on this controller, I moved to eth-query since it was used for other controllers, including the extension's controllers
  2. We were seeing some cases where getBalance calls were stuck, making the polling process of this controller a heavy process. If the getBalance call was stuck, the controller never dropped it and since that process is every 500ms, made the mobile app behave poorly, specially on android. Now if the response doesn't get in time, the getBalance call will be dismissed and it will continue to the next poll iteration using safelyExecuteWithTimeout.

There's also a new util query that was on the TransactionController but now is used in AccountTrackerController too, so I made it one.

@estebanmino estebanmino marked this pull request as ready for review February 2, 2021 20:20
@estebanmino estebanmino requested a review from a team as a code owner February 2, 2021 20:20
@omnat
Copy link

omnat commented Feb 3, 2021

@rickycodes will review this PR, and include this in upcoming controllers release

rickycodes
rickycodes previously approved these changes Feb 4, 2021
@estebanmino estebanmino merged commit 4381e4d into develop Feb 4, 2021
@estebanmino estebanmino deleted the account-tracker branch February 4, 2021 19:34
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* fix

* test

* test

* prettier

* log

* safelyExecuteWithTimeouttest

* format
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* fix

* test

* test

* prettier

* log

* safelyExecuteWithTimeouttest

* format
Mrtenz pushed a commit that referenced this pull request Oct 16, 2025
* Request validation should not throw if verifyingContract is not defined in typed signature (#328) (#330)

* 14.0.1 (#331)

---------

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Mrtenz pushed a commit that referenced this pull request Oct 16, 2025
* Request validation should not throw if verifyingContract is not defined in typed signature (#328) (#330)

* 14.0.1 (#331)

* [14.x] fix: support ethermint's EIP712 implementation (#333)

* setting cosmos as allowed string for verifyingContract field

* fixed and linter

* readability

* Update condition to match main branch

* Remove duplicate copy of test

---------

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Version 14.0.2 (#339)

* Version 14.0.2

* Fix typo

Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>

---------

Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>

---------

Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
Co-authored-by: Michael Tsitrin <114929630+mtsitrin@users.noreply.github.com>
Co-authored-by: Michele Esposito <34438276+mikesposito@users.noreply.github.com>
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.

4 participants