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
LunarBytes
3486242f9b
Merge pull request #3282 from derekpierre/too-eager-config
...
UrsulaConfiguration logic was too eager to connect to provided endpoints
2023-10-13 13:08:59 +02:00
derekpierre
8e73577d01
Add newsfragment for #3282 .
2023-10-12 16:13:28 -04:00
derekpierre
9d393cbc67
Connecting to endpoints was too eager with respect to the configuration object - the issue being that because connections are made, if the endpoint is faulty then the endpoint configuration can't be modified.
2023-10-12 15:59:10 -04:00
LunarBytes
b73142a4d0
Merge pull request #3274 from nucypher/lynx-gh
...
Running Lynx simple example as a GH action
2023-10-12 18:35:55 +02:00
Derek Pierre
522480247f
Merge pull request #3279 from derekpierre/expired-ritual
...
Nodes should reject decryption requests for expired rituals
2023-10-11 19:01:39 -04:00
derekpierre
fa044c460d
Update comment now that ritual number has changed.
2023-10-11 08:28:41 -04:00
David Núñez
dbba3bfd59
Merge pull request #3272 from derekpierre/bad-cache
...
Fix inconsistent python dependency updates when cached dependencies used
2023-10-11 07:30:15 +02:00
derekpierre
88bfd34ba8
Update example scripts to use ritual id 3 on lynx instead of 1 which is already expired.
2023-10-10 12:08:12 -04:00
derekpierre
900ebc7c23
Add newsfragment for #3279 .
2023-10-10 11:31:22 -04:00
derekpierre
05aff5203c
Add integration test for decryption failure cases: unauthorized encryption, expired ritual.
...
Better scope test exception by using match for exception messages.
2023-10-10 11:27:22 -04:00