Commit Graph

4478 Commits (69aea3f72505e89e23a62b7302009d08e5fa822a)

Author SHA1 Message Date
David Núñez 6e292b784b Some click.progressbar hacks to make deploy even more shiny 2019-07-30 11:30:01 -04:00
derekpierre 385f4748eb Set "interactive" deployment flag to be set based on 'force' parameter passed in CLI. 2019-07-29 15:11:16 -04:00
derekpierre 3424ff6dc9 Update deployer class property to be more descriptive - "number_of_deployment_transactions" 2019-07-29 14:53:27 -04:00
derekpierre 00d4155f3a Remove dev testing code 2019-07-29 14:53:57 -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
derekpierre 504bd780cb Add the ability for per-DeployerClass contract deployment progress updates
TODO: Possibility of doing per transaction progress
2019-07-29 14:47:26 -04:00
K Prasch 648f120b58
Merge pull request #1167 from cygnusv/moomin
CLI cleanup (vol. 2): Making CLI work with local non-dev private chain
2019-07-29 11:40:09 -07:00
David Núñez 1bd2aae362
Adapt Ursula CLI tests to being asked for worker account password 2019-07-29 11:27:14 -07:00
David Núñez 8dcf5a799d
Remove second stamp substantiation. Fix #1091 2019-07-29 11:27:14 -07:00
David Núñez f969b62a09
No need to unlock in substantiate_stamp when TransactingPower is active 2019-07-29 11:27:14 -07:00
David Núñez eed4c0937d
Make ursula CLI ask for worker account password 2019-07-29 11:27:14 -07:00
David Núñez 460dd6a660
Improve some CLI messages 2019-07-29 11:27:14 -07:00
David Núñez ca732b5a50
Add test_transfer_tokens to nucypher-deploy tests. Remove unused stuff. 2019-07-29 11:27:14 -07:00
David Núñez 6bb1e2ec6b
Adapt painting of nucypher stake init/divide to stakeholder, not ursulas 2019-07-29 11:27:14 -07:00
David Núñez 11f416988f
Print receipt after successful nucypher stake set-worker 2019-07-29 11:27:14 -07:00
David Núñez f9336f267a
Slightly more informative and comfortable deployment of contracts 2019-07-29 11:27:14 -07:00
David Núñez 9ac51f1abd
Fix wrong sender in nucypher-deploy transfer. Improve UX too. 2019-07-29 11:27:14 -07:00
David Núñez fe28261059
Disable automatic download of registry when one is provided. Fixes #1166 2019-07-29 11:27:14 -07:00
David Núñez a4f2474dbf
Workaround for #1165 (segfault) 2019-07-29 11:27:14 -07:00
David Núñez 9ce48d6e89
Pass --sync flag value to Stakeholder initialization 2019-07-29 11:27:14 -07:00
K Prasch bd12cc9977
Merge pull request #1146 from KPrasch/output-refactoring
CLI Cleanup
2019-07-29 10:37:18 -07:00
Kieran Prasch cdce42d597
Improve code conventions and comments for nucypher-deploy CLI; remove unneeded feature flags. Relocate deployment console painting to painting.py. 2019-07-27 19:01:41 -07:00
Kieran Prasch 60d9ef031b
removes accidental second call to DeployerActor's transacting power integration 2019-07-26 21:54:50 -07:00
Kieran Prasch 6392c1f42a
Do no ask for client passwork in stake CLI when using hw wallet flag, or dev chain is auto detected. 2019-07-26 10:15:34 -07:00
Kieran Prasch 84a10d6551
Fixes #1133 - Format Enrico Banner with PEK 2019-07-26 10:15:34 -07:00
Kieran Prasch e9e89ef495
Fixes default Alice/Bob controller ports; Docstrings for all CLI functionsl partialy resote bob view command. 2019-07-26 10:15:31 -07:00
Kieran Prasch d8e6486283
Split keyring password collection into two functions and implement in CLI; Provides interactive account selection for Alice. 2019-07-26 10:14:41 -07:00
Kieran Prasch 2dd3e92868
Shortens CLI flag names to --provider and --teacher. 2019-07-26 10:14:41 -07:00
K Prasch d1c5ecba25
Merge pull request #1163 from cygnusv/moomin
Minor CLI bug fixes for nucypher stake and nucypher ursula
2019-07-26 09:47:44 -07:00
David Núñez ea873403ad Confirm activity works for next period (thanks @szotov) 2019-07-26 15:19:05 +02:00
David Núñez c53960634b Fix nucypher ursula confirm-activity. Fix #1164 2019-07-26 14:47:28 +02:00
David Núñez a9f5c4a12b Implement and test nucypher stake detach-worker 2019-07-26 14:08:01 +02:00
David Núñez 2a26d54e6d Show error for unknown action with nucypher stake. Fix #1142 2019-07-26 13:22:35 +02:00
David Núñez 33bfb85b3c Help for nucypher stake command. Fix #1158 2019-07-26 13:00:41 +02:00
David Núñez c8aae90d90 Clarify what accounts are being asked by nucypher ursula init. Fix #1160 2019-07-26 12:29:25 +02:00
David Núñez 9556d633cb Better suggestion after nucypher ursula init. Fix #1162 2019-07-26 12:23:08 +02:00
Kieran Prasch 27fc89d106
Ensure CLI painting implements emitters; Emitter logic for stakeholder CLI. 2019-07-25 15:19:44 -07:00
Bogdan Opanchuk f45d32a269
Rework verbose/quiet options, add more detailed option descriptions, and add specific options for each type of logging
Now quiet/verbose govern console output (emitters)
2019-07-25 15:19:44 -07:00
Bogdan Opanchuk ffecb60779
More strict boolean envvars parsing 2019-07-25 15:19:44 -07:00
Bogdan Opanchuk f8cf32337e
Use specialized methods in WebEmitter as well 2019-07-25 15:19:44 -07:00
Bogdan Opanchuk 0ce9458bf0
Create a console emitter only once (in NucypherClickConfig) and propagate it everywhere 2019-07-25 15:19:42 -07:00
Bogdan Opanchuk 52dbca6519
Move echo() calls one level higher and replace them with emit()
There's was not much happening between the beginning of start() and echo(),
so moving the status printing should not obscure anything.
2019-07-25 15:18:29 -07:00
Bogdan Opanchuk 3e17cd7c74
Remove duplicate options, move shared options definition and processing to NucypherClickConfig 2019-07-25 15:18:29 -07:00
Bogdan Opanchuk b473c0f4bd
Hide registering/unregistering observers and Sentry init inside utilities/logging
Also add a check that Sentry SDK is only initialized once
2019-07-25 15:18:29 -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 829c8bba90
Add gas. Use web3 abstraction for add peer endpoint in deploy CLI. 2019-07-25 15:18:29 -07:00
Kieran Prasch db7d1944da
Ensure deployer CLI can resume a deployment by using --contract-name single contract deployments. Increase Deployer timeout to 600 seconds. 2019-07-25 15:18:29 -07:00
Kieran Prasch 30aa51c1f2
Mock to_config_file briefly to avoid writing to the default config root. 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