Commit Graph

174 Commits (d0c25cf8d4d3e9c754212a0ae90a5b51fe6ea5a9)

Author SHA1 Message Date
derekpierre 610f7436f0 Initial work that replaces infix notiation with prefix notation for logical conditions. 2023-06-14 19:38:30 -04:00
derekpierre 26aaf775e3 Change TimeCondition method name to "blocktime" from "timelock". 2023-06-08 11:03:48 -04:00
derekpierre 66f26c032c Change TimeCondition to use block time instead of Ursula system time.
Rename ReencryptionCondition to AccessControlCondition.
2023-06-08 11:03:22 -04:00
Piotr Roslaniec d8b51b6c07 replace ferveo package usage with nucypher core module export 2023-06-01 19:18:05 +02:00
derekpierre eda1fc1a50 Initial changes to conform to latest changes to Coordinator contract in nucypher-contracts. 2023-05-04 17:34:27 -04:00
derekpierre 94a41bd4c0 Relock dependencies using python 3.8; ensure that 3.8 is used by the script.
Update github action to use 3.8 instead of 3.7; update pypi classifiers.
2023-05-02 15:51:16 -04:00
derekpierre 1c531d1908 Code cleanup around building of documentation, removal of solidity scripts/API docs from docs build, removal of deployer CLI text etc. 2023-05-02 10:23:24 -07:00
derekpierre 1e730b1090 Relock to latest dependencies. Remove unnecessary scripts from Pipfile. 2023-05-02 10:23:24 -07:00
derekpierre f3bb4909fb Add random sampling when creating new ritual instead of using the first two staking providers every time. 2023-05-02 10:23:24 -07:00
derekpierre 1f71020cee Add example execution commands. 2023-05-02 10:23:24 -07:00
derekpierre 593be4f131 Code cleanup. 2023-05-02 10:23:24 -07:00
derekpierre 7151f04191 DKG Ritual Script. 2023-05-02 10:23:24 -07:00
derekpierre bf0d8b7889 Relock dependencies, and include __init__ files for new modules. 2023-05-02 10:23:24 -07:00
derekpierre 31c4ca37a9 Update dependency script to account for command line changes for pipenv when generating requirements. 2023-05-02 10:23:00 -07:00
Kieran Prasch 2d0f02a287 config migration script v4 -> v5 2022-12-22 11:53:01 -08:00
Kieran Prasch 1f86c4c042 Remove federated-based automation and demo support. 2022-12-13 11:35:37 +00:00
Kieran Prasch a405cbb683 Remove Ibex and Oryx from nucypher 2022-11-02 13:25:43 +00:00
derekpierre d74d533851 Add GH action for running finnegan's wake demo for pull requests/pushes.
Remove CircleCi validation from pre-commit checks.
2022-11-01 14:51:41 -04:00
Kieran Prasch 73b6b8d15d Removes WebController and WebEmitter 2022-10-27 21:14:34 +01:00
Kieran Prasch 1cb2858d90 pin jinja2<3.1 2022-04-05 12:34:34 -07:00
James Campbell 4c391b2dca Fix bug in git url of dependancy `jsonschema2rst` 2022-03-22 11:10:19 -05:00
Kieran Prasch c809b69f9a Restoration of StakingEscrowDeployer and select tests; cleanup. 2022-02-21 17:23:26 -08:00
Kieran Prasch 73b238a587 Removes staking entities 2022-02-21 17:17:11 -08:00
vzotova 856abe4892 Renames `provider_uri` to `eth_provider_uri` 2022-02-18 11:27:15 +03:00
vzotova 7c437b37b8 Removes `WorkLock` contract/agent/deployer and cli
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2022-02-10 20:19:21 +03:00
Kieran Prasch 62291021ba Respond to RFCs for PR #2857 Pt. II 2022-02-08 11:04:34 -08:00
Kieran Prasch 82fb99022f ursula configuration migration script 2022-02-08 11:02:04 -08:00
Kieran Prasch e73daaa3aa docker bugfixes 2022-01-22 01:09:19 -08:00
derekpierre 589ddff4de Initial refactoring of "character control"; abstract what is now "character control" into a general "base control" from which "character control" can sub-class. 2021-07-26 15:14:42 -04:00
KPrasch a93af0d82f
Merge pull request #2597 from derekpierre/staking-pool-docs
Staking Pool Docs
2021-04-09 14:24:58 -07:00
Piotr Roslaniec ec757bf4a9 Use constant for loopback address 2021-04-08 13:33:34 +02:00
derekpierre fd099d8946 Initial docs for staking contract work. 2021-04-07 10:42:41 -04:00
damon ddf90ef0cc fix finnegans wake in circle context 2021-02-13 18:39:36 -08:00
Kieran Prasch c8ca20adeb Remove demo book downloading script from CI; Additional commentary. 2021-02-13 18:35:31 -08:00
Kieran R. Prasch 1c5bab189e Bypass startup IP checks for federated development fleet. 2021-01-12 13:10:15 -08:00
David Núñez b47d942a60 Add option to relock_dependencies.sh to produce requirement files from the existing Pipfile.lock
Otherwise, the default is to create a lock file, and then create the requirements files. The motivation of this change is that the validate_reqs_files job on CI wasn't deterministic, as it was failing everytime some dependency was updated (and therefore, the produced dependency file was updated and different to the existing in the codebase)
2021-01-12 17:26:06 +01:00
David Núñez 17fc6289c9 The relock dependencies script is now in scripts/dependencies 2021-01-12 17:26:06 +01:00
David Núñez a63a8bf83d CI: Store evidence of inconsistent requirement files 2021-01-12 17:26:06 +01:00
David Núñez 9f3f94e86e CI: Make validate_reqs_files job consistent with current relock process 2021-01-12 13:26:52 +01:00
derekpierre 0fc8d1ea2c Include relock of docs requirements in the relock_dependencies script. 2021-01-07 11:10:57 -05:00
K Prasch ad938a47d1
Merge pull request #2440 from cygnusv/relock
Relock dependencies
2021-01-04 12:30:11 -08:00
Kieran Prasch 68926390ad Implement pipenv's --dev-only flag while generating pip-tools requirements. 2021-01-04 13:16:42 +01:00
Victoria 665909322c
Apply suggestions from code review #2492
Co-authored-by: K Prasch <kieranprasch@gmail.com>
2021-01-04 12:07:20 +03:00
vzotova fadf893b14 Added solidity installation step to sphinx and rtd build 2021-01-04 11:55:44 +03:00
David Núñez 31504762ec Removes automatic header comments from pipenv lock 2021-01-04 09:20:00 +01:00
vzotova 6cd8a03cd0 Fix rtd build 2020-12-31 14:36:29 +03:00
vzotova 857d35c7d6 Apply suggestions from code review #2477
Co-authored-by: K Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-12-28 11:19:06 +03:00
vzotova 54ccf6049e Script that compiles contracts and transforms userdoc+devdoc to rst 2020-12-25 11:26:51 +03:00
Kieran Prasch 89043b3065 Deprecates managed provider/client syncing 2020-12-14 12:01:18 -08:00
Kieran Prasch b8efadc97b Respond to RFCs in PR #2328 2020-10-02 08:23:10 -07:00
Kieran R. Prasch 6a6adecc49
Script for updating configuration file from v1 -> v2 2020-10-01 23:31:05 -07:00
Kieran R. Prasch ac9ebea8d0
Add missing lisences 2020-09-08 13:08:10 -07:00
jMyles de266be0cf Resolving import conflicts with main. 2020-08-31 01:07:27 -07:00
Justin Holmes 0ef89315b2
The small corrections by @cygnusv.
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-30 23:29:51 -07:00
Kieran R. Prasch 51a25fe23e
Run unit tests on push. Usees a test script as an entrypoint for pre-push hooks. 2020-08-25 07:09:59 -07:00
jMyles 0de8e25132 Merge commit from main (and merge candidate into main.) 2020-08-21 20:32:45 -07:00
derekpierre 6ae4a3f1c2 Random documentation improvements including language audit of literature.py 2020-08-18 16:59:04 -04:00
jMyles 589dacb0d6 One wonders if War and Peace would have been as highly acclaimed as it was, had it been published under its original title 'War, What Is It Good For.' 2020-08-18 11:58:39 -07:00
damon c9d176e972 use 12 ursulas for circle docker demo integration tests 2020-08-10 12:52:31 -07:00
David Núñez 858bdc71c3 Reorganization of testnet registries 2020-06-09 01:20:27 +02:00
Kieran R. Prasch dda6123742 Initial setup for towncrier 2020-05-28 11:59:08 -07:00
Kieran R. Prasch 1bcd98b898 Thin out dependency relocking script 2020-05-28 11:59:08 -07:00
derekpierre 668f25bc38 Add pre-commit hook to ensure that AGPL license is included in python source files 2020-05-22 08:55:06 -04:00
David Núñez 690a959040
Merge pull request #2013 from KPrasch/lazy-import
Support for missing tests package
2020-05-20 22:00:57 +02:00
Kieran Prasch f29e5523c6
Responds to RFCs in PR #2013: Tests reflect the changes. 2020-05-20 12:36:21 -07:00
Kieran Prasch ac07ff7415
Exception handling for development installation required. 2020-05-19 21:57:36 -07:00
derekpierre c1d93d8941 Add "end-of-file-fixer" to pre-commit hooks 2020-05-19 14:28:29 -04:00
Kieran Prasch a935dc8e2d
Annihilate the sandbox 2020-05-15 08:33:38 -07:00
K Prasch 5656629b29
Update scripts/installation/install_solc.py
Co-authored-by: David Núñez <david@nucypher.com>
2020-05-04 19:02:07 -07:00
Kieran R. Prasch 246755bfdd Respond to RFCs in PR #1948; Use shorter paths in solc install script. 2020-05-04 16:22:49 -07:00
vzotova 79dd237157 Leaves version check to py-solc-x 2020-05-04 20:57:07 +03:00
Kieran Prasch b90da6f9d4 Refines install solc script for py-solc-x; Use arv/env/packaged version resolver. 2020-05-04 09:17:53 -07:00
Kieran Prasch 26f653f965 Refactor solc installation script to implement py-solc-x. 2020-05-04 09:17:53 -07:00
Kieran Prasch de090ad489
Add deps for pre-commit hooks and relock. 2020-04-23 17:23:36 -07:00
David Núñez 6b171dcf03 Autodetect POA from chain_id when it's not set explicitly 2020-04-10 15:19:52 +02:00
K Prasch 93353635ce
Update scripts/circle/run_heartbeat_demo_docker-circle.sh
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2020-04-08 08:11:36 -07:00
Kieran Prasch 0872541e97
Remove echo about waiting for learning; I am only sleeping... 2020-04-08 07:40:23 -07:00
David Núñez 6a0c2a4379 Change some missing cassandras to gemini 2020-04-02 02:32:18 +02:00
K Prasch 9bc98a0384
Merge pull request #1800 from vepkenez/upload-limits-1743
Limit data size posted to Nucypher nodes to 50k
2020-04-01 09:28:20 -07:00
Kieran Prasch 8ed44d60b8
Cleanup Ursula stopping services, prevent halting of reactor via health checks in test; test touch ups. 2020-03-31 11:18:39 -07:00
Kieran Prasch 359d4ca50e
Fixes docker compose service name typo. 2020-03-31 11:05:25 -07:00
Kieran Prasch 285715e290
Respond to RFCs in PR #1462; Implement RestMiddleware client for self-health checks. 2020-03-31 11:05:25 -07:00
Kieran R. Prasch b169ea0460
Enforce cascade startup of circle demo docker ursulas 2020-03-31 11:05:25 -07:00
damon e1149bdf71 don't crash if no Pipfile.lock exists 2020-03-26 13:26:03 -07: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
vzotova 70f21ddc1e * Apply suggestions from code review #1627
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-01-30 19:36:43 +03:00
vzotova f4c2c4c668 solc bash installation script -> python script, to use solc version from the code 2020-01-29 17:01:11 +03:00
K Prasch e10bcf5647
Merge pull request #1493 from KPrasch/cadmium
Ensure all tests can run in a singe session; Docker adjustments
2019-12-10 00:41:41 -08:00
K Prasch 86cd87dad6
Merge pull request #963 from nucypher/doubtfire
[EPIC] Doubtfire: Modifications for Monitoring Applications
2019-12-06 12:18:56 -08:00
Kieran R. Prasch 57df8069a4 use random worker private key in manual worker fixture; remove stale script. 2019-12-03 21:05:25 -08:00
Kieran R. Prasch 7d57c387c0 Place solc binary next to env. python. 2019-12-03 14:11:31 -08:00
Kieran R. Prasch dba01a0c42 Fixes Issue #828 with set -e and OS detection. 2019-12-03 14:11:31 -08:00
derekpierre d87c894e2a Ensure that ursula status page still works correctly while sharing logic with monitor status page
Ensure status page still renders for federated mode
Cleanup of local fleet script with invalid command option
2019-11-25 16:22:50 -08:00
Kieran Prasch 594b01c4fb
Include humanized version of deps re-locking via shell script. 2019-09-13 10:52:28 -07:00
Kieran R. Prasch 81eb7ddd10 Bundle the solc binary with cached deps; Adapt solc install to target user's local bin. 2019-09-06 11:59:05 +02:00
derekpierre af5a938219 Resolve issues running local development fleet scripts/files 2019-09-04 09:07:11 -04:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
David Núñez e847bcdaca Correct order of --debug in dev scripts and deploy scripts 2019-07-31 01:58:04 +02:00
Kieran Prasch 2dd3e92868
Shortens CLI flag names to --provider and --teacher. 2019-07-26 10:14:41 -07:00
Bogdan Opanchuk b473c0f4bd
Hide registering/unregistering observers and Sentry init inside utilities/logging
Also add a check that Sentry SDK is only initialized once
2019-07-25 15:18:29 -07:00