Whymarrh Whitby
25fe4adaa7
Remove usages of xtend from the background scripts ( #7796 )
5 years ago
Mark Stacey
ac01c5c89a
Consistent jsdoc syntax ( #7755 )
...
* Specify type before parameter name
Various JSDoc `@param` entries were specified as `name {type}` rather
than `{type} name`.
A couple of `@return` entries have been given types as well.
* Use JSDoc optional syntax rather than Closure syntax
* Use @returns rather than @return
* Use consistent built-in type capitalization
Primitive types are lower-case, and Object is upper-case.
* Separate param/return description with a dash
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Whymarrh Whitby
6c1bce28ac
Fix a few instances of signature mismatches ( #7704 )
...
Co-Authored-By: Mark Stacey <markjstacey@gmail.com>
5 years ago
Whymarrh Whitby
f49bc58c09
Remove unused methods from the app/scripts/ ( #7692 )
5 years ago
Whymarrh Whitby
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
5 years ago
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
6 years ago
frankiebee
c10fb3ce3f
fix typo
6 years ago
frankiebee
7e64a578a4
recent-blocks - dont listen for block when on infura providers
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
brunobar79
a8f745f9fe
eslint --fix .
7 years ago
kumavis
49ef93b991
controllers - recent-blocks - guard against empty block
7 years ago
kumavis
ee800de025
controllers - recent-blocks - wrap block-tracker event in try-catch
7 years ago
kumavis
22e59af741
controllers - recent-blocks - ensure full blocks
7 years ago
kumavis
53b946362a
controllers - recent-blocks - doc update
7 years ago
kumavis
fa37ba3992
controllers - recent-blocks - pull first historical blocks in parallel
7 years ago
kumavis
3084dc47d1
recent-blocks - fix backfill blockNumber tracking
7 years ago
kumavis
41c04ef721
controllers - recent-blocks - fix pifyd setTimeout args
7 years ago
kumavis
623533ab15
recent-blocks - update for eth-block-tracker@4
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
Dan
9f12c26d44
Even more documentation for various controllers and libs.
7 years ago
bitpshr
7129d7c0f3
Require loglevel singleton in each module that uses it
7 years ago
Dan Finlay
7cb66ce4cb
Prefer passing a provider over an ethQuery instance
7 years ago
Dan Finlay
4a9dad7c40
Improve gas price estimation by backfilling recent-blocks
...
When first initializing, recent-block controller now back-fills up to
its desired history length. This makes estimated gas prices reflect a
longer recent history, even when first switching to a new network.
Fixes #2925
7 years ago
Dan Finlay
30b45c8a38
Do not log whole txs in recent block controller.
...
Only record gas prices, because that has a current use.
7 years ago
Dan Finlay
10ff77477c
Add Recent Blocks controller
...
Tracks recent blocks, useful for estimating recent successful gas
prices.
7 years ago