Conversation
Codecov Report
@@ Coverage Diff @@
## master #1327 +/- ##
==========================================
+ Coverage 83.84% 83.96% +0.11%
==========================================
Files 72 72
Lines 10829 11170 +341
==========================================
+ Hits 9080 9379 +299
- Misses 1749 1791 +42
Continue to review full report at Codecov.
|
57d4a15 to
b1a0355
Compare
af36d91 to
0df10c3
Compare
…, like PolicyManager
Auto-detect HW accounts in TransactingPower. Finalize basic staking via contract CLI functionality.
Fix conflicts in nucypher stake and nucypher-deploy
| emitter.echo(row, color='red') | ||
| emitter.echo('') # newline | ||
| elif not active_stakes: | ||
| emitter.echo(f"There are no active stakes\n") |
There was a problem hiding this comment.
Just to clarify our logic here - we only log There are no active stakes if there are no active stakes AND paint_inactive is false.
If there are no active stakes but paint_inactive is true, then we don't log?
There was a problem hiding this comment.
L420 loops over non-active stakes. So if paint_inactive is True then it prints any existing non-active stake.
There was a problem hiding this comment.
Apologies if I'm missing something here.
Is it the case that the stakes parameter always has at least one stake in it? If stakes is empty, but paint_inactive is True, we will print the following:
========= Inactive Stakes ============
<---- headers----->
------|-------| ....
with no stakes listed, correct? So we show empty Inactive Stakes titled section?
There was a problem hiding this comment.
Ah I see. Well, we have an open issue for this command option (#1436), we can rethink this there.
Co-Authored-By: MacLane S Wilkison <maclane@nucypher.com> Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
| staking_agent = ContractAgency.get_agent(StakingEscrowAgent, registry=registry) # type: StakingEscrowAgent | ||
|
|
||
| try: | ||
| economics = TokenEconomicsFactory.get_economics(registry=registry) |
Goals:
UserEscrowstaking with the CLIUserEscrow,UserEscrowProxyandUserEscrowLibraryLinker(see Is UserEscrowProxy a good name? #1110)Ramp:
nucypher-deploy allocations#1319Fixes:
nucypher stake list#1418Chaperone: @cygnusv