Commit Graph

5764 Commits (ea0f1d10a3f0ffce1517822b94b4a645d0420478)

Author SHA1 Message Date
David Núñez ea0f1d10a3 Incorporate Seeder as a first-class citizen of the NuCypher contracts 2020-02-18 12:25:26 +01:00
David Núñez 53bc713710 Some touches to EventRecord and `nucypher status events` 2020-02-18 12:09:45 +01:00
David Núñez faacd232ce Events class is renamed and moved to new module. New EventRecord class 2020-02-18 12:08:49 +01:00
David Núñez 006a85e294 Revamp the Events manager class
* Fix __getitem__; I was using 'yield' wrong
* Implement __getattr__ and __iter__
* Extract some common logic
2020-02-18 12:08:49 +01:00
David Núñez 0998ccac74 Initial take on `nucypher status events`. By default, it shows all events for current period, for StakingEscrow and PolicyManager 2020-02-18 12:08:49 +01:00
David Núñez c09a7a3bab Move option --contract-name to nucypher.cli.options 2020-02-18 12:08:49 +01:00
David Núñez b908c75a69 Add a method to ContractAgency to obtain agents from contract name 2020-02-18 12:08:49 +01:00
David Núñez 1044d6eaf3 Events class to facilitate even more using events and filters
Example of usage:
staking_agent.events.Deposited(staker='0xF00BAR') produces a generator for all Deposited events for that staker
2020-02-18 12:08:49 +01:00
David Núñez 8e800171b3 First pass at an interactive CLI tool for interacting with agents
TODO: Find a better location for this script?
2020-02-18 12:08:49 +01:00
MacLane S Wilkison b1c0fb9ca6
Merge pull request #1706 from cygnusv/deploy
Update registry with Cassandra WorkLock
2020-02-17 23:51:50 +00:00
David Núñez 4b58f5add2 Update registry with Cassandra WorkLock. Includes minor fix in deployment 2020-02-17 22:47:54 +01:00
David Núñez f530198f7e
Merge pull request #1703 from cygnusv/deploy
Updated registry with new StakingEscrow deployed with test_mode=True
2020-02-17 11:03:37 +00:00
David Núñez c94f90534d Updated registry with new StakingEscrow deployed with test_mode=True 2020-02-17 11:49:05 +01:00
David Núñez 5f291a9cf6
Merge pull request #1692 from tuxxy/give-prisoners-e2ee
Merge the registries repo into the monolith
2020-02-17 10:18:18 +00:00
Tux 72c8bef885
Remove unused import
Co-Authored-By: David Núñez <david@nucypher.com>
2020-02-17 08:35:21 +01:00
K Prasch 306e3c715a
Merge pull request #1688 from vepkenez/fervent-black
improve ansible deployment/management/status
2020-02-15 15:50:06 -07:00
tuxxy 3f23d3958c Iterate from @dnunez feedback 2020-02-15 11:18:29 +01:00
tuxxy 2eb94b7d7a Update the InPackageRegistrySource to use the new registries dir 2020-02-14 21:14:17 +01:00
tuxxy 623f39bdb1 Update the publication_endpoint for the contract registry 2020-02-14 20:45:28 +01:00
tuxxy 6fc9283aca Add current iteration of registries to a registries directory 2020-02-14 20:31:26 +01:00
damon 7bc3a3ecce add nucypher version to status display 2020-02-14 10:43:59 -07:00
damon 9c050d2acd stop geth before running ursula 2020-02-14 09:59:54 -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