Commit Graph

10472 Commits (ac0296037dbb211f86969600e9f1285ea6cb79b3)

Author SHA1 Message Date
derekpierre 1c531d1908 Code cleanup around building of documentation, removal of solidity scripts/API docs from docs build, removal of deployer CLI text etc. 2023-05-02 10:23:24 -07:00
derekpierre 1e730b1090 Relock to latest dependencies. Remove unnecessary scripts from Pipfile. 2023-05-02 10:23:24 -07:00
Kieran Prasch 19df36b101 removes dependency on pysha3 (no longer maintained). 2023-05-02 10:23:24 -07:00
derekpierre 6ecbeeefc6 Initial relock of dependencies to incorporate eth-ape and ape-solidity. Still some work to do on docs dependencies. 2023-05-02 10:23:24 -07:00
Kieran Prasch e55bafe6db all tests passing 2023-05-02 10:23:24 -07:00
derekpierre 2b492ffd20 Add pytest options for ape_test to run successfully. Update testpath values. 2023-05-02 10:23:24 -07:00
Kieran Prasch a6d5335449 Reorganizes tests betweeen acceptance/integration. Ape project is now /tests/acceptnace. 2023-05-02 10:23:24 -07:00
Kieran Prasch cfba9be307 simple in-memory test regitry for unit tests, mock out middleware for mock clients. 2023-05-02 10:23:24 -07:00
Kieran Prasch dc51407c0f relocates ursulas fixture (is uses transparently in different scopes) 2023-05-02 10:23:24 -07:00
Kieran Prasch c85f1f2f59 assorted bugfixes related to fixtures and testerchain arising from the migration to ape. 2023-05-02 10:23:24 -07:00
Kieran Prasch 6617e08527 disable ape test plugin during unit and integration tests. 2023-05-02 10:23:24 -07:00
Kieran Prasch 93e45bc612 get ape contract ABIs from an in-memory vs. on-disk source. 2023-05-02 10:23:24 -07:00
Kieran Prasch 39929d0aa3 relocates ape fixtures to local conftest 2023-05-02 10:23:24 -07:00
derekpierre d42b445d63 Fix use of ape project fixture. 2023-05-02 10:23:24 -07:00
Kieran Prasch df86485efa removes several unused pytest fixtures 2023-05-02 10:23:24 -07:00
Kieran Prasch 21fa6edc7b new ape testing utils module 2023-05-02 10:23:24 -07:00
derekpierre 67a7bb7da6 Code testing cleanup. 2023-05-02 10:23:24 -07:00
derekpierre c157c8ccf7 Fix some tests; ERC721 contract needs to be deployed on APE, and MockContractAgency import is now inlined. 2023-05-02 10:23:24 -07:00
derekpierre e0286d13c5 Get `nucypher-contracts` dependency from github by default. 2023-05-02 10:23:24 -07:00
Kieran Prasch a19c50ec69 ape checkpoint 1 2023-05-02 10:23:24 -07:00
Kieran Prasch 0c12a531c2 simple tdec encrypt/decrpt example for dkg-dev-1 ritual #0. 2023-05-02 10:23:24 -07:00
derekpierre f3bb4909fb Add random sampling when creating new ritual instead of using the first two staking providers every time. 2023-05-02 10:23:24 -07:00
derekpierre 1f71020cee Add example execution commands. 2023-05-02 10:23:24 -07:00
derekpierre 593be4f131 Code cleanup. 2023-05-02 10:23:24 -07:00
derekpierre 7151f04191 DKG Ritual Script. 2023-05-02 10:23:24 -07:00
Kieran Prasch eb67da8ae1 tdec todo annotations 2023-05-02 10:23:24 -07:00
derekpierre ba766100b0 bugfix: sync coordinator mocks, use StartRitual event instead of StartTranscriptRound for signalling posting of transcripts. 2023-05-02 10:23:24 -07:00
derekpierre a4798e3a6a bugfixes: ensure poiive start block number, MockCoordinatorAgent to be in line with latest logic in Coordinator contract. 2023-05-02 10:23:24 -07:00
Kieran Prasch 25d4efd870 improves logging and error handling during tdec req/res. 2023-05-02 10:23:24 -07:00
Kieran Prasch 846d5d0be9 fetch ritual artifacts on-chain instead of the in-memory cache for now. 2023-05-02 10:23:24 -07:00
Kieran Prasch 4a9c59a055 bugfixes: pertaining to tdec request/response cycle 2023-05-02 10:23:24 -07:00
derekpierre 064b28a382 bugfix:calculating scan start block for dkg event scanner. 2023-05-02 10:23:24 -07:00
Kieran Prasch 16fddd33c2 Respond to RFCs in PR #3093 2023-05-02 10:23:24 -07:00
Kieran Prasch f5510f4db3 handles old versions of MetadataRequest 2023-05-02 10:23:24 -07:00
Kieran Prasch 05a510b917 give start block estimation a one block buffer 2023-05-02 10:23:24 -07:00
derekpierre 51abd2bc2d Update dockerfile to use correct ferveo version. 2023-05-02 10:23:24 -07:00
Kieran Prasch 19229ab08c exposes ferveo keypair derivation from secre randomness on the ritual power 2023-05-02 10:23:24 -07:00
Kieran Prasch 335a404a84 Derive ferveo keypair from HKDF info string 2023-05-02 10:23:24 -07:00
derekpierre bf0d8b7889 Relock dependencies, and include __init__ files for new modules. 2023-05-02 10:23:24 -07:00
derekpierre 6fba2c0a18 Initial work for building dkg docker images. 2023-05-02 10:23:24 -07:00
Kieran Prasch 93aba19a97 registry entry for testnet coordinator contract 2023-05-02 10:23:24 -07:00
derekpierre 427b0da78e Optimization for obtaining dkg event scanner start block for scanning. 2023-05-02 10:23:24 -07:00
Kieran Prasch 08be039e42 start the event scanner from a block estimation based on on-chain ritual timeout 2023-05-02 10:23:24 -07:00
Manuel Montenegro a955403db4 Pin web3 version to >= 6.0.0 and relock deps 2023-05-02 10:23:24 -07:00
derekpierre 3b990e38b4 Make DKG failing tests pass. 2023-05-02 10:23:24 -07:00
derekpierre a3f039e13c Nodes post the dkg public key when posting their aggregated transcripts. 2023-05-02 10:23:24 -07:00
derekpierre 9afa5eac30 Verify caller when posting aggregated transcripts to Coordinator contract. 2023-05-02 10:23:24 -07:00
Kieran Prasch 1ba13ea053 bob: control early exit from share gathering by variant 2023-05-02 10:23:24 -07:00
Kieran Prasch e20cc7f96f public exposure of per-request ferveo variant, ferveo==0.1.7 and nucypher-core integration of ThresholdDecryptionRequest and Response 2023-05-02 10:23:24 -07:00
derekpierre b4673ac39f Got some dkg unit and integration tests passing. There are more tests to make pass. 2023-05-02 10:23:24 -07:00