Kieran R. Prasch
e0c6f84263
Drafting deterministic keystore
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
d024018c3c
Adapts keyring unit tests for deterministic nucypher keystore.
2021-06-28 14:33:31 -07:00
Kieran R. Prasch
48b8081180
Dissect nucypher keyring and utils.
2021-06-28 14:33:31 -07:00
KPrasch
cc578d9d8c
Merge pull request #2727 from fjarri/performance-mocks-fix
...
Fix highperf tests for the new Umbral
2021-06-25 13:45:14 -07:00
Bogdan Opanchuk
2fe7c85af4
Flatten stacked context managers
2021-06-25 11:43:06 -07:00
Bogdan Opanchuk
0379a5fb37
Remove an unneeded mock
2021-06-25 11:43:06 -07:00
Bogdan Opanchuk
0c05699908
Fix highperf tests for the new Umbral
...
Minimal changes, for starters.
2021-06-25 11:43:06 -07:00
Bogdan Opanchuk
f1ad1426ff
Add a newsfragment for #2727
2021-06-25 11:43:05 -07:00
KPrasch
1a997cf129
Merge pull request #2612 from fjarri/new-umbral
...
Updates for the new Umbral API
2021-06-23 12:01:32 -07:00
Derek Pierre
1f215b8d36
Merge pull request #2693 from derekpierre/reward-ratio
...
Add CLI disclaimer about known issue with the "stake increase" and "stake merge" operations and recommend workaround - instead create sub-stake then merge after commitment performed in period after sub-stake creation
2021-06-23 13:30:11 -04:00
derekpierre
3c573fc254
Update newsfragment.
2021-06-23 13:10:40 -04:00
Bogdan Opanchuk
cd11909d4e
Adjust for a slightly stricter API of Rust Umbral
2021-06-22 18:31:10 -07:00
Bogdan Opanchuk
6090a755b0
Gate the choice of Umbral implementation in a single file
2021-06-22 18:31:08 -07:00
derekpierre
2299df1a2b
Added disclaimer with workaround for 'nucypher stake merge' operation.
2021-06-22 15:22:42 -04:00
derekpierre
1bd7e5e161
Add newsfragment for #2693 .
2021-06-22 11:41:59 -04:00
derekpierre
04e7b05199
Add CLI disclaimer to 'nucypher stake increase' CLI operation outlining known bug leading to reduced rewards for one period.
2021-06-22 11:41:53 -04:00
derekpierre
54e9b18a9e
Rename duplicate test name.
2021-06-22 11:31:49 -04:00
derekpierre
4acbc59e3b
Skip stake increase tests that are expected to fail - see #2691 .
2021-06-22 11:31:49 -04:00
derekpierre
1500a29682
Added test for theory that creating a sub-stake and then merging 2 period later should resolve issues with rewards.
2021-06-22 11:32:03 -04:00
derekpierre
4efcc503ee
Add test to show that same problem occurs when increasing stake via creating a sub-stake and then merging.
...
Refactor code so that same function can be used for testing increase via direct increase of sub-stake and increase via merging of two sub-stakes.
2021-06-22 11:31:49 -04:00
derekpierre
fab50fad04
Test showing first period after increase has incorrect reward amount.
2021-06-22 11:31:49 -04:00
Bogdan Opanchuk
7f36abde21
Simplify passwords.py
2021-06-17 14:38:51 -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
Bogdan Opanchuk
71af0f062b
Adapter for new Umbral to minimize PR surface
2021-06-17 14:38:51 -07:00
Bogdan Opanchuk
01f78f95f6
Scrypt code extracted from PyUmbral
2021-06-17 14:38:51 -07:00
Bogdan Opanchuk
f85cf22901
Fix build_docs run on CI
...
This import does not seem to be used, and the docs are built just fine without it.
2021-06-17 14:38:51 -07:00
Bogdan Opanchuk
aceb20a3c0
Update for coincurve>=15
2021-06-17 14:33:56 -07:00
Bogdan Opanchuk
b91dd386b8
Bump umbral to 0.2 and relock dependencies
2021-06-17 14:33:56 -07:00
Bogdan Opanchuk
2bec0a2b60
A fix for CI failure due to updated py-evm, taken from #2719
2021-06-17 14:33:56 -07:00
Bogdan Opanchuk
f1503e74ac
Add newsfragment for PR #2612
2021-06-17 14:33:56 -07:00
Kieran Prasch
a0926112ad
Bump version: 5.2.0 → 5.3.0
2021-06-17 13:13:48 -07:00
Derek Pierre
a9c76820ed
Merge pull request #2709 from fjarri/forever-young
...
Provide required info for nucypher-monitor without unnecessarily maturing sprouts
2021-06-07 12:24:26 -04:00
Bogdan Opanchuk
d70ac601e3
Fix a typo in a comment
...
Co-authored-by: KPrasch <kieranprasch@gmail.com>
2021-06-04 12:08:42 -07:00
Bogdan Opanchuk
9fdb452cda
Make NodeSprout.__hash__ work the same as Character.__hash__
...
This allows comparison of mixed Ursula/NodeSprout sets
2021-06-01 16:38:35 -07:00
Bogdan Opanchuk
dcec2a6f23
Make __eq__ in NodeSprout the same as for Character
...
This way any comparison Union[NodeSprout, Character] == Union[NodeSprout, Character] works
2021-06-01 16:38:35 -07:00
Bogdan Opanchuk
a270c6e772
Fix the problem of two different sprout objects with the same addresses
...
One ended up in FleetSensor, and the other in the node storage,
causing failure in `test_one_node_stores_a_bunch_of_others`
2021-06-01 16:38:35 -07:00
Bogdan Opanchuk
373abb29c5
Add a newsfragment for PR #2709
2021-06-01 16:38:35 -07:00
Bogdan Opanchuk
5a28278daf
Provide required info for nucypher-monitor without unnecessarily maturing sprouts
2021-06-01 16:38:35 -07:00
Derek Pierre
98319d14d2
Merge pull request #2716 from derekpierre/90-day-probation
...
Extend policy probation period to August 31st, 2021.
2021-06-01 09:55:17 -04:00
derekpierre
0c1c158c9f
Add newsfragment for #2716 .
2021-06-01 09:38:58 -04:00
derekpierre
9242afb4b7
Extend policy probationary period to August 31st, 2021.
2021-06-01 09:33:33 -04:00
KPrasch
5f91aeee03
Merge pull request #2688 from piotr-roslaniec/worker-shutdown#1515
...
Check for active stakes when starting worker and firing commitments
2021-05-31 12:20:41 -07:00
Derek Pierre
251c1f8194
Merge pull request #2710 from derekpierre/prometheus-dependency-hell
...
Fix prometheus tests that should not be run unless prometheus is installed - it is an optional dependency
2021-05-31 12:50:40 -04:00
KPrasch
a28eb0f5b3
Merge pull request #2708 from kos08001/documentation-contributing-tests
...
Update suggested pytest command to target unit tests
2021-05-24 12:14:35 -07:00
derekpierre
e61cec703a
Fix stray prometheus imports/tests that should only be performed when prometheus_client is installed; prometheus is an optional dependency.
2021-05-21 14:27:33 -04:00
Kosta
8fec1ce799
Update suggested pytest command to target unit tests
2021-05-20 16:24:26 -04:00
David Núñez
520a648c96
Merge pull request #2699 from fjarri/adjudicator-delenda-est
...
Remove IndisputableEvidence and related machinery
2021-05-20 15:33:38 +02:00
KPrasch
e5c04859f9
Merge pull request #2694 from nucypher/fix-typo
...
Fix typo
2021-05-18 23:11:43 -07:00
KPrasch
0b49f6a437
Merge pull request #2689 from piotr-roslaniec/fix-test
...
Fix an acceptance test not being run
2021-05-18 13:46:14 -07:00