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
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
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
f2a1443457
Removes interactive commitment via UrsulaCommandProtocol
2021-01-09 16:55:44 -08: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
David Núñez
b0997653ab
Fixes #1704 : CLI asks for confirmation before detaching worker
2020-12-08 10:40:42 -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
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
Kieran Prasch
6a186eb385
Adjusts tests for hasty commitments
2020-09-21 11:05:06 -07:00
David Núñez
85c14b0819
Merge pull request #2253 from derekpierre/ursula-limpia
...
Provide periodic feedback to user about still waiting for bonding and funding
2020-09-17 13:58:31 +02:00
derekpierre
ee718fce75
Provide periodic feedback to user about still waiting for bonding and funding on Worker startup.
2020-09-15 14:33:30 -04:00
derekpierre
7a9c57dcb4
Ensure that --metrics-port is specified when --prometheus is used when running ursula.
...
Added/Cleaned up some tests
2020-09-14 10:23:16 -04:00
vzotova
719b35889e
Stake command to control snapshots flag
2020-09-10 17:56:30 +03:00
jMyles
d2cb974bc1
Merge commit integrating the deployer test fixes in an effort to get that green check.
2020-08-31 15:31:53 -07:00
David Núñez
7d87a1f2c3
CLI defaults are tricky. See #2214
...
For the moment, we'll continue with the global default network being None, but setting `mainnet` as default for nucypher worklock and nucypher status
2020-08-31 20:58:17 +02:00
jMyles
de266be0cf
Resolving import conflicts with main.
2020-08-31 01:07:27 -07:00
David Núñez
b08f4236a5
Some missing twisted.logger.Logger imports
2020-08-28 18:00:19 +02:00
jMyles
255a4cb67c
Reworking test to assure that assertions are evaluated. While we're at it, also use verified open ports for the other tests.
2020-08-25 22:49:47 -07:00
jMyles
0de8e25132
Merge commit from main (and merge candidate into main.)
2020-08-21 20:32:45 -07:00
vzotova
bb6cee4613
Removed NO_WORKER_BONDED constant from `Staker.worker_address`, used NULL_ADDRESS instead
2020-08-20 00:46:03 +03:00
jMyles
0336e4d6e9
Mege commit uniting @fjarri sampling work and the rest of the async branch of TI. Done in order to provide a surface for blocking when sampling. See https://ptb.discordapp.com/channels/411401661714792449/411401661714792451/744248303528575037 .
2020-08-18 05:14:05 -07:00
derekpierre
1d367c9442
Ensure that created ursula is stopped once local keystore test is completed.
2020-08-18 05:10:44 -07:00
vzotova
ada6824739
Command to merge stakes in agent, actor and CLI
2020-08-10 23:22:13 +03:00
vzotova
0d39b8a7b0
Flag to create and increase sub-stakes without deposit (using unlocked tokens)
2020-08-10 23:21:19 +03:00
jMyles
784814c4bb
Don't ship blockchain_bob with known_nodes; he can use his domain hardcoded nodes. Also, don't start his learning loop after the fact. This caused this test to pass even when he was unable to actually find the nodes in join_policy.
2020-08-10 12:52:31 -07:00
jMyles
866e0e2e0a
Skipping this test until we get the DB ( #2099 ) worked out.
2020-08-10 12:52:31 -07:00
jMyles
3db10ae5ff
We're not connecting to seednodes at this stage anymore.
2020-08-10 12:49:26 -07:00
jMyles
c6e004b870
Allow other Characters to be --lonely.
2020-08-10 12:49:26 -07:00
tuxxy
f5a7577290
Fix tests with new datastore changes
...
Use a unique temp directory for each blockchain_ursula and fix the flunky test query
Fix test_decentralized_grant test
Catch RecordNotFound errors in test_freerider_attacks
Provide a db_filepath for the test_collect_rewards_integration Ursula
Add unique temp directory for Ursula in test_collect_rewards_integration
2020-08-10 15:38:58 +02:00
David Núñez
e438f2f944
Use our new Logger replacement everywhere
2020-08-08 03:14:45 +02:00
vzotova
f2acc2adda
New command in CLI to increase value of specified sub-stake
2020-07-30 22:45:58 +03:00
vzotova
796f297e93
Refactor `StakeHolder.assimilate()`, now `StakeHolder` instances from configuration and from interactive mode are the same
2020-07-07 17:19:02 +03:00
vzotova
2d0be22dec
Apply suggestions from code review #2097
...
Co-authored-by: MacLane S Wilkison <maclane@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
Co-authored-by: K Prasch <kieran@nucypher.com>
2020-06-27 19:36:51 +03:00
vzotova
0e46140e8f
Added `mint` command to CLI, added some warnings in `collecting-reward` command
2020-06-25 20:13:42 +03:00
Kieran Prasch
5909c37dd1
Apply API and interface updates to for enrico file handling.
2020-06-18 08:55:21 -07:00
vzotova
b8b22e9cf0
Hide 'commit-next' from help messages
2020-06-04 20:33:21 +03:00
Bogdan Opanchuk
8b9d559113
Separate YES/NO (w/o linebreak) and YES_ENTER/NO_ENTER (with linebreak) in test constants
2020-05-28 14:42:02 -07:00
Kieran Prasch
28cce2fccc
Reorganize tests into multiple suites.
2020-05-27 14:11:25 -07:00