KPrasch
be19bebd0e
Merge pull request #3290 from derekpierre/taco-rituals
...
Add `taco` CLI command to list rituals for a specific TACo domain
2023-10-20 11:05:04 +02:00
KPrasch
80aa3c5ca4
Merge pull request #3293 from derekpierre/what-not
...
Add Not Operator Functionality
2023-10-20 11:03:27 +02:00
KPrasch
1769abe26c
Merge pull request #3292 from manumonti/fix-ip-address
...
Fix nucypher CLI: ursula config ip-address
2023-10-20 11:03:09 +02:00
derekpierre
004ed8c594
Add common contract condition validation function that adjusts based on exception class provided.
2023-10-19 11:35:32 -04:00
derekpierre
4417139ed3
Add common validation compound condition function that adjusts based on exception class provided.
2023-10-19 11:17:06 -04:00
KPrasch
9c750c7dd1
Apply suggestions from code review
...
Co-authored-by: piotr-roslaniec <39299780+piotr-roslaniec@users.noreply.github.com>
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-10-19 17:06:04 +02:00
KPrasch
de9e09d69e
Update tests/integration/cli/test_ursula_config_cli.py
...
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2023-10-19 17:05:33 +02:00
derekpierre
4844c7021d
Ensure that condition_type is properly validated.
...
Add tests.
2023-10-19 10:10:08 -04:00
derekpierre
9486f52c44
Fix schema validation - any validation of schema should only raise ValidationErrors.
...
Add tests.
2023-10-19 10:09:14 -04:00
derekpierre
c5abfc5d5b
Add newsfragment for #3293 .
2023-10-19 08:32:32 -04:00
derekpierre
c076aa6f82
Skip `test_learner_learns_about_domains_separately` for now due to inconsistent CI behaviour.
2023-10-19 08:30:05 -04:00
KPrasch
533d4a3a42
Merge pull request #3287 from derekpierre/potpourri
...
Potpourri
2023-10-19 14:13:28 +02:00
Manuel Montenegro
a92aae9b19
Add tests for ursula config ip-address CLI command
2023-10-19 14:07:17 +02:00
derekpierre
50a325d06b
Add contract condition type to compound condition for additional testing.
2023-10-18 20:39:22 -04:00
derekpierre
4c6a0be937
Use ConditionType enum values instead of constants across codebase.
2023-10-18 20:25:56 -04:00
derekpierre
94d9dccbd4
Add tests for not logical condition logic.
2023-10-18 19:45:53 -04:00
derekpierre
d91eacefe3
Add "not" operator and evaluation to CompoundAccessCondition.
2023-10-18 19:44:59 -04:00
Kieran Prasch
f398990b23
Bump version: 7.0.0-rc.1 → 7.0.0-rc.2
2023-10-18 21:50:46 +02:00
KPrasch
caa11ab5d5
Merge pull request #3288 from KPrasch/actions
...
Automation: docker publication triggered by git tagging
2023-10-18 20:52:45 +02:00
derekpierre
2f77acdf30
Update docker build, tag, publication workflow.
2023-10-18 14:51:06 -04:00
Kieran Prasch
f9c4f86ff4
automation: docker publication triggered by git tagging
2023-10-18 20:15:53 +02:00
Manuel Montenegro
6774502b64
Fix ursula config ip-address CLI command
...
Running the command `ursula config ip-address` results in error:
`"ip-address" is not a valid command`.
This is because, after checking the line `if action == "migrate"`, there
is a `elif` keyword. So, when action is not "migrate", the decision
branch runs the `elif action:` section.
2023-10-18 12:32:19 +02:00
Manuel Montenegro
990aee4440
Add quotes to config file path in literal
...
Copy-pasting the recommended command "nucypher ursula config migrate..."
results in error when the path of the config file has blank spaces.
2023-10-18 12:18:45 +02:00
derekpierre
7c65de4f1e
Use HTTPStatus constant instead of 200.
2023-10-17 20:12:56 -04:00
derekpierre
500dc6ac35
Update show_inactive value to True if specific ritual ids are queried.
2023-10-17 12:42:56 -04:00
derekpierre
7f31a740e2
Add newsfragment for #3290 .
2023-10-17 12:36:08 -04:00
derekpierre
9d8f050130
Always include "State", "Active" columns.
2023-10-17 12:32:22 -04:00
derekpierre
187a9c8783
Include Authority and AccessController entries in table output.
2023-10-17 12:26:48 -04:00
derekpierre
55f28b4e61
Add CLI command to list rituals for a specific TACo domain. There is the option to also include inactive ritual information as well.
2023-10-17 12:12:53 -04:00
derekpierre
2b88245e67
Increase decryption timeout.
2023-10-16 16:55:31 -04:00
derekpierre
f8cac1df40
Add label to Profiler so that output can be associated with a specific profiler when multiple profilers are used.
2023-10-16 16:55:31 -04:00
derekpierre
95c913c603
Allow worker pool to get larger than the default which is 20.
2023-10-16 16:55:31 -04:00
David Núñez
afc27972c1
Merge pull request #3285 from derekpierre/cache-chain-id
...
Reduce blockchain calls to get chain id
2023-10-16 15:17:25 -05:00
KPrasch
d9a96fc6cd
Merge pull request #3284 from nucypher/lynx-gh
...
Measure decryption time on simple testnet script. Update CI actions.
2023-10-16 18:38:08 +02:00
derekpierre
06321db6a5
Use functools for caching of the property.
2023-10-16 12:02:02 -04:00
derekpierre
62b849180c
Add newsfragment for #3285 .
2023-10-16 11:53:57 -04:00
derekpierre
97425b162e
Reduce calls made by client to get chain id whenever integer returned instead of hex - if integer there were 2 calls, which was unnecessary.
...
Add test for caching of chain id by EthereumClient object.
2023-10-16 10:53:20 -04:00
derekpierre
9d3fe20ac9
Cache chain id value so that less RPC calls are made to determine chain id - the answer is not going to change; insanity anyone.
2023-10-15 20:10:38 -04:00
derekpierre
78cc17a6af
Move Profiler to utilities so that it can be used in other areas of the code eg. other demos etc.
2023-10-14 11:36:59 -04:00
David Núñez
3c6aa918d2
Custom profiler to maximize developer experience
2023-10-14 04:51:57 +02:00
David Núñez
ff99346096
Newsfragment for 3284
2023-10-14 04:20:01 +02:00
David Núñez
05395f3acd
Change cron schedule of Lynx script to hourly
2023-10-14 04:19:41 +02:00
derekpierre
8ef255248a
Add env variable to gh action file.
2023-10-14 04:19:11 +02:00
derekpierre
3d9fa8263f
Use null context manager to manage collection of statistics or not.
2023-10-13 19:08:47 -04:00
derekpierre
0048b76506
Use env variable to determine whether to collect stats or not.
...
Use more descriptive variable names.
2023-10-13 18:51:33 -04:00
derekpierre
aaa89c730e
Add optional python profiling to script and use profiling functionality for lynx workflow job on CI.
2023-10-13 11:49:53 -04:00
Kieran Prasch
2b1c7d6df2
Bump version: 6.2.0-dev → 7.0.0-rc.1
2023-10-13 15:55:43 +02:00
David Núñez
bb7e4864c7
Measure decryption time in simple testnet script
2023-10-13 14:33:54 +02:00
David Núñez
2b4fdb1426
CI: switch to dtolnay/rust-toolchain action
...
actions-rs/toolchain is no longer maintained, and repo is archived.
See https://github.com/actions-rs/toolchain/issues/216
2023-10-13 14:12:57 +02:00
David Núñez
a41cb033fa
CI: bump actions/checkout to v4
2023-10-13 14:11:20 +02:00