Commit Graph

424 Commits

Author SHA1 Message Date
apanizo 16674b79a6 WA-232 Sending back validating form prop to stepper 2018-07-25 11:10:36 +02:00
apanizo fa857fc21a WA-232 Refactor AddToken test 2018-07-24 10:18:03 +02:00
apanizo 2ede2aceb2 WA-232 Increasing time in tests 2018-07-19 13:10:17 +02:00
apanizo 3d0bcf2df5 WA-232 Increasing time in tests 2018-07-19 13:02:09 +02:00
apanizo 1e57ed5d53 WA-232 DOM test for simulating adding a custom ERC20 token 2018-07-19 12:53:37 +02:00
apanizo 69ef967481 WA-232 Fixing tests 2018-07-19 11:04:04 +02:00
apanizo da6345b1cc WA-232 fetching balance of activated custom tokens 2018-07-18 12:14:38 +02:00
apanizo 95caa29f69 WA-232 set token's address as PK in redux 2018-07-18 10:11:35 +02:00
apanizo 5d49bb946e WA-232 Add custom token logic 2018-07-18 10:05:44 +02:00
apanizo c86aee108c WA-232 Add Token component 2018-07-17 13:39:56 +02:00
apanizo bca38c8c07 WA-232 Adding add Token button 2018-07-17 13:38:51 +02:00
apanizo 3919834f6d WA-232 updating new Flow token property in Safe component 2018-07-17 13:37:34 +02:00
apanizo 2049c39ff4 WA-232 Adding prefetch on each step initial props on Stepper component 2018-07-17 13:35:43 +02:00
apanizo 75fe910d08 WA-232 Adding ERC20 tokens contracts without human readable properties like synmbol or name 2018-07-17 13:30:55 +02:00
apanizo 9261782692 WA-232 Update final-form libraries 2018-07-17 13:29:42 +02:00
apanizo 67b286ad26 WA-232 Add form URL validator 2018-07-16 16:52:53 +02:00
apanizo 30baac190d WA-232 Refactor withdraw test 2018-07-13 13:20:11 +02:00
apanizo bcece2e72e WA-232 Refactor jest.fn().mockImplementation for fetching ERC20 tokens in tests 2018-07-13 12:35:38 +02:00
apanizo c7a2a2ae52 WA-232 Disabling cog while tokens get loaded 2018-07-13 09:28:04 +02:00
apanizo 9f99d007ca WA-232 Test localStorage's tokens 2018-07-13 09:20:34 +02:00
apanizo 3fa7a10a16 WA-232 Improvement: Only fetch balance of activated tokens. Included Tests 2018-07-12 18:31:31 +02:00
apanizo 7de871ba81 WA-232 Only fetching balance of active tokens 2018-07-12 09:48:58 +02:00
apanizo a5b03007a9 WA-232 Fix Enabling Withdraw button when there is ETH funds 2018-07-11 13:46:33 +02:00
apanizo 84057d03ee WA-232 Storing in localStorage active tokens 2018-07-11 13:01:58 +02:00
apanizo be9bfe0df9 WA-232 Using custom fetch and active tokens extractor 2018-07-11 13:01:08 +02:00
apanizo 0f4d5cb33a WA-232 Created localStorage tokens utility class 2018-07-11 12:59:50 +02:00
apanizo ece4e4a5bf WA-232 Enabling navigation from settings to safe 2018-07-10 17:17:04 +02:00
apanizo 3afefea0a7 WA-232 Displaying safe's token in settings route 2018-07-10 16:48:20 +02:00
apanizo 0b5d14c8f2 WA-232 tokens route 2018-07-10 15:20:55 +02:00
apanizo d7193dcc9a WA-232 Do not update redux if error is raised fetching balance or safe information 2018-07-06 11:06:32 +02:00
apanizo afe7d4fc2f WA-232 Reusing standard token 2018-07-05 17:56:36 +02:00
apanizo 6467a1a0d6 WA-232 Created safeHelper test class for fetching safe from store 2018-07-05 16:01:50 +02:00
apanizo 4a4701c444 WA-232 Disable expand balance if no balances loaded 2018-07-05 15:54:55 +02:00
apanizo a64a6a0768 WA-232 Improving speed 2018-07-05 14:28:23 +02:00
apanizo c9316686aa WA-232 Allow perform different token movements 2018-07-05 12:00:49 +02:00
apanizo c6995ad8fb WA-232 Passing symbol as a prop in SendToken's review tx component 2018-07-05 11:34:02 +02:00
apanizo fb8c48b6b1 WA-232 Adding symbol to inLimit validator 2018-07-05 11:25:40 +02:00
apanizo 3c550ec446 WA-232 Display funds without decimals 2018-07-05 11:20:18 +02:00
apanizo 5ccf024dc2 WA-232 Making sync fulfillment of Safe Forms per feature 2018-07-05 09:39:38 +02:00
apanizo b510d96ac9 WA-232 Increase time to deploy safe and move tokens 2018-07-04 16:51:41 +02:00
apanizo ca53182b65 WA-232 Fix tests 2018-07-04 16:31:52 +02:00
apanizo c13711906d WA-232 Refactor add & remove owners DOM tests (from 55 seconds to 5 seconds) 2018-07-04 15:36:27 +02:00
apanizo 91b2fa8e0e WA-232 Reducing executing time of transactions DOM tests by 40% 2018-07-04 10:51:57 +02:00
apanizo c40488493d WA-232 Remove old AddTransaction feature, keeping consisten move tokens feature 2018-07-04 09:40:54 +02:00
apanizo 7859e552f0 WA-232 send tokens funtionality move to balance list 2018-07-04 09:39:08 +02:00
apanizo a59ca97c42 WA-232 Moving createTransaction file to src/wallets 2018-07-04 09:36:58 +02:00
apanizo 4f603fa441 WA-232 Move Transaction History service tests to src/tests 2018-07-03 13:43:32 +02:00
apanizo dd606940fa WA-232 Added move ERC20 Tokens tests 2018-07-03 13:23:26 +02:00
apanizo 731e591218 WA-232 Adding move tokens feature to Safe route view 2018-07-03 13:22:16 +02:00
apanizo 3fbf63e257 WA-232 Adding button to move funds in Safe's BalanceInfo component 2018-07-03 13:21:14 +02:00
apanizo 269aa54f37 WA-232 Creating SendToken component 2018-07-03 13:20:14 +02:00
apanizo 2419a43364 WA-232 Refactor 0x to a EMPTY_DATA constant 2018-07-03 13:17:41 +02:00
apanizo 1cdbf2b2f7 WA-232 Refactor code avoiding DRY 2018-07-02 12:22:07 +02:00
apanizo 624b39717f WA-232 getting ERC 20 Token as a singleton call 2018-07-02 12:16:57 +02:00
apanizo 677e7649d6 WA-232 Create moveTokens.helper class for simulating a tx at DOM level 2018-07-02 12:14:05 +02:00
apanizo 477e7002f3 WA-232 Refactor safe tests improving its speed 2018-06-29 17:39:09 +02:00
apanizo bb566def6a WA-232 Fix tests adding new index 2018-06-29 16:11:04 +02:00
apanizo 667fae279d WA-232 Avoid re-renderings when updating safe balances 2018-06-29 15:41:29 +02:00
apanizo 06e8b0153e WA-232 Showing Token icons and their balance 2018-06-29 13:50:46 +02:00
apanizo cc1cd84c1f WA-232 Adding dummy token list to safe view 2018-06-29 13:24:17 +02:00
Adolfo Panizo 7dee0170c8 WA-232 Fix balance integration in selectors 2018-06-28 19:13:59 +02:00
Adolfo Panizo 9ca0f2e41a WA-232 Fix get balance of custom tokens 2018-06-28 16:47:01 +02:00
apanizo 3e2636b02b WA-232 Partial commit fetching balances 2018-06-27 17:28:53 +02:00
apanizo 91f3855e97 WA-232 Fixing flow errors 2018-06-26 16:56:28 +02:00
apanizo 847033a5c8 WA-232 Fix Flow errors regarding final form validator Field 2018-06-26 13:46:17 +02:00
apanizo f0cde75151 WA-232 Fix final-form types 2018-06-26 13:00:31 +02:00
apanizo b2a20f2147 Return fixed gas price in testing environment 2018-06-26 12:29:55 +02:00
apanizo 7e76a20920 WA-438 Giving some time to render the add multisig tx form in test 2018-06-22 13:46:24 +02:00
apanizo d58bcf9bb8 WA-438 Add withdrawn transactions to list 2018-06-22 13:13:52 +02:00
apanizo 63bba3ccd5 WA-438 Fix tests 2018-06-22 10:44:49 +02:00
apanizo f8e7b13095 WA-438 Fix daily limit module address 2018-06-21 17:01:15 +02:00
apanizo 26e6712a7d WA-438 Implementation of edit daily limit 2018-06-21 15:49:43 +02:00
apanizo ead7239048 WA-438 Refactor function, easier to read 2018-06-20 17:12:58 +02:00
apanizo cb721cb6bd Increasing time 2018-06-20 15:04:52 +02:00
apanizo 53d1bda918 Increasing time for deploying a safe in tests 2018-06-20 14:11:07 +02:00
apanizo 991445fef8 WA-234 includes headers when fetching gas price 2018-06-20 13:31:23 +02:00
apanizo 7d595b4be2 WA-234 change to https testUrl JEST param for avoid CORS problems 2018-06-20 12:57:58 +02:00
Adolfo Panizo 6bab62a0a9
Override gas station (#42)
WA-234 Fix CORS problem on travis testing
2018-06-20 12:44:03 +02:00
Adolfo Panizo ab109d2801
WA-234 Fix gas calculation when removing owners (#41) 2018-06-20 10:09:14 +02:00
apanizo 3b2d0948b0 WA-234 Typo 2018-06-15 10:59:12 +02:00
apanizo c0a0f96af0 WA-234 Fix tests 2018-06-15 10:56:26 +02:00
apanizo 704d6cc083 WA-234 Wait until transactions are mined 2018-06-15 08:40:45 +02:00
apanizo 9d27d7a7a7 WA-234 Refactor 1 owner 1 threshold DOM safe test 2018-06-14 17:33:50 +02:00
apanizo 1e51a48250 WA-234 Fix unnecesary re-renders when storing again just fetched safe 2018-06-13 15:48:43 +02:00
apanizo 161b0976ba WA-234 Fix tests after unpgrading material ui 2018-06-12 12:03:52 +02:00
apanizo 3cccc34ea7 WA-234 Include warning message when removing owner if there are pending transactions 2018-06-12 10:38:52 +02:00
apanizo 9bef7f3894 WA-234 Adding pendingTransactions selector 2018-06-12 10:37:59 +02:00
apanizo 442723cfad WA-234 Creating the Snackbar Content component 2018-06-12 10:37:39 +02:00
apanizo 31a0c9a5f2 WA-234 Disabling decrease on edge conditions when removing owners 2018-06-12 08:59:40 +02:00
apanizo a213007068 WA-234 Adding RemoveComponent into Safe dashboard 2018-06-11 17:28:43 +02:00
apanizo 67e170a847 WA-234 RemoveOwner component 2018-06-11 17:28:04 +02:00
apanizo 5fcf87f635 WA-234 Updating material-ui react react-dom libraries 2018-06-11 17:26:01 +02:00
apanizo 24cac51be3 WA-234 Adding remove owner button 2018-06-11 10:08:33 +02:00
apanizo f1ff0ca17f WA-234 Change Add Onwer review component and say Increase threshold? 2018-06-08 12:36:24 +02:00
apanizo 509134499c WA-234 See list of TXs after changing the Threshold 2018-06-08 12:34:58 +02:00
apanizo 666683c086 WA-234 Giving more time to DOM test to refresh the DOM after creating a safe 2018-06-08 11:24:45 +02:00
apanizo 70140df4db WA-234 Adding log errors when saving data in localstorage 2018-06-08 11:02:02 +02:00
apanizo 577d7e8749 WA-238 Decoupling storage of names in a separate step in local host 2018-06-08 10:26:01 +02:00
apanizo 9928fa2a6e WA-234 Fixing tests 2018-06-08 09:31:19 +02:00
apanizo 801dde497e WA-234 removing threshold and withdrawn actions in favor of fetchSafe 2018-06-08 09:15:57 +02:00
apanizo 860fb300ea WA-234 Provisional metamask safety check 2018-06-07 22:43:52 +02:00
apanizo f098d60e28 WA-234 Stop propagating event on add owner 2018-06-07 22:41:18 +02:00
apanizo 2da7eab781 WA-234 fetch safe info regularly in safe view 2018-06-07 22:25:32 +02:00
apanizo aec0b50200 WA-234 Loading safes info from Ethereum Node 2018-06-07 22:10:10 +02:00
apanizo 3428329398 WA-234 Refactor get safe contract instance 2018-06-07 21:47:36 +02:00
apanizo 6cf958c1b5 WA-234 Changing confirmations to threshold 2018-06-07 21:45:23 +02:00
apanizo 260e7e1280 WA-234 Adding Review process when changing threshold 2018-06-07 15:29:06 +02:00
apanizo 4b2e0d3beb WA-238 Add Owner logic phase not updated the UI 2018-06-07 13:30:43 +02:00
apanizo 2609d30058 WA-238 Add Checkbox form component 2018-06-07 13:28:53 +02:00
apanizo d9c05e3efc WA-234 Added test change owners test 2018-06-07 10:26:52 +02:00
apanizo e86f7827f0 WA-234 Fixing flow errors 2018-06-07 09:41:47 +02:00
apanizo 058c6e04fd WA-235 Fix tests - Adapting buttons' index based on the new layout 2018-06-06 11:26:45 +02:00
apanizo 31e5833b8e WA-238 Updating UI after processing TX for changing threshold 2018-06-06 10:43:56 +02:00
apanizo 13c1152c5b WA-235 Adding threshold test for checking store is updated correctly 2018-06-06 10:13:59 +02:00
apanizo b70b70c5df WA-235 adding updateThreshold action 2018-06-06 10:11:52 +02:00
apanizo 5b4e0256f2 WA-235 adding fetchThreshold action 2018-06-06 10:10:01 +02:00
apanizo fad5132a60 WA-238 Adding actual threshold info in the component 2018-06-06 09:28:32 +02:00
apanizo ee0165ad28 WA-238 Adding callback after changing threshold 2018-06-06 09:15:42 +02:00
apanizo d3af885074 WA-235 Adapting buttton after threshold change 2018-06-06 09:10:45 +02:00
apanizo 45a5d1c409 WA-235 Adding button Edit on confirmations section in Safe's view 2018-06-05 13:36:26 +02:00
apanizo 1e9199db32 WA-238 Adding logic (including tests) for handling change threshold 2018-06-05 13:27:14 +02:00
apanizo 4c5d28db4b WA-238 Checking tx receipt status on withdrawn mutlsig txs 2018-06-04 17:24:01 +02:00
apanizo 9b582f658f WA-238 Give more time to safe to show the received balance in tests 2018-06-04 13:55:49 +02:00
apanizo 504e078101 WA-238 Increasing time for rendering the Withdrawn component 2018-06-04 13:40:12 +02:00
apanizo 2018938f9b WA-238 increasing time in tests for updating UI after creating a safe 2018-06-04 13:33:46 +02:00
apanizo e10828e5c4 WA-238 disable Withdrawn button 2018-06-04 13:26:07 +02:00
apanizo d7ff250c18 WA-238 Adding gasStation and pre calculation of costs to withdrawn txs 2018-06-04 13:08:12 +02:00
apanizo ddf43fc60a WA-238 Refactoring 3 owners 3 threshold DOM test 2018-06-04 10:21:50 +02:00
apanizo d31dc60645 WA-238 Adding DOM test for 1 safe with 3 owners and 1 threshold 2018-06-04 09:49:28 +02:00
apanizo 9c21fb88b4 WA-238 Adding tests helper for checking multisig tx with safes with 1+ owners 2018-06-04 09:48:32 +02:00
apanizo acfa2f4d2c WA-238 Created DOM test for multisig tx on safe with 3 owners with 3 as threshold 2018-06-01 13:54:27 +02:00
apanizo 23f0af976c WA-238 Silence tests' output 2018-06-01 08:49:52 +02:00
apanizo a759328f40 WA-238 calculating gas and gasPrice when creating safe 2018-06-01 08:33:13 +02:00
apanizo 52203bcfe2 WA-238 Init contracts for test mode only used in travis 2018-05-31 20:17:32 +02:00
apanizo 5ce3564cc7 WA-238 Fix createTransactions when safe has only one owner 2018-05-31 13:41:51 +02:00
apanizo 6ee48db1e5 WA-238 Fix calculation of executed tx hash when threshold was not reached 2018-05-31 11:39:44 +02:00
apanizo b2a02982fe WA-238 usage of executeTransaction on processTransaction helper 2018-05-31 11:25:44 +02:00
apanizo 99507a0c33 WA-238 usage of ethTransactions functions on createTransactions 2018-05-31 09:45:18 +02:00
apanizo fff325bfb3 WA-238 Added ethTransactions helper function 2018-05-31 09:44:04 +02:00
apanizo 6e221dacdf WA-238 Do not redeploy master copies if the instances do not work 2018-05-31 09:19:27 +02:00
apanizo 557a2e17af WA-238 Not allowing user who has confirmed tx do it again 2018-05-30 09:36:28 +02:00
apanizo 649243c0d3 WA-238 Fixing problem increasing threshold in UI Transaction's view 2018-05-30 09:29:22 +02:00
apanizo cfdbc8a761 WA-238 Fixing error of safes 1+ owners and threshold 1 when sending txs 2018-05-29 09:31:48 +02:00
apanizo a7076b9a1a WA-238 Implementing mustBeInteger validator on threshold and num of owners 2018-05-29 09:01:04 +02:00
apanizo 071fee9056 WA-238 Fix withdrawn smart contract function 2018-05-27 14:38:44 +02:00
apanizo f917bb2abd WA-238 sameAddress helper for avoid case sensitive problems with eth addresses 2018-05-27 14:12:29 +02:00
apanizo 194e51d207 WA-238 Fix updating executed txs 2018-05-27 13:56:22 +02:00
apanizo efe2905526 WA-238 Fix automic onClick calls 2018-05-27 12:24:50 +02:00
apanizo 8e908bb5fc WA-238 Added a test for assuring grantedSelector works in a case-insentive mode 2018-05-27 12:16:19 +02:00
apanizo 4caacdb184 WA-238 Implementation and UI adaptation to process ttransactions 2018-05-27 12:07:58 +02:00
apanizo 0c4708b375 WA-238 Fix warning text boolean prop 2018-05-26 13:39:44 +02:00
apanizo 5085a18fa7 WA-238 Adding DOM test simulating execution of tx when safe has only 1 owner 2018-05-26 13:35:17 +02:00
apanizo 44ed495226 WA-238 Adding tests of confirmations and transactions selectors 2018-05-26 12:01:08 +02:00
apanizo 8abc514413 WA-238 Transaction List component 2018-05-26 09:56:17 +02:00
apanizo 48a5804051 WA-238 Hairline layout component 2018-05-26 09:36:59 +02:00
apanizo 3268d76dcb WA-238 Rename transactions form component to AddTRansaction 2018-05-25 10:21:42 +02:00
apanizo cbf29c10e0 WA-238 Including only the txHash in the redux store of confirmations 2018-05-24 17:27:11 +02:00
apanizo 38953cfcb7 WA-238 Adjust createTransaction function to be executed correctly 2018-05-24 17:01:23 +02:00
apanizo ad7157b454 WA-238 include hash in Confirmation record, added tests for safes with 1 owner they do not need confirmation 2018-05-24 16:38:20 +02:00
apanizo f42aa0722f WA-238 rename createTransaction to storeTransaction 2018-05-24 13:58:49 +02:00
apanizo abb949702c WA-238 Adding create multisig tx logic 2018-05-24 13:23:04 +02:00
apanizo f9407397db WA-238 refactor inLimit form validator 2018-05-24 11:31:28 +02:00
apanizo 67552e211f WA-238 Review TX component 2018-05-23 16:33:35 +02:00
apanizo fdfeceef8b WA-238 Fix Withdrawn and Multisig Forms 2018-05-23 16:29:30 +02:00
apanizo 3dcb551268 WA-238 Multisig transaction form 2018-05-23 16:19:16 +02:00
apanizo 0fb1758fc5 WA-238 Added test for enabling add tx button when the safe has funds 2018-05-23 12:29:40 +02:00
apanizo bc9b2be6a1 WA-238 Add TXs row in Safe view 2018-05-23 12:05:50 +02:00
apanizo f4ca495ea0 WA-238 Adding fetchTransactions action 2018-05-22 11:34:56 +02:00
apanizo 89b1b5ffe0 WA-238 adding transactions property to redux store 2018-05-22 11:23:41 +02:00
apanizo 63cb857b7b WA-238 Rename calculateInitialState to safeInitialState 2018-05-22 11:07:38 +02:00
apanizo bb3c5127f6 WA-238 Using NoRights component on safe route layout 2018-05-22 10:48:38 +02:00
apanizo 26c4d8ffda WA-238 added grantedSelector and its test for displaying safe if user is owner 2018-05-22 10:22:57 +02:00
apanizo bd2e6b70a5 WA-238 Allowing set a Daily Limit of 0 when creating a Safe 2018-05-22 09:21:56 +02:00
apanizo 29e92ca622 WA-238 Refactor transaction tests 2018-05-22 08:56:49 +02:00
apanizo 3f77bc1dbd WA-238 Tests checking owners conditions 2018-05-21 16:58:03 +02:00
apanizo 60d7f9056e WA-238 Transaction tests for storing confirmations 2018-05-21 16:11:02 +02:00
apanizo 302fc13613 WA-238 Refactor localStorage class allowing load data by key 2018-05-21 16:10:05 +02:00
apanizo 7efcf44961 WA-238 Adding confirmation and transaction model entities (Immutable Records) 2018-05-21 16:09:01 +02:00
apanizo a16b5ed0f2 WA-238 Add test safesByOnwer selector with casi insensitive comparing addresses 2018-05-17 15:46:31 +02:00
apanizo 4a104830ae WA-238 Fix onClick reset fn hook in Stepper component after tx is finished 2018-05-17 13:44:38 +02:00
apanizo e25ccbeb6d WA-238 Adding tests for safesByOwnerSelector 2018-05-17 10:29:54 +02:00
apanizo e3c4c7661d WA-238 adapt safeContracts> initContracts and code when creating safe to new safe-contracts 2018-05-16 16:06:39 +02:00
apanizo c997bb4473 WA-238 Fixing flow errors 2018-05-16 15:38:45 +02:00
apanizo 608e4c1307 WA-238 Giving more time to mine tx when deploying safes 2018-05-14 16:00:44 +02:00
apanizo 98ce8f1746 WA-238 Adding more time to execute the tx in background 2018-05-14 15:26:48 +02:00
apanizo d61bf58963 WA-238 Fix delay in tests avoiding JEST default error 2018-05-14 13:46:30 +02:00
apanizo d66ef07f98 WA-238 Delaying fetchDailyLimit after withdrawing 2018-05-14 13:38:18 +02:00
apanizo a4a519ad8e WA-238 Modify redirect of withdrawn stepper 2018-05-14 12:41:20 +02:00
apanizo d0860df49b WA-238 Not allowing to wthdrawn if limit is exceeded 2018-05-14 12:27:57 +02:00
apanizo f04eec5f77 WA-238 Storybook showing spentToday and disabling withdrawn buttons is limit has been exceeded 2018-05-14 11:14:09 +02:00
apanizo 706bdba69b WA-238 Adding test updating safe's daily limit redux record after executing withdrawn 2018-05-14 10:43:23 +02:00
apanizo 26815af91c WA-238 Adding test handling exception when exceeding dailyLimit 2018-05-14 10:42:42 +02:00
apanizo 4051852eda WA-238 Returning promise when executing dailyLimit tx 2018-05-14 10:42:08 +02:00
apanizo 725a9f6b13 WA-238 Fix error on reducer not using action's payload property 2018-05-14 09:50:11 +02:00
apanizo cefa6d5567 WA-238 Do not update safes in localStorage when updating DailyLimit 2018-05-14 09:10:28 +02:00
apanizo 4a30051858 WA-238 fetchDailyLimit action definition and its reducer 2018-05-13 13:33:40 +02:00
apanizo 3cba259fc1 WA-238 DailyLimit Record types 2018-05-13 13:31:33 +02:00
apanizo aa93a8301b WA-238 refactor update deployedSafe builder including execture withdrawn helper 2018-05-13 13:30:20 +02:00
apanizo 79ae47570f WA-238 creation of updateDailyLimit action 2018-05-13 13:25:02 +02:00
apanizo 86fad267ca WA-238 get Daily Limit by token from the safe smart contract (useful for spentToday) 2018-05-11 18:07:02 +02:00