Kieran R. Prasch
388ea2fc55
master -> main
2020-07-21 08:48:52 -07:00
David Núñez
f5bee795d8
Merge pull request #2121 from mswilkison/worklock-terminology
...
Update WorkLock terminology
2020-07-15 17:46:44 +02:00
Victoria
e717b6d030
Apply suggestions from code review #2117
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: K Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-07-14 12:04:35 +03:00
vzotova
073cbf345e
Refactor sub-stake status and selecting sub-stake
2020-07-09 16:33:25 +03:00
David Núñez
10ef0a1d62
Rename WorkLock commands and options
2020-07-08 17:13:05 +02:00
vzotova
8f598f0df6
More integration tests for stake selection
2020-07-07 17:21:06 +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
6c68fba65c
Small docs update for collecting reward
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-06-25 20:57:21 +03:00
vzotova
0e46140e8f
Added `mint` command to CLI, added some warnings in `collecting-reward` command
2020-06-25 20:13:42 +03:00
vzotova
9897c0f93c
Fix agent mocking: use instance to hold mocked method instead of class
2020-06-25 20:08:27 +03:00
vzotova
e90a27c8c3
StakingEscrow: new method to merge two sub-stakes into one
2020-06-23 11:15:02 +03:00
vzotova
a55f462902
StakingEscrow: add way to stake tokens to already existing sub-stake, including < minimum allowed
2020-06-23 11:15:02 +03:00
vzotova
3caa46f367
StakingEscrow: removed messages from require and removed one deposit function to decrease contract size
2020-06-23 11:15:01 +03:00
vzotova
54297be311
StakingEscrow: extract getLockedTokensInPast method to test set
2020-06-23 11:15:01 +03:00
vzotova
0c9d4bc9e3
StakingEscrow: unbond worker when withdrawing last portion of NU
2020-06-23 11:15:01 +03:00
vzotova
8f19161920
StakingEscrow: now staker is not only who has tokens but also who has not-rewarded periods
2020-06-23 11:15:00 +03:00
K Prasch
523ea089f4
Merge pull request #2098 from KPrasch/enrico
...
Simple Enrico file encryption
2020-06-21 07:42:38 -07:00
damon
0c8a9c3c5f
TODOs
2020-06-19 04:43:16 -07:00
Kieran Prasch
5909c37dd1
Apply API and interface updates to for enrico file handling.
2020-06-18 08:55:21 -07:00
damon
1409bb2a61
more test fixes message->plaintext
2020-06-17 11:33:24 -07:00
damon
6d79d8db7b
test fixes resulting from change in keys
2020-06-17 11:31:48 -07:00
damon
9d65b242e8
message -> plaintext
2020-06-17 00:08:48 -07:00
K Prasch
f4b64fc365
Merge pull request #2069 from derekpierre/metrics-iteration
...
Initial Refactor of ursula prometheus metrics work from #1923
2020-06-15 09:36:44 -07:00
derekpierre
f60aa70203
Fix failing unit test
2020-06-12 11:03:01 -04:00
K Prasch
60043adffb
Merge pull request #2043 from cygnusv/block
...
Improve block confirmation logic and tests
2020-06-09 13:53:36 -07:00
derekpierre
6a578f034a
Fixed issues related to manual testing. General code cleanup.
...
I believe we are now on par with original functionality.
2020-06-09 14:13:32 -04:00
derekpierre
591d1cbec5
Fix Ursula typing and some general cleanup.
2020-06-09 08:50:18 -04:00
derekpierre
a37c5661df
Initial refactor of prometheus metric collection. Use of collection of individual metric collectors.
2020-06-09 08:50:18 -04:00
derekpierre
89911a87ab
Code cleanup. Fix typo in test
2020-06-09 08:50:18 -04:00
derekpierre
d282900bd0
Re-organize prometheus tests into the unit testing category
2020-06-09 08:50:18 -04:00
derekpierre
28b29edd70
Initial refactor of prometheus metrics configuration.
2020-06-09 08:50:18 -04:00
K Prasch
7a81566ea9
Merge pull request #2072 from vzotova/hide-commit
...
Hide 'commit-next' from help messages
2020-06-08 19:07:38 -07:00
K Prasch
9fb5caee5f
Merge pull request #2079 from vzotova/spdx-license
...
SPDX license identifier in contracts
2020-06-08 15:07:43 -07:00
Kieran Prasch
442c9a7c30
Respond to RFCs in PR #2078
2020-06-08 14:53:41 -07:00
Kieran Prasch
e5c51507ed
Fixes #1909 - Use a decorator to skip tests on CI.
2020-06-08 10:41:56 -07:00
vzotova
4335664aca
SPDX license identifier in contracts
2020-06-08 15:52:54 +03:00
David Núñez
404adf6211
Introduce some mockery in the block confirmations acceptance test to make it faster
2020-06-07 02:36:56 +02:00
David Núñez
3c71c708c2
Unit tests for EthereumClient.wait_for_receipt()
...
Some code changes based on test feedback
2020-06-07 02:10:26 +02:00
vzotova
790e22685c
Adds `receive()` function to contracts instead of payable `fallback()`
2020-06-05 17:21:05 +03:00
David Núñez
dfa812e42f
Unit tests for EthereumClient.block_until_enough_confirmations()
2020-06-05 04:08:55 +02:00
David Núñez
af0b636098
Update tests to current approach for block confirmations
2020-06-05 04:08:55 +02:00
David Núñez
637ba98ff6
Don't use web3 directly, when we can use the client API
2020-06-05 04:07:57 +02:00
David Núñez
b0e9a40f9c
...and relocate and improve tests for get_confirmations
2020-06-05 04:05:39 +02:00
David Núñez
519fc253bd
First pass at improving block confirmation logic and tests
2020-06-05 04:02:46 +02:00
vzotova
b8b22e9cf0
Hide 'commit-next' from help messages
2020-06-04 20:33:21 +03:00
K Prasch
89a602937b
Merge pull request #2037 from KPrasch/fuzzy
...
Typing for Contract Agents
2020-06-04 09:19:57 -07:00
David Núñez
993b70d19a
Address RFCs to #2059
2020-06-01 16:45:09 +02:00
David Núñez
968a5979ed
Make test refund interactive to increase coverage. Fix a bug along the way!
2020-06-01 04:16:42 +02:00
David Núñez
e04247e5af
Make claiming test interactive to increase coverage
2020-06-01 04:09:55 +02:00