Commit Graph

246 Commits (2ff93b0eb6cf384b1c99e9be4f8a31213b9c0d56)

Author SHA1 Message Date
vzotova fe5c362961 Test for deployers during migration 2021-03-22 11:37:27 -07:00
vzotova b0a605ab25 Draft of period extension 2021-03-22 11:37:27 -07:00
Kieran Prasch 8f041bda04 Allow replacement of rewards collection transactions. 2021-03-04 14:02:45 -08:00
Kieran Prasch 381ded5f8a Second round of improvements for handling invalid passwords. 2021-03-04 13:58:01 -08:00
Kieran Prasch fd005b3ff7 Relocates CharacterConfiguration to nucypher.config.base 2021-02-26 13:38:37 -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 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
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 305bf0a7fb Added unit and integration tests for keyring. 2021-02-18 18:08:40 -08:00
derekpierre 6f25d57971 Better organize serialization/deserialization functions.
Use loopback address functions.
Respond to RFCs for #2536.
2021-02-18 18:08:40 -08:00
Kieran Prasch 6574836699 Additional cleanup and commentary 2021-02-18 18:07:43 -08:00
Kieran Prasch 37774897bc Understand Ursula.run as the coordinated single point of service startup. 2021-02-18 18:06:31 -08:00
Kieran Prasch 212abcc145 Handle power derivation from keyring, or ad-hoc usage of TLSHostingPower. 2021-02-18 18:06:31 -08:00
Bogdan Opanchuk 37929b36a8 Implement changes from the review 2021-02-16 22:45:55 -08:00
Bogdan Opanchuk 4de9b91d2a Refactor FleetSensor 2021-02-16 22:45:55 -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 289078191d Ensure that client password is optional in character's init. 2021-02-13 18:35:31 -08:00
Kieran Prasch d4616416e7 Disables probationary period checking in tests. 2021-02-07 09:08:26 -08:00
Kieran Prasch dc0932ab79 Temporary test skip for regarding issue #2552; Cleanup Imports. 2021-02-07 08:42:10 -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
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 bbc4390f68 Generalize NodeEngagementMutex 2021-01-14 11:19:35 -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 Prasch f35f2fcef3 Accmodate rest_host as a required Ursula init parameter for live nodes in test. 2021-01-12 13:10:15 -08:00
Bogdan Opanchuk 2e0efe451e Use in-memory mock LMDB environment for most tests 2021-01-02 17:19:13 -08:00
Bogdan Opanchuk 61253968fc Simplify the reencryption loop 2020-12-18 15:19:43 -08:00
Bogdan Opanchuk 08c7f83548 Remove an unnecessary alternative of passing a treasure map via map_id
Every time it happens the actual map object is also available.
2020-12-15 14:04:32 -08:00
Bogdan Opanchuk 60c0f4412f Turn `construct_hrac_and_map_id()` into `construct_map_id()` (hrac is not used anywhere) 2020-12-15 13:36:20 -08:00
Kieran R. Prasch 912e2b1c46
Revert signed treasure map changes for federated policies. 2020-12-09 00:13:38 -08:00
K Prasch af1c11b0d4
Merge pull request #2460 from KPrasch/probation
Complete grant CLI policy interactons and probationary period enforcement
2020-12-08 14:08:53 -08:00
Kieran Prasch fcdfdda58b Test demonstrating AccessDenied on invalid or incorrect keystore signer password 2020-12-08 10:56:42 -08:00
Kieran R. Prasch acdcf8c16e Resolves TODO regarding none value as software signer password; Raise AccessDenied. 2020-12-08 10:41:27 -08:00
Kieran Prasch 2cecfb3cfd Rewords keyring decryption console messages. 2020-12-08 10:40:42 -08:00
David Núñez 6d112dbeec Use decimal token values in CLI tests for `nucypher stake` commands 2020-11-30 16:13:16 +01:00
David Núñez 35af6a3a07 When mocking the StakingEscrowAgent, handle the special case of commit_to_next_period, which returns a txhash due to the fire_and_forget option
Also, improves type hints related to the special case of commitment TXs, that result in txhashes instead of receipts.
2020-11-06 12:32:51 +01:00
David Núñez 3b70b06a8a Support for user-provided gas price via a fixed-price gas strategy 2020-11-06 12:19:34 +01:00
jMyles ef29bec8e7 Neatening formatting, also pursuant to RFC. 2020-11-04 14:04:32 -07:00
jMyles 9e009805fd Ursulas and NodeSprouts now share a common API, with domain as str. 2020-11-03 18:13:15 -07:00
jMyles d1313581ef Even when including nodes as seednode metadata, the domain is checked before remembering the resulting Sprout. 2020-11-03 18:13:15 -07:00
jMyles 0aa33c3f1e Can't just plunk federated_ursulas into known_nodes anymore if they aren't on the same domain. 2020-11-03 18:13:15 -07:00
jMyles 8bfa31b11b Test showing that the cross-domain pollution via POST is no longer possible. 2020-11-03 18:13:15 -07:00
jMyles 6cb3feae86 Making this test way better now that domains are tightened up> 2020-11-03 18:13:15 -07:00
jMyles c4786f551a No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain. 2020-11-03 18:13:15 -07:00
jMyles c9118d1f02 FleetSensor is now domain-aware. 2020-11-03 18:13:08 -07:00
Kieran Prasch ba8cae96eb Respond to RFCs in PR #2389 2020-10-19 15:56:14 -07:00
David Núñez 7e644b0770 Be sure we're using the MockBlockchain in integration tests 2020-10-19 21:57:45 +02:00
David Núñez 145ebdf8ef When sending TXs, allow to specify if we want to use a pending nonce or not 2020-10-19 18:59:28 +02:00
derekpierre 4ed221e880 Add unit test for allowing minimum stake when equals available balance. 2020-10-16 16:37:29 -04:00