Commit Graph

498 Commits (307bfe3ad66064c32056e382cdb58cd7ed31963c)

Author SHA1 Message Date
Kieran Prasch 22fc7d16b4 Adapt PeriodTracker to WorkTracker; Geth client duration bug fix. 2019-08-31 11:32:25 -07:00
Kieran Prasch 43d2ff34fe
Add worker init flag to indicate insta-confirm. 2019-08-30 20:53:32 -07:00
Kieran Prasch aa73f9265e
Test demonstrating auto-confirmation via PeriodTracker and Twisted Clock. 2019-08-30 20:38:38 -07:00
Kieran R. Prasch 9941a3db7b
Rebase amendment for worklock divergence. 2019-08-30 11:08:35 -07:00
Kieran R. Prasch 25f0caa23c Post rebase adjustment for new auto provider detection support. Fixes for ursula receipt painting. 2019-08-28 06:41:37 -07:00
Kieran R. Prasch 4431d7966d Respond to RFCs in PR #1225; Use blake2b for registry cache key. 2019-08-27 09:56:41 -07:00
Kieran R. Prasch 64d40a7f80 Whoops! Restores 'address' and respectively 2019-08-27 09:56:41 -07:00
Kieran Prasch b20cf2f6f6 Test fixes: Alter estimate gas to use blockchain factory; Restore accidentally renamed deployment files. 2019-08-27 09:56:41 -07:00
Kieran Prasch 58f34dac7b Checkpoint #4 - Fixes policy sampling bugs - continue reflow fixes. 2019-08-27 09:56:41 -07:00
Kieran Prasch 2a299aaca1 Checkpoint #3 - Reflow StakeHolder, Stake and Wallet Management. 2019-08-27 09:56:36 -07:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
Kieran Prasch 69aea3f725 Checkpoint: Refactors lifecycle of Blockchain and Registry. 2019-08-27 09:54:13 -07:00
derekpierre 213b42fe58 Return UnsuportedProvider exception instead of ValueError - update unit tests. 2019-08-24 13:56:26 +02:00
derekpierre f7787b87b4 Minor unit test fix. 2019-08-24 09:01:06 +02:00
derekpierre 74e2c0cf3a Code cleanup: log message and tests for auto file-scheme detection 2019-08-24 09:01:06 +02:00
derekpierre 172e2a9683 Add provider type detection test for websocket uri 2019-08-24 09:01:06 +02:00
derekpierre 6ece74cb00 Auto-detect 'file' uri scheme when an ipc file path is provided without a scheme and exists. This allows for auto-completion for file paths passed as --provider. 2019-08-24 09:01:06 +02:00
szotov ca79c0834f Renaming workDone -> completedWork, payor -> payer 2019-08-21 21:27:42 +03:00
szotov 71223cb00c Fix after rebasing 2019-08-21 21:27:41 +03:00
szotov 38d8361f35 Added new restriction to prolongStake 2019-08-21 21:27:40 +03:00
szotov c0c2319443 Fix after rebasing 2019-08-21 21:27:40 +03:00
szotov 60f341c3e0 Removed preDeposit method, fixed small issues 2019-08-21 21:27:38 +03:00
szotov 7c2e08872d Fix getRemainingWork in worklock, worklock in intercontract test 2019-08-21 21:27:38 +03:00
szotov 75865a2388 Events for worklock 2019-08-21 21:27:37 +03:00
szotov e6fff3973b Tests for worklock 2019-08-21 21:27:36 +03:00
szotov 895411d312 Added function to prolong stake 2019-08-21 21:27:36 +03:00
szotov c173fc1e4f Tests for work measurement 2019-08-21 21:27:34 +03:00
damon c 126c44a5fc
Merge branch 'master' into status 2019-08-08 12:52:45 -07:00
K Prasch 002a373189
Merge pull request #1203 from vepkenez/sync-fix
Improved Blockchain Syncing UX
2019-08-08 12:50:31 -07:00
Damon C 785eb1e796
Implements InfuraClient by adding an intermediate call to get the variant of a web3 client. 2019-08-08 12:42:41 -07:00
Damon C d93f9c8947 squashed test fixes, addressed PR review comments 2019-08-08 11:49:25 -07:00
damon c 674efa768d
Apply suggestions from code review
Co-Authored-By: MacLane S Wilkison <maclane@nucypher.com>
2019-08-07 18:42:47 -07:00
Damon C d9aa98b0cf tests for blockchain sync flow 2019-08-07 13:31:38 -07:00
David Núñez 965a473bb5 Make sure bare contracts are updated in deployers' upgrade tests 2019-08-04 02:41:04 +02:00
David Núñez 586f7edb89 Deployers now hold explicit list of deployment steps 2019-08-04 02:41:04 +02:00
David Núñez d82afa6d25 Minor touchups 2019-08-04 02:40:58 +02:00
derekpierre 3424ff6dc9 Update deployer class property to be more descriptive - "number_of_deployment_transactions" 2019-07-29 14:53:27 -04:00
derekpierre f4327e821e Added the ability for per-deployment step progress updates since these steps can take a long time.
It is worth noting that only progress is updated for individual steps - the printing of the receipt confirmation to the console is not done until all receipts (from the inidividual step) are received by the deployer.
Added unit tests for progress updates.
2019-07-29 14:53:27 -04:00
Kieran Prasch 27fc89d106
Ensure CLI painting implements emitters; Emitter logic for stakeholder CLI. 2019-07-25 15:19:44 -07:00
Kieran Prasch 9bca91d97d
Deploy CLI Touch Ups (Tested on local private chain). Restore Syncing TImeout. Mock ChainId RPC Endpoint in some client integration tests. 2019-07-25 15:18:29 -07:00
Kieran Prasch c4f14cb1f0
Deprecates funding account and account creation options. Touch up stake CLI. 2019-07-25 15:18:29 -07:00
Kieran Prasch 1b3e3e45e5
Respond to RFCs in PR #1111: Remove deployment transaction gas limit. 2019-07-25 15:18:29 -07:00
David Núñez 22166d0242
Fix bug in UserEscrowDeployer tests 2019-07-25 15:18:29 -07:00
David Núñez e5d91632b2
Adapt deployers and tests to handle receipts, not tx_hashes 2019-07-25 15:18:29 -07:00
David Núñez e60bbd2332
Use session_testerchain in actors tests. Let's start with Investigator 2019-07-25 15:18:29 -07:00
David Núñez c156437bbe
First draft of Investigator test 2019-07-25 15:18:29 -07:00
David Núñez 9899148b17
Get on-chain staking parameters with StakingEscrowAgent 2019-07-25 15:18:29 -07:00
David Núñez 718a5244dc
PolicyAgent --> PolicyManagerAgent 2019-07-25 15:18:29 -07:00
David Núñez 1a90164a7b
Improve PolicyManagerDeployer tests. Adds upgrade & rollback 2019-07-25 15:18:29 -07:00
David Núñez 7030937629
Extract common fixtures for deployers tests 2019-07-25 15:18:29 -07:00