1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-12 11:28:56 +00:00
Commit Graph

214 Commits

Author SHA1 Message Date
Szymon Lesisz
647d196e1e fix for '0' gasPrice from web3
if i had some accounts already saved and initSendForm requested "gasPrice" from web3 which didn't exists in this moment yet, returned value was '0'.

This commit fixes that by returning defaultGasPrice instead of '0' and also initializes web3 during Backend.subscribe (before account is shown)
2018-10-03 14:42:52 +02:00
Szymon Lesisz
25f41bd163 fix router actions 2018-10-02 17:33:49 +02:00
Szymon Lesisz
2e4acf3ee8 renamed "acquiring" to "acquiringDevice" in connect reducer 2018-10-02 10:05:51 +02:00
Szymon Lesisz
7083c6e0d1 add "reject" method to PendingTxActions (not implemented yet) 2018-10-01 15:10:06 +02:00
Szymon Lesisz
0fbbdf7b71 changed "observeChanges" utility method 2018-10-01 15:10:06 +02:00
Szymon Lesisz
e3816be8d2 fix for reducerUtils.observeChanges 2018-10-01 15:10:06 +02:00
Szymon Lesisz
f0e0b4fee2 rename selectedAccount.visible to shouldRender 2018-10-01 15:10:06 +02:00
Szymon Lesisz
b30c303d5a rename constant 2018-10-01 15:10:05 +02:00
Szymon Lesisz
0c0f9e7ac8 rewritten actions 2018-10-01 15:09:45 +02:00
Szymon Lesisz
2d4f3e8232 fixed edgecase: handle disconnect device in BL/initialized mode OR without features 2018-10-01 13:21:58 +02:00
Szymon Lesisz
51e65ef31f router fix
fixed #84
2018-09-25 12:19:09 +02:00
Vasek Mlejnsky
f8bcb0a357 Minor code cleanup changes 2018-09-24 10:07:44 +02:00
Szymon Lesisz
957e02f313 eslint 2018-09-23 09:13:32 +02:00
Szymon Lesisz
590e0ca642 eslint fixes 2018-09-23 09:13:32 +02:00
Szymon Lesisz
6cf3cb4bdb refactoring SendFromActions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
52cf4f1e8e clearing sendForm and sessionStorage references from SelectedAccountActions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
1846d936e2 updated SessionStorage actions 2018-09-23 09:13:32 +02:00
Szymon Lesisz
88d2a65340 BlockchainAction "estimateGasLimit" with proxied responses 2018-09-23 09:13:32 +02:00
Szymon Lesisz
51253665be change blockchain/web3 "estimateGasLimit" to return string 2018-09-23 09:13:31 +02:00
Szymon Lesisz
b36b9667e4 eslint ./src/actions 2 2018-09-23 09:13:09 +02:00
Szymon Lesisz
ef235e6ab8 eslint ./src/actions 2018-09-23 08:49:43 +02:00
Vladimir Volek
ddc190d6dc
Merge pull request #69 from satoshilabs/fix/router
Fix/router
2018-09-21 14:05:19 +02:00
Szymon Lesisz
d9239495fa eslint fixes 2018-09-21 14:01:41 +02:00
Vaclav Mlejnsky
2f988beb05
Merge branch 'master' into fix-send-form-css 2018-09-21 13:32:37 +02:00
Szymon Lesisz
1e4a6c3c21 flowtype fix 2018-09-21 12:41:59 +02:00
Szymon Lesisz
012e222c25 share router patterns between ./src/view/index and RouteActions 2018-09-21 12:41:13 +02:00
Szymon Lesisz
9ecbdc5e38 refactoring RouterService 2018-09-20 23:05:48 +02:00
Szymon Lesisz
6405c13da8 move saving SessionStorage from component to SelectedAccountAction 2018-09-20 23:04:03 +02:00
Szymon Lesisz
13a9e47c73 fix for ACCOUNT.DISPOSE action called + few actions moved from RouterService 2018-09-20 20:26:58 +02:00
Szymon Lesisz
ae9b12f35d remove leftovers from RouterService 2018-09-20 20:25:34 +02:00
Szymon Lesisz
900c3961cd implement RouterActions in services and other actions 2018-09-20 18:26:45 +02:00
Szymon Lesisz
46a07b756c add RouterActions 2018-09-20 18:24:28 +02:00
Vasek Mlejnsky
3202ba2f6d Fix pending transactions styling 2018-09-20 09:37:17 +02:00
Szymon Lesisz
93b70c1f0a fixed address validation
added checksum validation if address contains any uppercase letter
2018-09-20 08:59:54 +02:00
Szymon Lesisz
c9b9359e70 fix for disappearing accounts balance after block is mined 2018-09-19 18:46:50 +02:00
Szymon Lesisz
4ea7f68250 using connect test version from sisyfos.trezor.io 2018-09-18 16:43:00 +02:00
Szymon Lesisz
0029a4c819 remove unused import 2018-09-18 15:58:15 +02:00
Szymon Lesisz
e512812eb4 unifying DiscoveryResult type with EthereumAccount from 'trezor-connect' 2018-09-18 11:27:41 +02:00
Szymon Lesisz
38669a5dfb remove ethereum-input-data-decoder package (not used for now) 2018-09-18 11:17:07 +02:00
Szymon Lesisz
d4bcf160d2 remove console.log 2018-09-18 11:12:00 +02:00
Szymon Lesisz
4c9f5468b3 cleaning up flowtype (DiscoveryResult + EthTxRequest) 2018-09-18 11:01:16 +02:00
Szymon Lesisz
892f4fe7c0 TrezorConnect BLOCKCHAIN events returns CoinInfo object 2018-09-14 16:46:17 +02:00
Szymon Lesisz
ab2dddbf44 renamed blockchain constants 2018-09-14 16:44:24 +02:00
Szymon Lesisz
6740b7198d update account tokens on each block 2018-09-14 12:20:59 +02:00
Szymon Lesisz
7f11e7207b remove comments 2018-09-13 19:31:32 +02:00
Szymon Lesisz
d4c9db093c updateGasPrice on block mined 2018-09-13 19:21:40 +02:00
Szymon Lesisz
f0d7de8aa1 ethereumGetAccountInfo only if there are some accounts 2018-09-13 14:51:45 +02:00
Szymon Lesisz
8884d65c8f removed unused action 2018-09-13 14:43:02 +02:00
Szymon Lesisz
1379a2e745 update actions and reducers 2018-09-13 14:40:41 +02:00
Szymon Lesisz
9293a33b57 update constants 2018-09-13 14:38:52 +02:00
Szymon Lesisz
e2f397d241 local build TrezorConnect endpoint 2018-09-13 09:32:41 +02:00
Szymon Lesisz
6354332e40 fixed conflicts after merge 2018-09-12 16:59:31 +02:00
Szymon Lesisz
a6ac8239f0 before merge 2018-09-12 16:37:57 +02:00
Szymon Lesisz
26978fe984 web3 actions splitted to blockchain actions 2018-09-12 16:37:57 +02:00
Szymon Lesisz
cd48bd2cc0 blockchain actions and reducer 2018-09-12 16:31:23 +02:00
Szymon Lesisz
b5a885907b add Web3Service 2018-09-12 16:31:23 +02:00
Szymon Lesisz
414d0b0d01 removed web3 references 2018-09-12 16:31:23 +02:00
Szymon Lesisz
99da867617 fixed flow issues 2018-09-12 16:27:45 +02:00
Vasek Mlejnsky
58823e3a81 Fix some eslint errors 2018-09-06 17:04:28 +02:00
Vasek Mlejnsky
354a16f0c0 Fix some eslint errors 2018-09-05 16:17:50 +02:00
Vladimir Volek
bc2d03a7ae Added public folder, adjust webpack to new configuration 2018-09-04 17:10:52 +02:00
Vasek Mlejnsky
07b6c9f486 Change shape of returned object & temporary fix for async react-select 2018-08-29 11:36:07 +02:00
Vasek Mlejnsky
571522401e Fix imports & flow errors 2018-08-28 08:18:07 +02:00
Vladimir Volek
424be08e7c Removed /js folder 2018-08-27 17:15:22 +02:00