Commit Graph

204 Commits (f4727d809df0659d4e64d8cb04ee980b2d964adc)

Author SHA1 Message Date
Piotr Roslaniec 6b687b527f Fix test 2021-08-06 18:11:28 +02:00
Piotr Roslaniec e357fe2f38 Pass Path as str to CLI in tests 2021-08-06 18:11:26 +02:00
Piotr Roslaniec 09e90d17fa Remove remaining 'str' usage 2021-08-06 18:10:43 +02:00
Piotr Roslaniec 113a6db0ac Fix tests after rebase 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 97c6b66052 Fix tests 2021-08-06 18:10:22 +02:00
Piotr Roslaniec cb8e092ef1 Use click instead of custom wrapper 2021-08-06 18:10:22 +02:00
Piotr Roslaniec a8975ff41d Fix tests 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 662bc34439 Use Path methods instead of os module 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 6a270c1713 Use pathlib 2021-08-06 18:10:20 +02:00
derekpierre e8f0e20400 Add Basic Authentication tests. 2021-07-26 15:14:43 -04:00
derekpierre 0720f7ca51 Modify --certificate-filepath option to instead be --tls-certificate-filepath. 2021-07-26 15:14:42 -04:00
derekpierre 8babb11e96 Add acceptance cli tests for porter. 2021-07-26 15:14:42 -04:00
derekpierre 589ddff4de Initial refactoring of "character control"; abstract what is now "character control" into a general "base control" from which "character control" can sub-class. 2021-07-26 15:14:42 -04:00
Kieran Prasch e13fae0526 Combating freefriders and evil Bobs with a KFrag writ authorization. 2021-07-03 18:46:36 -07:00
Kieran Prasch 8a54bd7e6d Post rebase cleanup for PR #2612; Umbral 0.2.x compatibility. 2021-06-30 15:14:10 -07:00
Kieran R. Prasch 4f7bdf5c46 tests respect the Keystore API 2021-06-28 14:33:31 -07:00
Kieran R. Prasch e3868df4d1 Handle TLS power derivation form keystore. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 6aef077172 bulk renaming of Keyring -> Keystore 2021-06-28 14:33:31 -07:00
Bogdan Opanchuk 6090a755b0 Gate the choice of Umbral implementation in a single file 2021-06-22 18:31:08 -07:00
Bogdan Opanchuk 15333ddca2 Dissolve umbral_adapter 2021-06-17 14:38:51 -07:00
Bogdan Opanchuk e6fcdbbff6 Minimal fixes to make CI pass, using an adapter for Umbral 2021-06-17 14:38:51 -07:00
Piotr Roslaniec 85252edf13 Properly skip test 2021-05-14 09:22:06 +02:00
Piotr Roslaniec dc7f067bb0 Skip a long-running test 2021-05-12 21:33:34 +02:00
Piotr Roslaniec 9c8ac9ab45 Fix test 2021-05-12 14:40:30 +02:00
Piotr Roslaniec c65b96b7a6 Rename test file 2021-05-12 08:37:34 +02:00
KPrasch 7e9cbcaac8
Merge pull request #2680 from piotr-roslaniec/events-timestamp#2652
Add timestamp column to csv output
2021-05-07 00:50:02 -07:00
Piotr Roslaniec b6c1a31b5e Fix cli test 2021-04-30 21:57:52 +02:00
derekpierre d0c876acbd Make expiration date of grant test relative to on chain time. 2021-04-29 15:21:14 -04:00
David Núñez 4466ea068d
Merge pull request #2634 from piotr-roslaniec/rewards-cmd#2509
Improve Rewards command
2021-04-28 22:03:44 +02:00
Piotr Roslaniec eee2264ca1 Rename flags 2021-04-23 15:53:51 +02:00
Piotr Roslaniec 06930cbfba Moves "stake collect-reward" to "stake rewards withdraw" command 2021-04-22 16:26:21 +02:00
Kieran Prasch 7c33d6f1ba Expand protecion for policy creation with expiration in the past. 2021-04-16 11:42:15 -07:00
derekpierre 571407084a Improve UX for character CLI when there are multiple configuration files - prompt if > 1, or use singular configuration if only one available.
Fix failing tests.
2021-04-15 08:24:41 -04:00
derekpierre 5415d55b39 Fixed issue where ursula configuration files with signing key suffix were not being listed/used as valid configuration files.
Fix failing tests.
2021-04-15 08:24:41 -04:00
KPrasch 74c986e53b
Merge branch 'main' into dao-proposal-1 2021-04-14 08:16:40 -07:00
Kieran Prasch 712adb0be0 Verbose failure output for failing CI test, shorted poliy duration in lifecycle test to accmodate end of probationary period. 2021-04-13 16:57:57 -07:00
Piotr Roslaniec ec757bf4a9 Use constant for loopback address 2021-04-08 13:33:34 +02:00
vzotova 3136a97aa6 Fix other tests 2021-03-22 11:37:27 -07:00
Kieran Prasch 116e89074b Deprecates worker IP address as enviorment variable. 2021-03-10 12:00:44 -08:00
Kieran Prasch 84240b4f07 remove_unused -> remove_inactive 2021-03-05 09:56:23 -08:00
Kieran Prasch 06d89fef07 ContractAdministrator is a BaseActor subclass. Respond to RFCs in PR #2572 2021-03-02 10:24:41 -08:00
Kieran Prasch ba464989ba Actors accept a transacting power or an address but not both + Cleanup. 2021-02-26 13:38:37 -08:00
Kieran Prasch dcd8c9b12f Handle CLI-launched character unocking pre-init. 2021-02-26 13:38:37 -08:00
Kieran Prasch 7e07bd267e Handle injected transacting power in tests. 2021-02-26 13:38:37 -08:00
Kieran Prasch b91359f3ba Bulk deprecation of Preallocation tooling. 2021-02-26 13:25:17 -08:00
derekpierre 397e872b1d Add some tests. 2021-02-26 13:07:26 -05:00
Kieran Prasch 2ac8d276aa Respond to RFCs for PR #2536; Holdover for future work; Post rebase cleanup. 2021-02-18 18:35:56 -08:00
derekpierre bcfbf3e683 Fix failing unit tests. 2021-02-18 18:08:40 -08:00
Kieran Prasch a4885c8fed Advance tests along with API changes and code touch ups 2021-02-18 18:07:43 -08:00
Kieran Prasch 4c0f679c7e Removes client_password from character init where possible, require signer to init a TransactingPower, removing default web3 signer. 2021-02-13 18:35:31 -08:00
Kieran Prasch d30b162208 Better support for CLI JSON responses and pretty printing. 2021-02-07 09:43:19 -08:00
vzotova 7c77aa65d0 Remove locking restake flag, throw error when node tries to commit twice in a row 2021-02-02 19:24:28 +03:00
vzotova 61d8dc1ec0 New deployment order: StakingEscrow dispatcher, then PolicyManager+Dispatcher -> Adjudicator+Dispatcher -> WorkLock and only after this StakingEscrow itself 2021-02-02 19:24:28 +03:00
vzotova 9815440464 New order of contracts deployment, StakingEscrow uses other addresses of main contracts in constructor 2021-02-02 19:24:28 +03:00
vzotova b384911e5d Remove batch deposits 2021-02-02 19:24:27 +03:00
Kieran Prasch 9cb7c1979b Bugfix and supporting tests for automated IP determination 2021-01-15 18:19:39 -08:00
damon c e907a598a2
Merge pull request #2462 from KPrasch/automagic
IP address checks on worker startup
2021-01-14 20:47:32 -08:00
Bogdan Opanchuk a2b99daa1d Merge proposals and enactment into a single method, return EnactedPolicy 2021-01-14 11:19:35 -08:00
Bogdan Opanchuk de0f933118 Make Arrangement stateless and get rid of BlockchainArrangement 2021-01-14 11:19:35 -08:00
Kieran R. Prasch 86d61b41f1 Test touchups for ursula startup 2021-01-12 13:10:15 -08:00
Kieran R. Prasch 2daa9b499d Closes #2424 2021-01-12 13:10:15 -08:00
Kieran Prasch 94bf887364 Soften the impact of unknown IP during checkup 2021-01-12 13:10:14 -08:00
Kieran Prasch 7d6b45a2e0 Advances automatic IP determination: Query known nodes. 2021-01-12 13:09:07 -08:00
Kieran Prasch 5b88afc7c6 localizes card mocking fixture so CLI test modules will propery run. 2021-01-12 11:08:45 -08:00
Kieran Prasch a9d3b6cf1e Deprecation of automated deployment series by ContractAdministrator 2021-01-12 11:08:45 -08:00
Kieran Prasch f2a1443457 Removes interactive commitment via UrsulaCommandProtocol 2021-01-09 16:55:44 -08:00
Kieran Prasch a9638ea6e1 Mock card save method (neded to run tests as suite). 2020-12-25 01:51:16 +01:00
K Prasch 0d7af8bd60
Apply suggestions from code review
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-12-18 09:49:52 -08:00
Kieran Prasch fae2c05509 Use constants for cli password collection confirmation 2020-12-11 12:09:04 -08:00
Kieran Prasch 38c441dff0 Improves staker and ursula literature and help texts 2020-12-11 12:07:43 -08:00
Kieran R. Prasch 735dccce1e
Card CLI acceptance testing for 'alice/bob make-card' and card directory autocreation. 2020-12-09 16:52:15 -08:00
Kieran Prasch d21d7ee947 Additional help text and accompanying test; Relocate help test to CLI unit. 2020-12-09 14:10:03 -08:00
Kieran Prasch b342180d89 Additional CLI acceptance tests for non-interactive use cases. 2020-12-09 13:55:45 -08:00
Kieran Prasch e6af45eb26 CLI acceptance testing for character cards 2020-12-09 12:44:23 -08:00
Kieran Prasch 91e0accd20 Use ISO8601 for CLI expiration 2020-12-08 10:40:42 -08:00
Kieran Prasch 63d8c3555f Improves grant CLI: all policy values cascade from flags, to defaults, and interactively. Integrates with probationary period enforcement. 2020-12-08 10:40:42 -08:00
David Núñez b0997653ab Fixes #1704: CLI asks for confirmation before detaching worker 2020-12-08 10:40:42 -08:00
vzotova 96e959f60a Fix after rebasing 2020-12-03 16:48:33 +03:00
Kieran Prasch abc24eba8f Assertion for staking interface router ownership transfer via CLI. 2020-12-03 13:15:32 +01:00
Kieran Prasch 97aff893fb Hotfix for staking interface router ownership transfer 2020-12-03 13:15:32 +01:00
Kieran R. Prasch 9299ab186d
newsfragment for PR #2446 2020-11-18 20:07:19 -08:00
Kieran R. Prasch 1c96c33442
test --config help; Keep help tests in one test module 2020-11-18 19:50:13 -08:00
David Núñez d0334e029c Fix bug in test for local keystore caused by an Ursula too eager to work 2020-11-06 17:12:54 +01:00
jMyles 158e0ee62b Ursula needs an explicit domain in this test in order for Bob to be able to retrieve. 2020-11-03 19:11:37 -07:00
David Núñez 0b2dd001ba Correct problems when setting the min fee rate. Fix #2390
Also, simplifies usage by expressing rates in GWEI
2020-11-03 12:10:59 +01:00
vzotova d1ede31ebc CLI method to remove unused sub-stake 2020-10-20 20:33:39 +03:00
Bogdan Opanchuk 1557617afd Since web3=5.12.2 some of `eth` methods require positional arguments 2020-10-18 00:16:05 -07:00
derekpierre b4021faffa Ensure that testnet flag is set correctly for deployer. 2020-10-07 14:42:30 -04:00
Kieran Prasch ac34a79a7f Accepts --network as a required flags for nucypher-deploy commands. 2020-10-05 15:47:27 -07:00
Kieran Prasch c7f39ff484
A home for nucypher deploy CLI tests... 2020-09-30 21:18:43 -07:00
Kieran Prasch 81e401703c Respond to RFCs for PR #2315; Combating CI timeouts for deployer CLI tests. 2020-09-30 08:12:26 -07:00
Kieran Prasch b3462d2902 Show original and target contract version numbers during interactive upgrade 2020-09-29 21:45:45 -07:00
Kieran Prasch 1e63ce6b2c Test touch ups 2020-09-29 20:40:15 -07:00
Kieran Prasch e36d4da5d4 Deployment CLI plumbing adjustments: allow for domain-specefic pre-flight checks on upgrade. 2020-09-29 20:25:21 -07:00
Kieran Prasch 997a481738 Retire nucypher deploy contracts automated series test. 2020-09-29 20:25:21 -07:00
Kieran Prasch 79c360a5b9 Eager pre-flight checks for deployer upgrade CLI. 2020-09-29 20:25:21 -07:00
Kieran Prasch ea3584656c Implements --confirmations for deployer transactions, including defaults. 2020-09-29 20:25:21 -07:00
David Núñez 4cf7dcadc3 We're done with multiple domains, for the moment.
Closes #2144. Closes #1580.
2020-09-24 20:27:13 +02:00
K Prasch 1f5407e7d5
Merge pull request #2220 from KPrasch/signer
Trezorlib Transaction Signing
2020-09-24 08:06:54 -07:00
Kieran Prasch f526b72790 SLIP44 support and EIP-155 compliance for trezor testnet derivation paths 2020-09-22 21:19:24 -07:00