Kieran Prasch
|
0acfc7e381
|
Support for web3.py v6
|
2022-10-18 20:08:52 +02:00 |
Kieran Prasch
|
b7145c0ab4
|
Remove core shims; Refactor for mk-embedded conditions.
|
2022-10-18 20:08:51 +02:00 |
Kieran Prasch
|
d9f67f30ce
|
Install nucypher core shims for conditions
|
2022-10-18 20:07:57 +02:00 |
Kieran Prasch
|
320e5bc4b3
|
test adjustments for london fork
|
2022-04-04 22:01:32 -07:00 |
Kieran Prasch
|
18d24d1fe2
|
Responds to RFCs for PR #2873
|
2022-03-24 13:18:53 -07:00 |
Kieran R. Prasch
|
aad511ba30
|
test adjustments to handle policy registry, in-memory node storage and polygon mocks.
|
2022-03-22 15:54:36 -07:00 |
Kieran R. Prasch
|
99ac4693c2
|
Handle remote certificate mocks and storage in middleware.
|
2022-03-22 15:54:36 -07:00 |
Kieran Prasch
|
73b238a587
|
Removes staking entities
|
2022-02-21 17:17:11 -08:00 |
vzotova
|
856abe4892
|
Renames `provider_uri` to `eth_provider_uri`
|
2022-02-18 11:27:15 +03:00 |
Kieran Prasch
|
419e649ec7
|
Respond to RFCs for PR #2857
|
2022-02-08 11:04:34 -08:00 |
vzotova
|
e6b5bda56d
|
Fix time travel
|
2022-02-08 11:04:27 -08:00 |
Kieran Prasch
|
b193465f98
|
adjust tests
|
2022-02-08 11:03:50 -08:00 |
Kieran Prasch
|
1c34045a81
|
Prepares economics and deployment constants for use with threshold network.
|
2022-02-08 11:02:17 -08:00 |
Kieran Prasch
|
bbc509910d
|
Adjust tests to accommodate swapable payment methods.
|
2022-02-08 11:01:24 -08:00 |
Bogdan Opanchuk
|
a276cfec25
|
Disband umbral_adapter
|
2022-01-08 15:29:22 -08:00 |
Bogdan Opanchuk
|
8cb8f16370
|
Clean up Python parts moved to Rust
And some unused imports
|
2022-01-08 15:29:22 -08:00 |
Bogdan Opanchuk
|
e5620c3155
|
Changes to make the tests pass
|
2022-01-08 15:29:22 -08:00 |
Bogdan Opanchuk
|
02bb2e2f76
|
Import the standalone package instead of nucypher.core
|
2022-01-08 15:29:22 -08:00 |
Bogdan Opanchuk
|
ca2ae89ba6
|
Get rid of passing a Callable to EncryptedTreasureMap.decrypt()
|
2021-10-15 15:19:19 -07:00 |
Bogdan Opanchuk
|
ffa72226f6
|
Remove the remainders of the separate Learning Loop versioning
All versioning is contained in the protocol objects now
|
2021-10-15 15:19:19 -07:00 |
Bogdan Opanchuk
|
ef0e619684
|
Bundle policy encrypting key with TreasureMap
|
2021-10-15 15:19:19 -07:00 |
Bogdan Opanchuk
|
5fa56877ab
|
Add MetadataRequest and MetadataResponse to core.py
|
2021-10-15 15:19:19 -07:00 |
Bogdan Opanchuk
|
e5e598952a
|
Extract NodeMetadata into the core
|
2021-10-15 15:19:19 -07:00 |
Bogdan Opanchuk
|
01c2e9bd71
|
Move RetrievalKit to core.py
|
2021-10-15 15:19:19 -07:00 |
Bogdan Opanchuk
|
a3410cadfb
|
Move MessageKit to the temporary core module
|
2021-10-15 15:19:19 -07:00 |
derekpierre
|
a653751d13
|
Document cleanup regarding retrieval results format, and improve testing for mutliple retrieval kits.
|
2021-09-17 11:12:48 -04:00 |
derekpierre
|
90408c1768
|
Publisher verifying key is no longer an argument for RetrievalClient - remove usage from Porter.
|
2021-09-14 15:58:08 -04:00 |
derekpierre
|
eb48e82fc3
|
VerifiedCapsuleFrag cannot be deserialized, so rename marshmallow field to CapsuleFrag.
Improve retreive_cfrags test to ensure that the cfrags are valid and can successfully be used by Bob to decrypt the data.
|
2021-09-14 15:58:08 -04:00 |
derekpierre
|
3fd901ebf6
|
Update RetrievalKit field tests to be more robust; fix duplicate decryption of treasure map for tests.
|
2021-09-14 15:58:08 -04:00 |
derekpierre
|
dfa65a2976
|
Code cleanup after rebase over retrieval protocol work in #2730.
|
2021-09-14 15:58:08 -04:00 |
derekpierre
|
001dd39ac2
|
Improve Porter retrieve_cfrags tests to ensure that capsules match in results.
|
2021-09-14 15:58:08 -04:00 |
derekpierre
|
ff6b1bae98
|
Encrypted and Decrypted treasure map fields.
|
2021-09-14 15:58:08 -04:00 |
derekpierre
|
72de21fb08
|
Initial tests for BobRetrieveCFrags schema.
|
2021-09-14 15:58:08 -04:00 |
Bogdan Opanchuk
|
0f85435ac7
|
Require encrypted_treasure_map in retrieve()
|
2021-09-08 08:21:04 -07:00 |
Bogdan Opanchuk
|
1d3642d960
|
Retrieval rework
|
2021-09-08 08:21:03 -07:00 |
Bogdan Opanchuk
|
c595850952
|
RFCs, part 2
|
2021-08-19 17:06:45 -04:00 |
Bogdan Opanchuk
|
509b8c1bfc
|
Split treasure maps into decrypted and encrypted
|
2021-08-19 17:06:45 -04:00 |
Bogdan Opanchuk
|
279a647be0
|
Move ENCRYPTED_KFRAG_PAYLOAD_LENGTH into AuthorizedKeyFrag
|
2021-08-13 14:46:56 -07:00 |
Piotr Roslaniec
|
695cc10950
|
Detect paths during deserialization
|
2021-08-06 18:10:45 +02: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 |
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 |
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
|
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 |
Kieran Prasch
|
8a54bd7e6d
|
Post rebase cleanup for PR #2612; Umbral 0.2.x compatibility.
|
2021-06-30 15:14:10 -07:00 |
Kieran R. Prasch
|
4f7bdf5c46
|
tests respect the Keystore API
|
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 |
Bogdan Opanchuk
|
26076b1d98
|
Remove IndisputableEvidence and related functions and tests
|
2021-05-18 13:14:04 -07:00 |
Piotr Roslaniec
|
58f37da94a
|
Move TEACHER_NODES to nodes.py
|
2021-04-21 18:04:51 +02:00 |
vzotova
|
ff627e89ec
|
Migration test for StakingEscrow
|
2021-03-22 11:37:27 -07:00 |
Kieran Prasch
|
06d89fef07
|
ContractAdministrator is a BaseActor subclass. Respond to RFCs in PR #2572
|
2021-03-02 10:24:41 -08:00 |
Kieran Prasch
|
7e07bd267e
|
Handle injected transacting power in tests.
|
2021-02-26 13:38:37 -08:00 |
Kieran Prasch
|
2ac8d276aa
|
Respond to RFCs for PR #2536; Holdover for future work; Post rebase cleanup.
|
2021-02-18 18:35:56 -08:00 |
derekpierre
|
305bf0a7fb
|
Added unit and integration tests for keyring.
|
2021-02-18 18:08:40 -08:00 |
Kieran Prasch
|
0b164b6df7
|
Test adjustments and code touch ups
|
2021-02-18 18:07:43 -08:00 |
Kieran Prasch
|
37774897bc
|
Understand Ursula.run as the coordinated single point of service startup.
|
2021-02-18 18:06:31 -08:00 |
Kieran Prasch
|
4c0f679c7e
|
Removes client_password from character init where possible, require signer to init a TransactingPower, removing default web3 signer.
|
2021-02-13 18:35:31 -08:00 |
Victoria
|
36e47153df
|
Apply suggestions from code review #2518
Co-authored-by: K Prasch <kieranprasch@gmail.com>
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
|
2021-02-02 19:24:29 +03:00 |
vzotova
|
61d8dc1ec0
|
New deployment order: StakingEscrow dispatcher, then PolicyManager+Dispatcher -> Adjudicator+Dispatcher -> WorkLock and only after this StakingEscrow itself
|
2021-02-02 19:24:28 +03:00 |
vzotova
|
546e84a653
|
Remove test mode from StakingEscrow
|
2021-02-02 19:24:27 +03:00 |
David Núñez
|
d02f0ead7f
|
Disable solidity compilation for MockBlockchain
|
2021-01-20 12:36:10 +01:00 |
damon c
|
e907a598a2
|
Merge pull request #2462 from KPrasch/automagic
IP address checks on worker startup
|
2021-01-14 20:47:32 -08:00 |
Bogdan Opanchuk
|
e635825c9e
|
Remove unused mock classes
|
2021-01-14 11:19:35 -08:00 |
Kieran Prasch
|
8c9da43d10
|
Allow for settable rest host in --dev mode.
|
2021-01-12 13:10:15 -08:00 |
Kieran Prasch
|
f35f2fcef3
|
Accmodate rest_host as a required Ursula init parameter for live nodes in test.
|
2021-01-12 13:10:15 -08:00 |
Kieran R. Prasch
|
2daa9b499d
|
Closes #2424
|
2021-01-12 13:10:15 -08:00 |
Kieran Prasch
|
a9d3b6cf1e
|
Deprecation of automated deployment series by ContractAdministrator
|
2021-01-12 11:08:45 -08:00 |
Bogdan Opanchuk
|
2e0efe451e
|
Use in-memory mock LMDB environment for most tests
|
2021-01-02 17:19:13 -08:00 |
Kieran Prasch
|
2eefc07d31
|
Deprecates internal geth process mode.
|
2020-12-09 17:39:42 -08:00 |
vzotova
|
d58ca9a748
|
Remove duplicate code
|
2020-12-09 11:04:22 +03:00 |
Victoria
|
a8f0ec5bc5
|
Apply suggestions from code review #2439
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: Kieran Prasch <kieran@nucypher.com>
Co-authored-by: David Núñez <david@nucypher.com>
|
2020-12-03 18:39:44 +03:00 |
vzotova
|
c7ec3c7ecb
|
Fix predefined source bundles
|
2020-12-03 16:48:34 +03:00 |
vzotova
|
96e959f60a
|
Fix after rebasing
|
2020-12-03 16:48:33 +03:00 |
Kieran Prasch
|
a16691bd62
|
Return of import remappings.
|
2020-12-03 16:48:33 +03:00 |
Kieran Prasch
|
6f04cef63d
|
Rescues a test utility from fixtures and modifies estimate gas metrics to use standard compiler output.
|
2020-12-03 16:48:31 +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
|
11a807c096
|
Simplify solidity compiler module with a more stateless and functional approach; Use the standard compiler method.
|
2020-12-03 16:48:28 +03:00 |
David Núñez
|
2acb8f642e
|
Add references to issue with initial commitment on make_decentralized_ursulas utility. See 2424
|
2020-11-06 12:19:34 +01:00 |
David Núñez
|
32a8d92320
|
Enriching web3 gas strategies: better error messages; expected confirmation times
|
2020-10-19 18:59:28 +02:00 |
Bogdan Opanchuk
|
1557617afd
|
Since web3=5.12.2 some of `eth` methods require positional arguments
|
2020-10-18 00:16:05 -07:00 |
jMyles
|
3fce2c2c0b
|
Unskipping and fixing remaining tests.
|
2020-10-14 11:16:09 -07:00 |
David Núñez
|
cd47a3b566
|
Relocate test/utils/solidity.py to nucypher/utilities/ethereum.py
|
2020-10-05 12:12:17 +02:00 |
David Núñez
|
f96e82d95e
|
Utility test to obtain versioned Ursulas' metadata hexstrings
|
2020-09-24 20:28:31 +02:00 |
David Núñez
|
4cf7dcadc3
|
We're done with multiple domains, for the moment.
Closes #2144. Closes #1580.
|
2020-09-24 20:27:13 +02:00 |
jMyles
|
d1b2257797
|
This test actually performs better with random values - when every node takes the same amount of time to return, there's a much more likely chance of all of them returning at the same moment, and thus overshooting the mutex requirement for unblocking.
|
2020-08-31 10:10:43 -07:00 |
jMyles
|
de266be0cf
|
Resolving import conflicts with main.
|
2020-08-31 01:07:27 -07:00 |
David Núñez
|
920ae58bc3
|
Setting a free gas strategy in tests that create a new blockchain interface
|
2020-08-28 18:00:19 +02:00 |
jMyles
|
6498992f61
|
Deduplicating test; moving json validation utils to utils.
|
2020-08-24 09:42:15 -07:00 |
jMyles
|
59bcbcf70d
|
Crash sooner if a test is looking for a nonexistent Ursula.
|
2020-08-24 07:21:07 -07:00 |
jMyles
|
34a5ad910d
|
Removing stale debugging tooling.
|
2020-08-18 12:05:55 -07:00 |
jMyles
|
b18dfd9a69
|
Evolving test.
|
2020-08-18 05:10:44 -07:00 |
jMyles
|
e0918764d8
|
Big fixup for the remaining errors blocking integration.learning.
|
2020-08-10 12:54:35 -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 |
jMyles
|
eaf7fbca37
|
Some debugging breadcrumbs for Ursula.
|
2020-08-10 12:54:04 -07:00 |
jMyles
|
16bc34754d
|
Another test that was passing for the wrong reason. It now works regardless of whether the future Ursula is a hardcoded seednode or a user-specified one.
|
2020-08-10 12:52:31 -07:00 |
jMyles
|
784814c4bb
|
Don't ship blockchain_bob with known_nodes; he can use his domain hardcoded nodes. Also, don't start his learning loop after the fact. This caused this test to pass even when he was unable to actually find the nodes in join_policy.
|
2020-08-10 12:52:31 -07:00 |