Whymarrh Whitby
6ab12001e3
Fix prefer-destructuring issues ( #9263 )
...
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring ) for more information.
This change enables `prefer-destructuring` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
c11888f287
Fix no-empty-function issues ( #9216 )
...
See [`no-empty-function`](https://eslint.org/docs/rules/no-empty-function ) for more information.
This change enables `no-empty-function` and fixes the issues raised by the rule.
4 years ago
Erik Marks
948a4c8316
fixup! call initializeProvider where necessary
4 years ago
Erik Marks
30a59bb867
call initializeProvider where necessary
4 years ago
Erik Marks
93f695d3c6
fix timing-reliant network controller test
4 years ago
Erik Marks
826d1462f0
fixup! call initializeProvider where necessary
4 years ago
Erik Marks
b3e5befe74
call initializeProvider where necessary
4 years ago
Erik Marks
5cb22ee8df
fix timing-reliant network controller test
4 years ago
Erik Marks
f97f95cc86
Fix kovan chain ID constant ( #8913 )
4 years ago
Erik Marks
f748664638
Cleanup network enums ( #8627 )
...
* cleanup & consolidate network enums
5 years ago
Whymarrh Whitby
4f3fc95d50
Update ESLint rules for test suite ( #8023 )
...
* Use @metamask/eslint-config@1.1.0
* Use eslint-plugin-mocha@6.2.2
* Mark root ESLint config as root
* Update Mocha ESLint rules with shared ESLint config
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
Frankie
514be408f8
I#6704 eth_getTransactionByHash will now check metamask's local history for pending transactions ( #7327 )
...
* tests - create tests for pending middlewares
* transactions - add r,s,v values to the txMeta to match the JSON rpc response
* network - add new middleware for eth_getTransactionByHash that the checks pending tx's for a response value
* transactions/pending - use getTransactionReceipt for checking if tx is in a block
* meta - file rename
5 years ago
Paul Bouchon
0db0a187c8
feature: add Goerli support ( #6459 )
6 years ago
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
brunobar79
0da41263ac
fix warning for unit tests
6 years ago
kumavis
2b54d948da
test - remove .only from unit tests
7 years ago
tmashuang
13ebb0b455
Moved loose some loose test files to sub folders
7 years ago
kumavis
eaa5a48c91
test - unit - network - get providerProxy via public method
7 years ago
kumavis
d2aa36f866
test - network controller - remove tests for deprecated APIs + update tests
7 years ago
Alexander Tseung
9e41f58af2
Clean up network config
7 years ago
Thomas
ae795c9770
Persist rinkeby.infura.io and clean nock after
7 years ago
Thomas
f9de87af51
Using noop to not lose it
7 years ago
Thomas Huang
8f7094a73d
Network controller nock
7 years ago
Thomas Huang
33182efb13
Offline testing
7 years ago
kumavis
8da0d0b28a
Revert "NetworkController refactor for new EthClient interface"
7 years ago
kumavis
0f8d7dacb1
network-controller - use obj-proxy for providerProxy
7 years ago
kumavis
f2d9b75e94
network controller - refactor to use _setProvider
7 years ago
frankiebee
4f887c6a62
fix test
7 years ago
frankiebee
b654eb9b1f
wrap block tracker in events proxy
7 years ago
kumavis
da16f39626
Merge branch 'master' of github.com:MetaMask/metamask-extension into greenkeeper/initial
7 years ago
kumavis
4445ba1569
tx cont - add argument for provider constructor
7 years ago
Thomas Huang
13e6672028
Linting
8 years ago
frankiebee
e23c0f98fa
clean up test
8 years ago
frankiebee
db982cf795
stop polling when switching networks
8 years ago
frankiebee
243eeff7cb
Fix for tests
8 years ago