Commit Graph

335 Commits (275751f3400e1ef0f7f3d33b788ef0b475a08974)

Author SHA1 Message Date
Bogdan Opanchuk 2be3d727d5 Rename TreasureMap field and datastore model to EncryptedTreasureMap 2021-08-19 17:06:45 -04:00
KPrasch ed67bbcd7b
Merge pull request #2777 from KPrasch/main
Relock Dependencies
2021-08-18 15:43:09 -07:00
KPrasch 79631124b5
Merge pull request #2771 from derekpierre/aug12-hotfix
Include changes and release notes from v5.3.1 hotfix in `main`
2021-08-17 15:47:32 -07:00
Kieran R. Prasch 1f7ee94489 Update eth_account Transaction API imports. 2021-08-17 15:34:44 -07:00
Bogdan Opanchuk 279a647be0 Move ENCRYPTED_KFRAG_PAYLOAD_LENGTH into AuthorizedKeyFrag 2021-08-13 14:46:56 -07:00
Bogdan Opanchuk 8c628da9ea Extract kfrag authorization into a class 2021-08-12 16:34:05 -07:00
Bogdan Opanchuk e5c0bb079e Fix the remainders of Alice/Publisher separation 2021-08-12 16:32:02 -07:00
derekpierre 9487979fae Remove problematic gas feed for now, and make gas feeds more robust against errors.
Ensure median returns an int.
2021-08-12 13:08:30 -04:00
Piotr Roslaniec 7aaa5b128f Apply PR suggestions 2021-08-06 18:10:45 +02:00
Piotr Roslaniec 09e90d17fa Remove remaining 'str' usage 2021-08-06 18:10:43 +02:00
Piotr Roslaniec f710c31e30 Remove empty files 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 6a270c1713 Use pathlib 2021-08-06 18:10:20 +02:00
derekpierre def9ef1116 Ensure that url query parameters in tests are url encoded. Added note about url encoding in docs.
Add unit test for Base64BytesRepresentation field.
Cleanup imports.
2021-07-26 15:14:43 -04:00
derekpierre 463078ce0d Fix issues after TMapConKFrag rebase including how work orders are created and used for tests. exec_work_order tests now actually use /reencrypt ursulas endpoints. 2021-07-26 15:14:43 -04:00
derekpierre 1baa05ba3f Initial implementation of Porter '/exec_work_order' functionality and tests.
Some code refactoring.
2021-07-26 15:14:43 -04:00
derekpierre 25f3db3355 Use query parameters for GET methods; updated tests for stringlist and query parameters. 2021-07-26 15:14:43 -04:00
derekpierre da0231673c Fix lingering references to relayer_verifying_key to instead be publisher_verifying_key. 2021-07-26 15:14:43 -04:00
derekpierre d31f5938ca Fix imports and function calls after rebasing over latest changes (TMapConKFrags and umbral_adapter).
Fix incompatible treasure map data used in tests.
2021-07-26 15:14:43 -04:00
derekpierre e83128fd91 One potential solution for contextualizing federated vs non-federated treasure maps provided as bytes in the `/publish_treasure_map` endpoint.
The context information is provided either at construction time of the TreasureMap field, or via the parent Schema context.
2021-07-26 15:14:42 -04:00
derekpierre 778c018593 Initial implementation of Alice.get_ursulas for Porter. 2021-07-26 15:14:42 -04:00
derekpierre 8de665a955 Initial unit tests for fields. 2021-07-26 15:14:42 -04:00
Kieran R. Prasch 6192c34c3d Renames relayer -> publisher. 2021-07-06 14:43:35 -07:00
Kieran R. Prasch 8f8b79aa08 Responding to RFCs in PR #2687. 2021-07-06 14:43:31 -07:00
Kieran Prasch c915a1b1d3 Use umbral adapter everywhere. Fixes straggler uses of umbral 0.1.x 2021-07-03 18:51:07 -07:00
Bogdan Opanchuk 7642300fe0 Rebase fixes for rebased-chili-limes (#28)
* Fix PRETask serialization

* Use a constant for encrypted kfrag length

* Fix argument order in Signature.verify()

* Remove a too brittle check in test_bob_handles_frags

What exactly are we ensuring here? If we want to check that the cfrag is fine,
we need to use it for decryption.

* Remove an unnecessary check

The result of `reencrypt()` is verified by default.

* Re-raise Umbral decryption errors as DecryptionFailed

* Fix an argument of _filter_work_orders_and_capsules()

* Fix an assertion in test_federated_grant_and_revoke

Assertion fails because now UmbralMessageKit has __len__,
so a bool() call is equivalent to len() == 0
(which it is, since there are no cfrags attached).
2021-07-03 18:48:26 -07:00
Kieran Prasch 4e7ea984f0 Post-rebase integration with PR #2612 and Umbral 0.2.x 2021-07-03 18:48:24 -07:00
jMyles 7c4cd47844 Partial restoration of the work to remove IndisputableEvidence and related concepts; it had been added back as part of a rebase to create a linear history. 2021-07-03 18:46:50 -07:00
jMyles 4c9c3d23d4 Now using both versioning and branding for maps. 2021-07-03 18:46:37 -07:00
Kieran Prasch de17e60839 TMap authorship alternate constuctor 2021-07-03 18:46:37 -07:00
Kieran Prasch e13fae0526 Combating freefriders and evil Bobs with a KFrag writ authorization. 2021-07-03 18:46:36 -07:00
Kieran Prasch a22b403a08 Partial tets update for modified map and order handling; Continue handling of publisher/authorizer keys. 2021-07-03 18:40:10 -07:00
David Núñez 9837dde869 Include encrypted KFrag in WorkOrder serialization 2021-07-03 17:50:43 -07:00
David Núñez 0f8ff08ec9 Let's keep the arrangement IDs in the TreasureMap for the moment
Careful, don't scare the unit tests...
2021-07-03 17:50:43 -07:00
David Núñez cdb825bdbc Bob includes the encrypted KFrag in the WorkOrder, which we previously used in Ursula's side to get the Kfrag from the re-encryption request 2021-07-03 17:50:43 -07:00
David Núñez 7a090c19f3 Instead of storing arrangement IDs in the TMap, stored encrypted KFrags 2021-07-03 17:48:44 -07:00
David Núñez 02608af55a How come we didn't have a basic unit test for TreasureMaps? 2021-07-03 17:47:34 -07:00
Kieran R. Prasch 669dd79dd7 Use KDF from umbral for keystore power derivations. 2021-07-02 20:00:06 -07:00
Kieran R. Prasch 7ed52647f3 Use crypto.passwords module for handling password key derivations. 2021-06-30 16:49:31 -07:00
Kieran Prasch 8a54bd7e6d Post rebase cleanup for PR #2612; Umbral 0.2.x compatibility. 2021-06-30 15:14:10 -07:00
Kieran Prasch 0d3780466b Respond to RFCs in PR #2701 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 4f7bdf5c46 tests respect the Keystore API 2021-06-28 14:33:31 -07:00
Kieran R. Prasch e3868df4d1 Handle TLS power derivation form keystore. 2021-06-28 14:33:31 -07:00
Kieran Prasch 82e81fc710 Deterministic power derivation from keystore. Iterating on keystore drafting. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 11a630066e Further deprecation of nucypher.crypto.api. 2021-06-28 14:33:31 -07:00
Kieran R. Prasch 6aef077172 bulk renaming of Keyring -> Keystore 2021-06-28 14:33:31 -07:00
Kieran R. Prasch d024018c3c Adapts keyring unit tests for deterministic nucypher keystore. 2021-06-28 14:33:31 -07:00
Bogdan Opanchuk 6090a755b0 Gate the choice of Umbral implementation in a single file 2021-06-22 18:31:08 -07:00
Bogdan Opanchuk 15333ddca2 Dissolve umbral_adapter 2021-06-17 14:38:51 -07:00
Bogdan Opanchuk e6fcdbbff6 Minimal fixes to make CI pass, using an adapter for Umbral 2021-06-17 14:38:51 -07:00
derekpierre e61cec703a Fix stray prometheus imports/tests that should only be performed when prometheus_client is installed; prometheus is an optional dependency. 2021-05-21 14:27:33 -04:00
Bogdan Opanchuk 26076b1d98 Remove IndisputableEvidence and related functions and tests 2021-05-18 13:14:04 -07:00
piotr-roslaniec 66ad917b28
Merge pull request #2657 from piotr-roslaniec/teacher-fallback#2481
Fallback chain of teacher nodes
2021-04-29 10:17:19 +02:00
Piotr Roslaniec c98fbc43cd Implicitly remove whitespaces from character nicknames 2021-04-28 11:31:59 +02:00
Piotr Roslaniec 9669280639 Test fallback behaviour 2021-04-22 12:36:37 +02:00
Piotr Roslaniec 58f37da94a Move TEACHER_NODES to nodes.py 2021-04-21 18:04:51 +02:00
KPrasch 74c986e53b
Merge branch 'main' into dao-proposal-1 2021-04-14 08:16:40 -07:00
KPrasch fed186975b
Merge pull request #2628 from piotr-roslaniec/nickname-delim#2471
Change nickname delimiter in card filename
2021-04-08 13:29:57 -07:00
Piotr Roslaniec ec757bf4a9 Use constant for loopback address 2021-04-08 13:33:34 +02:00
Piotr Roslaniec 8edd343ab8 Test qr code output 2021-04-08 11:57:02 +02:00
Piotr Roslaniec f43ad5d055 Change nickname delineation 2021-04-08 11:56:39 +02:00
vzotova 3136a97aa6 Fix other tests 2021-03-22 11:37:27 -07:00
Kieran Prasch ed032de9e8 Translating economic parameters to handle 7 day periods. 2021-03-22 11:37:27 -07:00
derekpierre 305bf0a7fb Added unit and integration tests for keyring. 2021-02-18 18:08:40 -08:00
derekpierre cbe03d9dc1 Add unit tests for (de)serialization if keys from/to files. 2021-02-18 18:08:40 -08:00
derekpierre 6f25d57971 Better organize serialization/deserialization functions.
Use loopback address functions.
Respond to RFCs for #2536.
2021-02-18 18:08:40 -08:00
derekpierre ab30f1f497 Improve serialization/deserialization logic of private keys. 2021-02-18 18:07:43 -08:00
Bogdan Opanchuk 4de9b91d2a Refactor FleetSensor 2021-02-16 22:45:55 -08:00
K Prasch 6b2a9ecdbb
Merge pull request #2533 from cygnusv/fast-unit
Fixes to unit tests. Fix for #2484
2021-01-21 10:26:58 -08:00
David Núñez 0b2eb927be We were incorrectly using net_version to identify the EthereumClient chain in certain places
Fixes #2484
2021-01-20 13:05:23 +01:00
David Núñez d7e45d2959 Unskip cards unit tests 2021-01-20 12:36:27 +01:00
Kieran Prasch bb0f317898 Bigfix: Use Worker HTTP client for fleet-sourced external IP determination (and supporting tests) 2021-01-18 10:48:55 -08:00
Kieran Prasch 3c65c566ae Expands external IP determination unit testing 2021-01-17 14:36:53 -08:00
Kieran Prasch 9cb7c1979b Bugfix and supporting tests for automated IP determination 2021-01-15 18:19:39 -08:00
Kieran Prasch c7fd63630b Unskips worker rate limiting test - Fixes unexpee limit test 2021-01-12 13:10:15 -08:00
Kieran R. Prasch 2d98971b43 Temp. skip work tracker test for CI runs. 2021-01-12 13:10:15 -08:00
Bogdan Opanchuk 2e0efe451e Use in-memory mock LMDB environment for most tests 2021-01-02 17:19:13 -08:00
Kieran Prasch 1cf48ede24 Installs new plumbing for --max-gas-price througout CLI and configuration modules. 2020-12-25 01:51:16 +01:00
David Núñez 568d05ae52 Simplify max_price_gas_strategy: not controlled by an envvar anymore 2020-12-25 01:51:16 +01:00
David Núñez 9cba73bd53 Deprecate datafeed_fallback_gas_strategy 2020-12-25 01:51:16 +01:00
damon 5ed448058c worktracker: enforce random_interval after one failure 2020-12-25 01:51:16 +01:00
David Núñez 489e7e6c70 Use the 3 gas price datafeeds we have to build a median-based strategy 2020-12-25 01:51:15 +01:00
David Núñez 356cc1ad4a Include the Zoltu gas price oracle in the datafeed fallback strategy 2020-12-25 01:51:15 +01:00
David Núñez 659c8db947 Added gas price data feed from gas-oracle.zoltu.io 2020-12-25 01:51:15 +01:00
David Núñez a6a089f76f Introduce a max price gas strategy wrapper that caps the price of any strategy
Controlled by the NUCYPHER_MAX_GAS_PRICE_GWEI envvar
2020-12-25 01:51:15 +01:00
David Núñez 0c3b9c2742 Use canonical speed names internally in gas price datafeeds 2020-12-25 01:51:15 +01:00
David Núñez 6e83b0ffe1 Prioritize Upvest gas price datafeed 2020-12-25 01:51:15 +01:00
David Núñez a56ce5151d Construct the datafeed gas strategy based on the speed name 2020-12-25 01:51:15 +01:00
David Núñez 71ad8c2c31 Introduce equivalence classes for gas speed names 2020-12-25 01:50:43 +01:00
David Núñez 5f93a3ae59 Skip card unit tests until qrcode module is added as dependency in 2440 2020-12-17 23:30:51 +01:00
Kieran Prasch 89043b3065 Deprecates managed provider/client syncing 2020-12-14 12:01:18 -08:00
Kieran Prasch 2eefc07d31
Deprecates internal geth process mode. 2020-12-09 17:39:42 -08:00
Kieran Prasch d21d7ee947 Additional help text and accompanying test; Relocate help test to CLI unit. 2020-12-09 14:10:03 -08:00
Kieran R. Prasch c51c4a7f09
Character cards are verifiable 2020-12-08 23:55:10 -08:00
Kieran Prasch 66ada04432 Relax regex testing for contract versioning. 2020-12-05 08:16:27 -08:00
Kieran Prasch e8370513f8 Increase maximum acceptable version length in regex test for contracts. 2020-12-03 16:48:04 -08:00
Kieran Prasch a16691bd62 Return of import remappings. 2020-12-03 16:48:33 +03:00
Kieran Prasch d40c422ceb Use absoute import paths for nucypher 2020-12-03 16:48:30 +03:00
Kieran Prasch 70cf785c7f Arrange tests to respect upstream changes; Conventionalize testerchain class attrs; Accept nonce atability testing with delay. 2020-12-03 16:48:30 +03:00
Kieran R. Prasch 7b0896f121 hypothesis validation for devdoc regex. Finish test split. 2020-12-03 16:48:29 +03:00
Kieran R. Prasch 3e648673f6
Better support for programatic usage of help paths. 2020-11-23 11:58:05 -08:00
Kieran R. Prasch 9299ab186d
newsfragment for PR #2446 2020-11-18 20:07:19 -08:00
David Núñez 3b70b06a8a Support for user-provided gas price via a fixed-price gas strategy 2020-11-06 12:19:34 +01:00
David Núñez 7f45dedecf
Merge pull request #2412 from cygnusv/llaves
Use NuCypher Logger instead of Twisted Logger. Closes #2404
2020-11-06 12:17:14 +01:00
jMyles c4786f551a No longer are there 'serving' domains and 'learning' domains. Everybody just has a domain. 2020-11-03 18:13:15 -07:00
David Núñez 03b7545a92 Additional test cases for loggers 2020-11-03 12:03:09 +01:00
David Núñez 67596a8aec Change NuCypherLogger behavior to always escape curly braces.
The rationale is that it's unclear how to justify the previous behavior with some edge cases like `{{}`, which was `{}`.
Also unit tests are improved even further.
2020-10-30 21:53:14 +01:00
David Núñez 1d750af1f9 Even more detailed tests for NuCypher logger: now with JSON observer 2020-10-30 20:55:56 +01:00
jMyles 38958f69ea Adding assertions to make sure that the error handler is working and emitting logs. 2020-10-28 08:40:33 -06:00
jMyles 4c17201be2 Moving tests over to unit package. 2020-10-28 07:21:39 -06:00
David Núñez 145ebdf8ef When sending TXs, allow to specify if we want to use a pending nonce or not 2020-10-19 18:59:28 +02:00
David Núñez 32a8d92320 Enriching web3 gas strategies: better error messages; expected confirmation times 2020-10-19 18:59:28 +02:00
David Núñez 9b87786510 Create a gas strategies module in nucypher.utilities 2020-10-19 18:52:22 +02:00
derekpierre e27f7ef482 Reduce the frequency of the prometheus metrics collection. 2020-10-16 13:06:28 -04:00
Kieran Prasch 4d86930ffd
Include missing lisence file to avoid precommit hook failures. 2020-10-14 15:33:07 -07:00
tuxxy 828a630c0e Remove treasure_map_id param from receive_treasure_map API endpoint
Fix up logic and add tests. Additionally, skip test_mass_treasure_map_placement
2020-10-13 10:01:37 +02:00
tuxxy 46e1fdd4c1 Create a TreasureMap datastore record and move model tests to test_datastore_models
Move test_datastore_models to unit tests
2020-10-13 10:01:37 +02:00
derekpierre c979083a81 Handle the inlcusive block range when filtering events. 2020-10-02 09:29:42 -04:00
K Prasch 7edcdc4f9e
Merge pull request #2287 from derekpierre/try-retry
Add default retry functionality to EthereumClients
2020-09-29 19:11:14 -07:00
derekpierre 3e8834e174 Code cleanup including reusing existing add_middleware function, and general cleanup of tests. 2020-09-25 09:43:04 -04:00
derekpierre 43ea03f022 Add retry middleware for Infura. 2020-09-24 21:45:38 -04:00
derekpierre 96084fb1b9 Remove infura:// scheme for infura specific provider - it isn't used. 2020-09-24 19:32:08 -04:00
derekpierre cc9ea699c9 Use Web3 middleware, instead of modifying web3 provider classes, to automatically retry requests based on response/exception returned.
Add unit test for AlchemyClient
2020-09-24 19:32:09 -04:00
derekpierre 7f362e0c24 Refactor name of retry callable parameter. 2020-09-24 19:32:08 -04:00
derekpierre 9e8df7509f Initial work for retry functionality with Alchemy providers. 2020-09-24 19:32:08 -04:00
David Núñez 0fb2cad64a Relocate keypairs.py from datastore to crypto 2020-09-24 20:28:27 +02:00
David Núñez 064972e800 Some unit tests reorganization 2020-09-24 20:27:13 +02:00
Kieran Prasch 11c8021363 Rework trezor transaction signing so that operations on the tx dictionary are non-mutative 2020-09-23 21:09:59 -07:00
Kieran Prasch fbda526cbd Prevent CI from importing libusb1 2020-09-23 13:28:28 -07:00
Kieran Prasch d1966a9451 Lazier evaluation of trezor derivation root 2020-09-23 13:08:23 -07:00
Kieran Prasch f526b72790 SLIP44 support and EIP-155 compliance for trezor testnet derivation paths 2020-09-22 21:19:24 -07:00
Kieran Prasch 69b6cd1cd0
Repond to RFCs in PR #2220 2020-09-18 13:59:49 -07:00
Kieran R. Prasch 765adb0310
Allow module-scoped trezor imports. 2020-09-17 13:26:38 -07:00
Kieran R. Prasch 8f6def2851
Respond to RFCs - Returns filesystem integration tests to thier home. 2020-09-17 13:26:38 -07:00
Kieran Prasch 6a0e1eeb17
Accomodate basic trezor signer URI scheme; Fixturize mocked trezorlib components 2020-09-17 13:26:38 -07:00
Kieran Prasch 9677b25fb3
Consolodate web3 signer unit tests; Improvements to trezor method decoration. 2020-09-17 13:26:38 -07:00
derekpierre d79b878c12
Added unit test for Trezor transaction format conversion. 2020-09-17 13:26:38 -07:00
Derek Pierre c10b9665ce
Merge pull request #2245 from derekpierre/prometheus-events-throttle
Batch/Throttle events filter results 1000 (default) blocks at a time for CommitmentMade prometheus metrics collector
2020-09-16 15:06:06 -04:00
David Núñez 822dad77de Add docstrings to the aragon module classes. Clarify usage of a DAORegistry exception 2020-09-15 10:04:42 +02:00
David Núñez e03c65b969 Unified approach to construct contract registries filepaths 2020-09-15 10:04:42 +02:00
David Núñez b29ab877ca Introducing a DAO registry to store the DAO instances' address and type
* The concept of "instance" here refers to the fact of the same Aragon contract being deployed several times with different uses
* This registry is per network (if it has a DAO), so it's in the same directory than the contract registry
2020-09-15 10:04:42 +02:00
David Núñez 0d8826ccb1 Test encoding of multiple actions 2020-09-15 10:04:42 +02:00
David Núñez 0100ce3b47 Test encoding of ContractFunction with a mock web3 contract 2020-09-15 10:04:42 +02:00
David Núñez a32a187416 Generalize action encoding to support also ContractFunctions and HexStr input 2020-09-15 10:04:42 +02:00
David Núñez d33e6fa5f2 Initial implementation and test of Aragon's CallScript encoding logic 2020-09-15 10:04:42 +02:00
derekpierre 7a9c57dcb4 Ensure that --metrics-port is specified when --prometheus is used when running ursula.
Added/Cleaned up some tests
2020-09-14 10:23:16 -04:00
derekpierre 0180bc8625 Add unit test for BaseMetricsCollector. 2020-09-14 10:22:29 -04:00
derekpierre 4d511f1267 Added unit test for estimating block number for a period. 2020-09-14 10:22:06 -04:00
jMyles 8dead4d333 In the fixture we trust. 2020-09-05 18:13:01 -07:00
jMyles de266be0cf Resolving import conflicts with main. 2020-08-31 01:07:27 -07:00
David Núñez 066fd8461d Renaming Oracles to Datafeeds 2020-08-28 18:00:19 +02:00
David Núñez 231c3c80f9 Better name for the EthereumClient method to get gas prices for transactions 2020-08-28 18:00:19 +02:00
David Núñez ab0369b56e Some touches to the Oracles module: relocate __repr__, improved reference to oracle exception, testing speed names
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
2020-08-28 18:00:19 +02:00
David Núñez 342ac40e3e Testing Etherchain and Upvest oracle gas strategies 2020-08-28 18:00:19 +02:00
David Núñez d6c986d9bb First pass at integrating gas price oracles 2020-08-28 18:00:19 +02:00
David Núñez 1883624c44 New method EthereumClient.generate_gas_price. Gives a gas price according to current gas strategy 2020-08-28 18:00:19 +02:00
David Núñez 39404e4e5e Fixing bug in BlockchainInterface.get_gas_strategy() for callable inputs
Unit tests for this method
2020-08-28 18:00:19 +02:00
Kieran R. Prasch efc5fba094
Adds missing license in several modules. Fixes EOF. Comment for precommit test regarding addional setup. 2020-08-25 07:09:59 -07:00
Kieran R. Prasch 19f438c277
Move the slowest unit test to integration tests since it hits the disk. 2020-08-25 07:09:59 -07:00
Kieran R. Prasch abf8ada3ed
Uses a local context for rough economics test (was getiing very small errors.) 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
vzotova bfa2da251f Apply suggestions from code review #2170
Co-authored-by: K Prasch <kieranprasch@gmail.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-20 00:49:20 +03:00
vzotova f85d1f6b69 Cashing registry id 2020-08-20 00:46:04 +03:00
jMyles 0336e4d6e9 Mege commit uniting @fjarri sampling work and the rest of the async branch of TI. Done in order to provide a surface for blocking when sampling. See https://ptb.discordapp.com/channels/411401661714792449/411401661714792451/744248303528575037. 2020-08-18 05:14:05 -07:00
jMyles fc859440cf Eh, unit test reflecting incorrect LMDB_MAP_SIZE. 2020-08-18 05:10:44 -07:00
David Núñez 0d9f95ee85 Unit tests for WorkOrder 2020-08-14 12:15:16 -07:00
David Núñez 13c636f26a Improve input validation of PRETask.get_specification() and add test 2020-08-14 12:15:16 -07:00
David Núñez 74757a9ab9 Fixed size for decentralized identity evidence (it's 65, btw) 2020-08-14 12:15:16 -07:00
David Núñez ef692f3474 Basic unit tests for PRETask 2020-08-14 12:15:16 -07:00
jMyles 7b0e8110bd Tests were hanging. 2020-08-10 12:54:05 -07:00
jMyles 5fd14a7109 make_federated_ursulas gets called from a few places of varying depths in the stack - accounting for that. 2020-08-10 12:54:05 -07:00
tuxxy d033c0b318 Respond to review changes 2020-08-10 15:38:59 +02:00
David Núñez 7a043cb80a Unit tests for new Logger 2020-08-08 04:11:32 +02:00
damon 6d79d8db7b test fixes resulting from change in keys 2020-06-17 11:31:48 -07:00
K Prasch f4b64fc365
Merge pull request #2069 from derekpierre/metrics-iteration
Initial Refactor of ursula prometheus metrics work from #1923
2020-06-15 09:36:44 -07:00
derekpierre f60aa70203 Fix failing unit test 2020-06-12 11:03:01 -04:00
derekpierre 6a578f034a Fixed issues related to manual testing. General code cleanup.
I believe we are now on par with original functionality.
2020-06-09 14:13:32 -04:00
derekpierre 591d1cbec5 Fix Ursula typing and some general cleanup. 2020-06-09 08:50:18 -04:00
derekpierre a37c5661df Initial refactor of prometheus metric collection. Use of collection of individual metric collectors. 2020-06-09 08:50:18 -04:00
derekpierre d282900bd0 Re-organize prometheus tests into the unit testing category 2020-06-09 08:50:18 -04:00
derekpierre 28b29edd70 Initial refactor of prometheus metrics configuration. 2020-06-09 08:50:18 -04:00
David Núñez 3c71c708c2 Unit tests for EthereumClient.wait_for_receipt()
Some code changes based on test feedback
2020-06-07 02:10:26 +02:00
David Núñez dfa812e42f Unit tests for EthereumClient.block_until_enough_confirmations() 2020-06-05 04:08:55 +02:00
David Núñez af0b636098 Update tests to current approach for block confirmations 2020-06-05 04:08:55 +02:00
David Núñez b0e9a40f9c ...and relocate and improve tests for get_confirmations 2020-06-05 04:05:39 +02:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00