Kieran R. Prasch
8be0db6467
Introduce optional static nodes from JSON config file
2019-12-18 14:44:39 -08:00
David Núñez
1a1491da03
Merge pull request #1539 from derekpierre/data-flow
...
CLI Guide for Grant and Retrieve
2019-12-17 16:44:20 +00:00
derekpierre
010ed72301
Convert CLI demo into a CLI guide
2019-12-17 09:35:30 -05:00
derekpierre
dfe88ab3f6
Added CLI demo example for grant and retrieve to docs
...
Remove extended timeout from cherry-picked commit
2019-12-16 11:45:14 -05:00
Michael Egorov
c1734da38b
Hackathon demo - example and dirty fix
...
(cherry picked from commit 8250549433f15844586406d708bc1e4cd4c4f1e0)
2019-12-13 14:08:56 -05:00
K Prasch
881a8cfd22
Merge pull request #1523 from KPrasch/carlin
...
Excavate Re-encryption logic; WorkOrder Datastore Models
2019-12-13 10:17:05 -08:00
Kieran R. Prasch
fd2bc932f6
Respond to RFCs in PR #1523
2019-12-13 10:02:05 -08:00
K Prasch
c013368566
Merge pull request #1520 from KPrasch/casette
...
Tolerate non-staking nodes in storages; Handle NotStaking in learning
2019-12-12 13:45:24 -08:00
Kieran R. Prasch
597fe0bc21
Tolerate invalid, non-staking nodes from storages to avoid crash on start-up.
2019-12-12 11:27:25 -08:00
Kieran R. Prasch
77b297ede3
Excavate reencryption logic onto Ursula proper.
2019-12-11 18:23:56 -08:00
Kieran R. Prasch
eba53f3206
Prepare datastore models for storing WorkOrders
2019-12-11 17:14:40 -08:00
K Prasch
7de90660d3
Merge pull request #1480 from cygnusv/allocation-cli
...
Updates to PreallocationEscrow and allocation CLI operations
2019-12-11 16:28:31 -08:00
David Núñez
fa5556fbed
Advance in the decoupling of RegistrySourceManager from BaseContractRegistry
2019-12-11 13:32:03 +01:00
David Núñez
5cc04f6d1d
Simplify PreallocationEscrow.withdrawTokens(). Thanks @vzotova, you rock
...
* Use StakingEscrow.getAllTokens instead of getLockedTokens, so unlocked tokens are also considered for the limit deduction
* This is fine since tokens are still in StakingEscrow, and only can leave via PreallocationEscrow
2019-12-11 13:32:03 +01:00
David Núñez
9b2d5d2fde
Implement `nucypher stake preallocation` subactions as a click argument
2019-12-11 13:32:03 +01:00
David Núñez
79f424a88a
Apply suggestions from reviews
2019-12-11 13:32:03 +01:00
David Núñez
d3b961f9bd
PreallocationEscrowAgent.available_balance returns the balance that can be collected, considering both locked and staked tokens
2019-12-11 13:32:02 +01:00
David Núñez
5721748e3d
Update in-package registry to changes in v1.2.0-beta.2
2019-12-11 13:32:02 +01:00
David Núñez
e8c61c547e
Allow `nucypher-deploy download-registry` to choose blockchain network
...
See #1496
2019-12-11 13:32:02 +01:00
David Núñez
a4dac766a2
Some touches to `nucypher-deploy` help text and output of inspect action
2019-12-11 13:32:02 +01:00
David Núñez
82b8dbd0d6
Test `nucypher stake preallocation --status` and `--withdraw-tokens`
2019-12-11 13:32:02 +01:00
David Núñez
ad3502a95f
No need to support `nucypher stake preallocation --withdraw-eth`
...
Currently, PreallocationEscrow contracts can't receive ETH. Changing that require an update to StakingInterface
2019-12-11 13:32:02 +01:00
David Núñez
b821f2cf90
Clarifying the docs to account for preallocation stakers
2019-12-11 13:32:00 +01:00
David Núñez
30d6631757
Workaround to ContextualVersionConflict - see #1482
2019-12-11 13:27:08 +01:00
David Núñez
428c7f2a0e
TODOs and housekeeping
2019-12-11 13:27:08 +01:00
David Núñez
2caa88c68d
Adapt tests to latests changes in PreallocationEscrow
2019-12-11 13:27:08 +01:00
David Núñez
fe11752e58
Introduce mock_transacting_power_activation fixture
2019-12-11 13:27:08 +01:00
David Núñez
da7a572549
Adapt tests to new registry fetching; extract common fixture.
2019-12-11 13:27:08 +01:00
David Núñez
2e21c26b18
Move fallback logic when fetching to RegistrySourceManager
2019-12-11 13:27:08 +01:00
David Núñez
3d64bbbe57
Implement a fallback mechanism for contract registry. Closes #1454
...
* Includes a copy of the contract registry at nucypher/blockchain/eth/contract_registry
2019-12-11 13:27:08 +01:00
David Núñez
cf5cef9a20
Adapt PreallocationEscrow deployer and tests to latest changes
2019-12-11 13:27:08 +01:00
David Núñez
91e73b1410
Allow to withdraw excess NU from PreallocationEscrow if there's enough stake
2019-12-11 13:27:08 +01:00
David Núñez
dfc5b987b2
First pass at `nucypher stake preallocations --withdraw-tokens` and `--withdraw-eth`
2019-12-11 13:27:08 +01:00
David Núñez
f9a5d4a51b
Janitorial stuff
2019-12-11 13:27:08 +01:00
David Núñez
e0907c489e
`nucypher stake preallocation --status` shows preallocation balance
2019-12-11 13:27:08 +01:00
David Núñez
812bfebaab
Provide a potential explanation to StakingWallet.UnknownAccount exception
2019-12-11 13:27:08 +01:00
David Núñez
87b284fbf5
Print unclaimed policy rewards in `nucypher status stakers`
2019-12-11 13:27:08 +01:00
David Núñez
91203f997b
Add support to download latest registry in nucypher-deploy inspect
2019-12-11 13:27:08 +01:00
David Núñez
87d61d17bf
Catch connection errors when fetching latest contract registry
2019-12-11 13:27:08 +01:00
K Prasch
e10bcf5647
Merge pull request #1493 from KPrasch/cadmium
...
Ensure all tests can run in a singe session; Docker adjustments
2019-12-10 00:41:41 -08:00
Kieran R. Prasch
993eec6867
Respond to RFCs in PR #1493
2019-12-10 00:40:53 -08:00
Kieran R. Prasch
40e5ed7934
Adds optional explicit allocation file output directory; Implement in tests.
2019-12-09 17:04:49 -08:00
David Núñez
8a05ddba91
Merge pull request #1522 from cygnusv/master
...
Bump version: 1.2.0-beta.1 → 1.2.0-beta.2
2019-12-08 14:35:46 +00:00
David Núñez
d77dda1da6
Bump version: 1.2.0-beta.1 → 1.2.0-beta.2
2019-12-08 15:14:50 +01:00
David Núñez
193b53ee1b
Merge pull request #1498 from nucypher/todo-party
...
After TODO party clean-up 🎉
2019-12-07 17:54:42 +00:00
David Núñez
c82d78b08b
Inaugural TODO Party: Review TODOs in blockchian modules.
2019-12-06 20:59:59 -08:00
K Prasch
86cd87dad6
Merge pull request #963 from nucypher/doubtfire
...
[EPIC] Doubtfire: Modifications for Monitoring Applications
2019-12-06 12:18:56 -08:00
Kieran R. Prasch
b742b7e52c
Add preferred seednode loading to startup.
2019-12-04 20:08:00 -08:00
Kieran R. Prasch
b49636c25c
Remove superfluous registry assertion, since it is variable, often in-memory.
2019-12-04 18:53:58 -08:00
Kieran R. Prasch
42ee86b4d2
Ensure fresh mock registry for each module test.
2019-12-04 18:53:05 -08:00