jMyles
6b530ee1a1
Yeah, probably time to just return the response from middleware when using enact_policy().
2020-02-15 19:40:09 -07:00
jMyles
cf07c3add6
Why wasn't blockchain side channel always compatible with the federated one?
2020-02-15 17:58:48 -07:00
jMyles
f0d7781ef5
Fixing up sinpa test to use Amonia.
2020-02-15 17:57:58 -07:00
jMyles
7ed8a95016
Moving composition of transaction onto arrangement up into enact().
2020-02-15 17:57:21 -07:00
jMyles
9003421f73
If some Ursulas have refused, our treasure map won't be sufficiently populated.
2020-02-15 17:56:45 -07:00
jMyles
01eb940f34
Catch UnexpectedResponse during policy enactment.
2020-02-15 17:55:08 -07:00
jMyles
29f5038ba3
Generalize check for TreasureMap destinations.
2020-02-15 17:52:19 -07:00
jMyles
206dbb2037
Checking receipt for Alice's transaction on PolicyManager. #121
2020-02-15 17:51:37 -07:00
jMyles
3f9e93bd51
Moving sinpa logic to new unlawful Character, Amonia.
2020-02-15 17:49:17 -07:00
jMyles
e4fdb529ab
Making middleware exceptions portable.
2020-02-15 17:28:54 -07:00
jMyles
b8a3f0c3c7
Kind of a weird composition, but we'll take it for the moment.
2020-02-15 11:44:07 -07:00
jMyles
e4ccaab6cd
Changing order of ops so that we have the tx for Alice to send to Ursula.
2020-02-15 11:43:17 -07:00
jMyles
d30f937940
Expessly splitting publish() into tmap and blockchain portions.
2020-02-15 11:41:13 -07:00
jMyles
59a82767f6
Including transaction in BlockchainArrangement payload.
2020-02-15 11:39:34 -07:00
jMyles
d3fc314788
Figuring out for a given transaction if Ursula is arranged.
2020-02-15 11:39:01 -07:00
jMyles
9630400ab6
Worker needs policy agent.
2020-02-15 11:38:25 -07:00
David Núñez
0faff6f45a
Test demonstrating how Alice can do a "sinpa" (dine and dash)
...
Fake it till you make it
(This commit was modified by @jMyles to depict the attack in a separate test rather than modifying test_decentralized_grant in place.)
2020-02-14 12:26:39 -07:00
K Prasch
43fa9ab4e8
Merge pull request #1685 from jMyles/master
...
Bump version: 2.0.0-beta.4 → 2.0.0-beta.5
2020-02-13 17:48:48 -07:00
jMyles
e296785867
Bump version: 2.0.0-beta.4 → 2.0.0-beta.5
2020-02-13 17:07:25 -07:00
David Núñez
d3d5cffab3
Merge pull request #1684 from cygnusv/master
...
Update packaged registry with fix for sub-stake duration (#1652 )
2020-02-13 23:55:46 +00:00
David Núñez
bf94a948b0
Update packaged registry with fix for sub-stake duration ( #1652 )
2020-02-13 23:40:06 +01:00
David Núñez
2c60fad725
Merge pull request #1652 from vzotova/cleaning
...
[Do Not Merge] Fixes sub-stake duration (Pending Upgrade)
2020-02-13 22:25:07 +00:00
vzotova
4f7b8aab87
Returning `view` modifier to `PolicyManager.getArrangementsLength` after accidental deletion
2020-02-13 23:16:08 +01:00
vzotova
1e7345d4f4
Increments contracts versions
2020-02-13 23:16:08 +01:00
vzotova
9f13dc81d9
StakingEscrow: separate event for `prolongStake`
2020-02-13 23:16:08 +01:00
vzotova
030eda725f
Apply suggestions from code review #1652
...
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2020-02-13 23:16:03 +01:00
vzotova
ab0bad144e
Small fixes for duration ranges in stake cli
2020-02-13 23:15:22 +01:00
vzotova
b26f3993eb
Fix for duration of sub-stake in case when winding down is disabled
2020-02-13 23:14:28 +01:00
vzotova
16757e32a2
Contracts: public -> external where possible
2020-02-13 23:14:28 +01:00
vzotova
546fc83b44
Rename _totalSupply to _totalSupplyOfTokens to prevent variables shadowing
2020-02-13 23:14:28 +01:00
vzotova
e9f95bab1b
Return values initialization in contracts
2020-02-13 23:14:28 +01:00
K Prasch
ab50461de2
Merge pull request #1622 from KPrasch/inline-config
...
Inline CLI character configuration
2020-02-13 14:54:02 -07:00
Kieran R. Prasch
08ef9efba6
Respond to RFCs in #1622
2020-02-13 14:28:09 -07:00
Kieran R. Prasch
6f9e89d826
Cleanup grant lifecycle tests
2020-02-13 13:40:42 -07:00
K Prasch
bfc14ead3f
Apply suggestions from code review
...
Co-Authored-By: MacLane S Wilkison <maclane@nucypher.com>
2020-02-13 13:40:42 -07:00
Kieran Prasch
18be53f5a5
Tests backing up CLI inline config; worker IP envvar to support.
2020-02-13 13:40:42 -07:00
Kieran Prasch
eb916afa52
Special handling of Alice grant CLI options;
2020-02-13 13:40:42 -07:00
Kieran Prasch
6f8febb7e1
Generic configuration update method on base class.
2020-02-13 13:40:42 -07:00
Kieran Prasch
73984141d8
Adds inverse flags, better handling of invalid IP and staker address collection (prevent crash)
2020-02-13 13:40:42 -07:00
Kieran Prasch
6f68e958f5
Introduces editable character configuration via CLI: nucypher config --field newval
2020-02-13 13:40:42 -07:00
K Prasch
9a4c769429
Merge pull request #1681 from KPrasch/master
...
Bump version: 2.0.0-beta.3 → 2.0.0-beta.4
2020-02-13 13:37:11 -07:00
Kieran R. Prasch
c46ff3f28b
Bump version: 2.0.0-beta.3 → 2.0.0-beta.4
2020-02-13 12:40:41 -07:00
K Prasch
370530e2bf
Merge pull request #1680 from derekpierre/winddown-ux
...
Winding down agreement was a bit cluttered
2020-02-13 12:25:26 -07:00
K Prasch
b949e0b01d
Merge pull request #1655 from cygnusv/more-fixes
...
Fixes to `nucypher worklock`
2020-02-13 11:36:57 -07:00
derekpierre
5e728cac86
Winding down agreement was a bit cluttered - adding some paragraphs for spacing.
2020-02-13 13:28:09 -05:00
David Núñez
d128069abc
Apply suggestions from code review
...
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2020-02-13 11:19:55 -07:00
David Núñez
438878c261
Fix stupid mistake in nucypher-deploy inspect output
2020-02-13 11:19:55 -07:00
David Núñez
f2989880d0
Add WorkLock guide to the docs ToC
2020-02-13 11:19:55 -07:00
David Núñez
a91f0d26a2
Since we use agency_local_registry fixture now, remove registry mock in test_felix
...
Really closes #1346
2020-02-13 11:19:55 -07:00
David Núñez
4b161121c2
WorkLock deployment parameters for tests are hard-coded in token_economics fixture
...
TODO: do something better about it
2020-02-13 11:19:55 -07:00