Commit Graph

  • 24d0669940
    Add use of ConditionProviderManager across lingo evaluation / condition verification. derekpierre 2025-01-24 14:35:47 -0500
  • 27a02837c4
    Add ConnectionProviderManager utility to be eventually used for managing connection providers for conditions. Raise separate exceptions for no connection vs invalid connection to blockchain - those are two different scenarios. derekpierre 2025-01-23 17:04:29 -0500
  • 7c37929b32
    Merge pull request #3578 from derekpierre/lingo-cleanup Derek Pierre 2025-02-05 13:05:06 -0500
  • 470f95f9ce
    Remove use of NuCypherToken contract and corresponding use of NuCypherTokenAgent from tests since NuCypherToken contract was removed from `nucypher-contracts` repos. derekpierre 2025-01-27 14:35:55 -0500
  • 07c6355141
    Add dev newsfragment for #3578. derekpierre 2025-02-04 09:16:26 -0500
  • 78889274ce
    Update lingo test file based on current schema and add test for all entries in the file. derekpierre 2025-02-04 09:07:12 -0500
  • 97aa16cd6e
    Update ConditionDict types to account for updated JsonApiCondition and JsonRpcCondition. derekpierre 2025-02-04 09:06:32 -0500
  • dbac4f1c68
    Merge pull request #3577 from manumonti/update-readme Manuel Montenegro 2025-01-31 15:26:43 +0100
  • bb073ad2c6
    Add newsfragment Manuel Montenegro 2025-01-29 20:01:37 +0100
  • d1d0be03e3
    Update SECURITY.md links to docs.taco.build Manuel Montenegro 2025-01-28 13:50:57 +0100
  • c471721256
    Update README links to docs Manuel Montenegro 2025-01-28 13:46:35 +0100
  • ee26e9ecad
    Merge pull request #3571 from derekpierre/non-evm-rpc Derek Pierre 2025-01-06 08:41:19 -0500
  • 74df16e015
    Apply AI RFCs from #3571. derekpierre 2025-01-02 09:19:56 -0500
  • f718a00ba1
    Add common base condition class for JSON Api and Rpc for common verify method. derekpierre 2024-12-29 20:48:09 -0500
  • 6553f6bd77
    Ensure that result field is present in JSON RPC response before processing. derekpierre 2024-12-29 20:42:41 -0500
  • cc1954cf04
    Add acceptance test that showcases possible prototyping strategy for making RPC calls on non-evm blockchains. derekpierre 2024-12-19 10:57:32 -0500
  • b7cb9375a7
    Improve test coverage. Minor code clean up. derekpierre 2024-12-17 16:00:13 -0500
  • cd7a0de529
    Add newsfragment for #3571. derekpierre 2024-12-17 13:32:05 -0500
  • bc8ff993c8
    Fix processing logic of json path query; proper exceptions are handled and raised. derekpierre 2024-12-17 12:02:03 -0500
  • 834cd7dd69
    Clean up repeated member variable from JsonRpcCondition. derekpierre 2024-12-17 09:05:13 -0500
  • 258f5cd3ae
    Use json parameter instead of data when using requests.post; also simplifies testing. derekpierre 2024-12-17 09:04:29 -0500
  • 91779df1fb
    Add unit tests for JsonRpcCondition. derekpierre 2024-12-16 16:10:45 -0500
  • e51a02c26a
    Split out JsonPathField tests into its own test module. derekpierre 2024-12-16 16:04:47 -0500
  • 9440dd1820
    Update exception error message for failed JSON rpc call. derekpierre 2024-12-16 16:03:32 -0500
  • 3cade99a43
    Fix incorrect naming. derekpierre 2024-12-16 15:03:32 -0500
  • 504c2d0498
    Update code based on limitations of python 3.9. `http.HTTPMethod` and `typing.override` are not available. derekpierre 2024-12-16 13:31:56 -0500
  • a629f9b9a1
    Allow authorization_token to be passed along. Some code clean up. derekpierre 2024-12-16 10:44:35 -0500
  • 4655d667e4
    Initial functionality for JSON RPC conditions. These are split into two types: JsonRpcCondition (any json endpoint, where the endpoint is specified), NonEvmJsonRpcCondition where default RPC endpoints based on blockchain name are utilized. JsonRpcCondition could be used as is for GraphQL type functionality. NonEvmRpcCondition is specific to non-evm blockchains - unsure which we will support at the moment; at least "solana" and "bitcoin"...what does this mean for `:userAddress`...? derekpierre 2024-12-16 10:15:21 -0500
  • 2a112005ff
    Refactor JSON functionality into its own package. JsonRequestCall is the base abstract class for all HTTPS JSON-based requests. JsonApiCall subclasses JSONRequestCall for use with the JsonApiCondition. Update imports and references accordingly. derekpierre 2024-12-16 09:14:42 -0500
  • 254b0c54fb
    Merge pull request #3569 from derekpierre/any-rpc Derek Pierre 2024-12-19 08:36:17 -0500
  • 779a4534f7
    Apply RFCs for #3569. derekpierre 2024-12-18 10:25:57 -0500
  • 9494ede171
    Apply RFCs - update variable name, and update associated log/exception messages. derekpierre 2024-12-16 09:27:10 -0500
  • dde6c06b58
    Apply RFC - rename CHAINLIST_URL constant. derekpierre 2024-12-16 09:17:48 -0500
  • d1460a40ee
    Remove commented line James Campbell 2024-12-13 10:06:14 +0100
  • acf59fdd9f
    Remove commented out lines in tests concerning unsupported chain ids. Condition objects don't have any concept of TACo domains and therefore have no insight into which chains are supported. Now that `lynx` supports "any" EVM chain this has become more evident and those test cases are not longer valid. derekpierre 2024-12-12 12:39:33 -0500
  • 8d1a68b7b6
    Add feature newsfragment for #3569. derekpierre 2024-12-12 09:55:50 -0500
  • d3af0637d0
    Fix linting issue. derekpierre 2024-12-12 09:42:14 -0500
  • c1fa8502ae
    Merge pull request #8 from theref/default-rpc Derek Pierre 2024-12-12 09:13:21 -0500
  • da23d687be
    Add check for user supplied endpoints James Campbell 2024-12-12 14:02:05 +0100
  • 8668583ba0
    Use `functools.cache` instead of memoize and update tests accordingly James Campbell 2024-12-12 13:58:02 +0100
  • 4f9d9fba22
    Improve doc strings to match type hints James Campbell 2024-12-12 13:52:53 +0100
  • d3c7be4db7
    Fix domain bug and move rpc endpoint shuffling James Campbell 2024-12-12 13:51:06 +0100
  • 25eec7314c
    Shuffle rpc endpoints James Campbell 2024-12-11 16:18:10 +0100
  • 456195a8c6
    Improve commenting James Campbell 2024-12-11 15:08:17 +0100
  • d06d2880a3
    Use TACoDomain object when fetching rpc James Campbell 2024-12-11 13:13:25 +0100
  • 08359f4812
    Improve handling of chainlist url string James Campbell 2024-12-11 13:01:49 +0100
  • d2a4536612
    Remove condition chain validation from Operator and update test infrastructure James Campbell 2024-12-10 11:47:40 +0100
  • 681ae66bf5
    Refactor RPC endpoint management to use domain-specific endpoints James Campbell 2024-12-10 11:47:36 +0100
  • c8d5227d28
    Remove condition chains concept from domains and related tests James Campbell 2024-12-10 11:47:32 +0100
  • 007fdeb9fc
    Stop using deprecated datetime methods. derekpierre 2024-12-06 14:11:40 -0500
  • cfef6c1a8f
    Add randomness to returned list so that the same endpoints are not used every time and by every node. derekpierre 2024-12-06 12:37:14 -0500
  • f323bf212b
    Comment out chain id validation for now, since it is possible to use other chains. We probably want to still do validation on mainnet, but not on lynx - let's deal with that in a later commit. Comment out tests on validity of chain id provided to EVM conditions. derekpierre 2024-12-06 11:51:56 -0500
  • b4a6e24d58
    Fix faulty condition tests - each needed a new copy of the condition dict. derekpierre 2024-12-06 12:01:59 -0500
  • d414553e53
    Use utility to fetch public rpc endpoints when there are no providers for chain configured. derekpierre 2024-12-06 11:49:58 -0500
  • 8cbc0f12d3
    Add utility function of obtain public rpc urls from chainid.network based on chain id. derekpierre 2024-12-06 11:45:36 -0500
  • f0f13e20ec
    Preserve error type when RPC fails James Campbell 2024-12-06 14:42:27 +0100
  • e8f97395b4
    Remove redundant attribute in RPC schema definition James Campbell 2024-12-06 14:18:14 +0100
  • 4733b6de8e
    Refactor error handling for RPC based conditions James Campbell 2024-12-06 14:05:58 +0100
  • 6f03e2283d
    Always call `_check_chain_id` in rpc based condition James Campbell 2024-12-06 13:51:37 +0100
  • 47f8bd39c7
    Apply suggestions from code review James Campbell 2024-12-06 09:33:39 +0100
  • 3b9d065617
    Fix error handling in RPC condition variants James Campbell 2024-12-05 19:03:53 +0100
  • 815961d1c6
    Mock nucypher code rather than `w3` library James Campbell 2024-12-05 16:27:13 +0100
  • afb7f0deb8
    Add tests for rpc hierarchy and unsupported chains James Campbell 2024-12-05 15:21:59 +0100
  • 17042eb847
    Use local rpc if availabe, otherwise use `rpc_endpoint` James Campbell 2024-12-05 14:10:36 +0100
  • 572b4eb9b2
    Add unit test for rpc_endpoint James Campbell 2024-12-03 16:00:30 +0100
  • fc645f0f4b
    Set `rpc_endpoint` to `allow_none=True` and include in TimeCondition James Campbell 2024-12-03 12:39:20 +0100
  • 766daac410
    Include rpc_endpoint in the `__init__` James Campbell 2024-12-02 18:02:02 +0100
  • e6d5f5cfde
    Rename `endpoint` -> `rpc_endpoint` James Campbell 2024-12-02 17:21:08 +0100
  • d75c5debe7
    Add newsfragment for 3566 James Campbell 2024-12-02 15:18:30 +0100
  • e8630985d5
    Use rpc endpoint for condition if provided, otherwise default to chainID James Campbell 2024-12-02 15:10:08 +0100
  • 0839427718
    Merge pull request #3564 from theref/json epic-non-evm Derek Pierre 2024-12-04 09:33:44 -0500
  • 11499a3462
    Update test from EIP712 to EIP4361 James Campbell 2024-11-07 10:38:55 +0700
  • 40339d4f5e
    Fix json api test James Campbell 2024-11-06 15:17:53 +0700
  • 7710d5a2e4
    Add failing test for :userAddress in json api condition url James Campbell 2024-11-06 13:02:17 +0700
  • fb86b9ed37
    Update dependencies to latest versions. derekpierre 2024-11-06 13:15:31 -0500
  • a365fa8a45
    Merge pull request #3563 from derekpierre/dep-update Derek Pierre 2024-11-06 11:35:50 -0500
  • ead485d0db
    Add dev newsfragment to #3563. derekpierre 2024-11-01 12:27:41 -0400
  • 36039dea0a
    Relock dependencies after limiting version of eth-ape due to incompatibility between pytest and eth-utils. derekpierre 2024-11-01 12:24:33 -0400
  • a78ac58819
    Merge pull request #3562 from derekpierre/latency-tracking Derek Pierre 2024-11-06 11:03:55 -0500
  • 8ceab1a22c
    Have Learner objects specify whether they want to collect node latency statistics or not. Ursulas don't currently have a use for the statistics (default is False), but Bob and Porter do for decryption requests. derekpierre 2024-11-06 08:43:02 -0500
  • b1fb873398
    Use math.isclose for floating point comparisons in unit tests. derekpierre 2024-11-06 08:08:01 -0500
  • 0617833973
    Add unit test for moving average window. derekpierre 2024-11-05 14:33:51 -0500
  • fb4152d8e2
    Add the ability for a moving average window to be used with the collector. derekpierre 2024-11-05 14:29:04 -0500
  • bc8f8f1b84
    Make update_stats non-public to indicate that it should not be used directly; really it should only be called by a `NodeLatencyContextManager`. derekpierre 2024-11-01 14:13:41 -0400
  • c94da3e9d8
    Add feature newsfragment for #3562. derekpierre 2024-10-31 17:05:36 -0400
  • 1494b012ce
    Re-enable test that was mistakenly disabled in v7.4.1. derekpierre 2024-10-31 17:01:33 -0400
  • 061eea5842
    Add acceptance test to ensure that ordering of ursulas is adjusted for decryption requests. derekpierre 2024-10-31 16:58:48 -0400
  • 45711afd24
    Remove TODO now that issue is being addressed. derekpierre 2024-10-31 16:58:10 -0400
  • 572924a104
    Add unit tests for node latency collector utility. derekpierre 2024-10-31 15:45:45 -0400
  • 11c79da8c5
    Use running average instead of total time so that the value stored doesn't continually increase over time; although unlikely, this heads off any issue of number overflow over a prolonged period of time. derekpierre 2024-11-01 09:25:58 -0400
  • 62f2fa9b35
    Move latency stats collector to its own utility class. derekpierre 2024-10-31 15:44:11 -0400
  • 4ef417ee6e
    Use learner's collection of average latency stats for ordering decryption requests. derekpierre 2024-10-31 13:35:03 -0400
  • fc17bbfc53
    Add utility to Learner for tracking node connection latency. derekpierre 2024-10-31 13:34:17 -0400
  • 2d85ccf07b
    Merge pull request #3560 from derekpierre/json-auth Derek Pierre 2024-10-30 11:12:33 -0400
  • 67f7b5c5cd
    Respond to RFCs for #3560. derekpierre 2024-10-30 09:17:32 -0400
  • 8d5973aa63
    Code cleanup. derekpierre 2024-10-28 08:48:46 -0400
  • 9d1a0e95c5
    Add feature newsfragment for #3560. derekpierre 2024-10-25 15:47:05 -0400
  • c46219f1ba
    Remove functionality for post requests for JsonApiCondition i.e. only HTTPS GET is allowed. Revert "inputs" parameter back to "parameters". derekpierre 2024-10-25 13:55:32 -0400
  • 788eb6f3ec
    Resolve various values of JsonAPICall in case they contain context variables eg. endpoint, query etc. Update tests. derekpierre 2024-10-25 13:30:21 -0400
  • b5e35a7188
    Allow context variables to resolved even if they are a substring within a larger string, or a dictionary value etc.; all context variables (string, list, dict) can now resolved via the same method. derekpierre 2024-10-25 11:15:00 -0400