Commit Graph

300 Commits (main)

Author SHA1 Message Date
derekpierre f669dc1ec6
Update ritual id for testnet examples - use ritual 0 for lynx that now uses polygon amoy. 2024-04-10 09:04:15 -04:00
derekpierre 8ac343ac54
Update chain id used in taco examples to be polygon amoy. 2024-04-10 09:04:10 -04:00
KPrasch d06bb7af9a repairs a p2p validity test that implements /ping. Linting. 2024-01-23 19:21:26 +01:00
derekpierre 5163aed044 Use ritual id 5 for lynx examples now that ritual 0 is expired. 2024-01-17 09:31:32 -05:00
derekpierre 99ebdfe8dc Deprecate use of goerli blockchain; Lynx will now use Sepolia. 2024-01-04 13:23:02 -05:00
derekpierre e449e51d22 Modify examples to use lynx ritual id 0 since lynx's redeployment wiped out previous rituals. 2023-11-28 13:43:41 +01:00
derekpierre 66f5903b7a Lynx Ritual 3 is expired; use 24 instead. 2023-11-10 10:43:16 -05:00
Kieran Prasch 7246e10f84 type hinting and removal of misleading comments. 2023-10-31 14:30:15 +01:00
Kieran Prasch ae9f4b40fa Use a constant for the temporary domain 2023-10-31 14:30:15 +01:00
Kieran Prasch 0df05d38f2 Conventionally import (collapsed) domains for namespacing 2023-10-31 14:30:15 +01:00
Kieran Prasch b1afa231d5 use TACoDomain everywhere 2023-10-31 14:30:15 +01:00
derekpierre 4c6a0be937 Use ConditionType enum values instead of constants across codebase. 2023-10-18 20:25:56 -04: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 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
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
David Núñez bb7e4864c7
Measure decryption time in simple testnet script 2023-10-13 14:33:54 +02: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
derekpierre fa044c460d Update comment now that ritual number has changed. 2023-10-11 08:28:41 -04: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
David Núñez 3ec0508aa3
Add final assertion to testnet example to determine if script worked 2023-10-10 10:35:33 +02:00
derekpierre ef10a85fc1 Update pre examples READMEs. 2023-10-06 08:39:11 -04:00
derekpierre d8b9180921 Update domains/TACoDomain structure.
Added magic methods.
2023-10-05 06:20:13 -04:00
derekpierre f79ad31ee2 Don't use TACoDomain object in examples since not really needed. 2023-10-04 13:30:18 -04:00
derekpierre bee3c926d4 Rename networks module to domains, and remove NetworksInventory class; module contains all values and methods now. 2023-10-04 13:30:18 -04:00
derekpierre 4507580196 Update CLI --network option to be --domain.
Update subsequent function calls to use domain as well instead of network.
Update some constants to use _DOMAIN instead of _NETWORK.
2023-10-04 13:30:18 -04:00
derekpierre 2d2b67e5d2 Rename of various functions/constants from NetworksInventory to use domain instead of network.
Rename variables obtained by calling into NetworksInventory to use domain instead of network.
Rename NuCypherNetworkName CLI validation object into NuCypherDomainName.
2023-10-04 13:30:18 -04:00
derekpierre eafe4b65a9 Rename provider_uri parameter for ContractAgents.get_agent to blockchain_endpoint. 2023-10-04 13:30:18 -04:00
derekpierre 941b21f34f More renames of instances of eth_provider_uri to either blockchain_endpoint or eth_endpoint. 2023-10-04 13:30:18 -04:00
derekpierre 55c6e6a971 Update PRE examples to no longer require specifying an L2_NETWORK since it is implied based on the TACo Network being used. 2023-10-04 13:30:18 -04:00
derekpierre 4ab26188e9 Update TACo example scripts to no longer use redundant parameters with respect to polygon network. 2023-10-04 13:30:18 -04:00
derekpierre 4166c7dae9 Rename eth_provider_uri to eth_endpoint as it pertains to Characters/nodes/CLI options. 2023-10-04 13:30:18 -04:00
Kieran Prasch 1858f49a99 tests use the refactored ContractRegistry and RegistrySource interfaces 2023-10-04 19:24:43 +02:00
Kieran Prasch e1f81d9a5e nucypher packages Base|InMemory|ContractRegistry -> ContractRegistry 2023-10-04 19:24:43 +02:00
derekpierre 2d000bad26 Reconfigure examples folder structure; default is taco, and pre is the subfolder. 2023-09-28 11:53:20 -04:00
derekpierre 8ac2af0272 Move PRE examples to their own subfolder.
Update .gitignore appropriately.
2023-09-28 11:53:20 -04:00
derekpierre 99d2bd86ae Update README/comments to no longer reference the legacy NuCypher Network. 2023-09-28 11:53:20 -04:00
derekpierre 52341f2e3d Update finnegan's wake demo to work properly, and update README. 2023-09-28 11:53:20 -04:00
derekpierre 036c9bda22 Update hearbeat PRE demo to work appropriately. 2023-09-28 11:53:20 -04:00
derekpierre 05e34f6620 Rename tdec folder/files to use taco. 2023-09-28 09:46:23 -04:00
derekpierre 2bf6c3d187 Update example with compound condition to use the default test Enrico signer. 2023-09-28 09:43:33 -04:00
derekpierre 2ba062da79 Update example local script to use a random signer with Enrico. 2023-09-28 09:38:04 -04:00
derekpierre 32a5ba187e Update testnet example to use known Enrico signer.
Minor clean up based on api updates.
2023-09-28 09:36:02 -04:00
Kieran Prasch 499f903976 Adapt tests and exmaples to merged Operator, without Ritualist. 2023-09-14 16:26:05 -04:00
derekpierre 243448d015 Bob no longer needs ritual id as a parameter for decrypting the threshold message kit since the Coordinator contract can be used for obtaining the ritual id from the dkg public key which is already stored in the threshold message kit. 2023-09-11 11:50:54 -04:00
LunarBytes cecdee5fde
Merge pull request #3210 from KPrasch/multichain
Multichain Compound Condition Example (Lynx)
2023-08-28 11:24:08 +02:00
LunarBytes b616bc780c
Merge pull request #3209 from KPrasch/bugfixes
Assorted Bugfixes (migrations, multichain, condition schema)
2023-08-28 10:51:08 +02:00
derekpierre ce3d399483 Remove fake python core shim, and use actual nucypher_core objects now that they are available via associated nucypher-core PR. 2023-08-27 03:19:28 +02:00