Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
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
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
5 years ago
Erik Marks
38f6550951
fix rinkeby spelling ( #7148 )
5 years ago
Whymarrh Whitby
4d88e1cf86
Enable indent linting via ESLint ( #6936 )
...
* Enable indent linting via ESLint
* yarn run lint:fix
5 years ago
Jenny Pollack
c6e84ccf45
account tracker - update accounts from balanceChecker contract ( #6181 )
...
* account tracker - update accounts from balanceChecker contract
* fall back to getBalance if the contract query fails
6 years ago
Dan Miller
eb32ccb0c7
Ensure account-tracker currentBlockNumber is set on first block update.
6 years ago
kumavis
a2654108be
account-tracker - only track blocks when there are activeControllerConnections
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
kumavis
91accee2c6
account-tracker - guard against empty block
7 years ago
kumavis
eb2423799d
controllers - account-tracker - refactor + update for eth-block-tracker@4
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
Dan
69920045e9
Minor fixes in a number of docs.
7 years ago
Dan
9f12c26d44
Even more documentation for various controllers and libs.
7 years ago
frankiebee
da209a9cfd
dont aggresively query account data
7 years ago
Dan Finlay
a10a600cce
Linted
7 years ago
Dan Finlay
d89394a7c9
Make account tracking much more reactive
7 years ago
Dan Finlay
75177ce34c
Make account tracking more reactive
...
We were doing a lot of conditional observation & updating.
Pulled out a bunch of that for generic observer/syncers.
7 years ago
kumavis
7d499df8e3
account-tracker - remove unused import
7 years ago
kumavis
89e690fc79
account-tracker - use new block-tracker block format
7 years ago
Dan Finlay
8d3fec42d0
Fix bug where block gas limit was incorrectly parsed.
7 years ago
Dan Finlay
2eca5455c0
Move obs store into account-tracker instead of inheriting
7 years ago
Dan Finlay
3bedcd3582
Restore blockGasLimit to account-tracker
7 years ago
Dan Finlay
11c8c07bfc
Refactor eth-store into account-tracker
...
EthStore was only being used for tracking account balances and nonces now, so I removed its block-tracking duties, renamed it account-tracker, and removed it as a dependency from `KeyringController`, so that KRC can go live on without a hard dep on it.
7 years ago
Dan Finlay
977405fc7d
Remove dead code from eth-store
7 years ago
Kevin Serrano
2b7d842498
Update gasblocklimit params with every block.
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
Kevin Serrano
1b7326048d
Add current block number and hash to the state.
8 years ago
kumavis
bc4efa1807
eth-store - update store state after manipulating
8 years ago
kumavis
99d6a329a2
eths-store - eagerly set current block
8 years ago
kumavis
b233e7e37c
eth-store - cbs default to noop
8 years ago
kumavis
73edfc9f31
eth-store - convert to obs-store subclass
8 years ago
kumavis
ef81bde98b
eth-store - emit update on new account add
8 years ago
Dan Finlay
6c99d09404
Fixed bugs with sanity-checking
...
- Was incorrectly calling some eth-query methods (left over from old local eth-query)
- Was still passing block to getAccount in addAccount
- Now emitting update only after all account balances are loaded, reducing UI update traffic.
8 years ago
Dan Finlay
a107b66854
Caught typo
8 years ago
Dan Finlay
18e6d266c1
Add descriptive comment
8 years ago
Dan Finlay
381a60695d
Linted
8 years ago
Dan Finlay
3588aabdf2
Removed reliance on eth-store internal custom eth-query
8 years ago
Dan Finlay
08351f801a
Move eth-store@1.1.0 into local repo.
8 years ago