Commit Graph

914 Commits (b7ea72b919613190c0ea57945124814d32356014)

Author SHA1 Message Date
jMyles 52bf0acf52 Removing second addition of observer. Fixes #728. 2019-02-08 10:06:23 -07:00
jMyles 0578b8023c Mocking Response with namedtuple. 2019-02-02 21:02:34 -05:00
Kieran Prasch 35d4d23405
Fixes and lightly tests Issue #711 2019-01-30 11:46:00 -08:00
jMyles d08f6a017d No longer need to pass the status template around. 2019-01-22 17:04:23 -05:00
jMyles 150d73da4e Accounting for an earlier refactor by @KPrasch. 2019-01-22 17:04:23 -05:00
Kieran Prasch 4fa2fa8e42
Handles Alice database in config subclass, Use sqlalchemy default development database instead of pure in-memory (#662) 2019-01-16 11:21:32 -08:00
Kieran Prasch 45116dd6bc
Bake in certificate checksum_address extracation to tls saving methods. 2019-01-16 09:48:09 -08:00
Kieran Prasch e46fb20bec
Update node storage methods to combined API 2019-01-16 09:48:09 -08:00
jMyles 706614cd93 Fake cert filepath for Vlad here too. 2019-01-15 15:20:17 -05:00
jMyles 12d5ab0489 Two changes in tests to reflect new APIs: 1) Vladimir gets a cert filepath and 2) We don't pass tls as a kwarg anymore for keyring. 2019-01-15 15:20:17 -05:00
jMyles bed79d4fac Handling 204 response during learning. Fixes #630. 2019-01-15 15:20:17 -05:00
jMyles bf0a9e702b Test for case where Ursula knows nobody. Currently forced to fail. See #630. 2019-01-15 15:20:17 -05:00
Kieran Prasch 8922af389c
Updates Web3 python API usage to v5.0.0-alpha.3 2019-01-15 11:47:40 -08:00
Kieran Prasch 787e0eebbd
Remove stale (hopefully) cleanup fixture in favor of ephemeral nodes in 'development mode' 2019-01-05 09:27:48 -08:00
Kieran Prasch be456e09ff
Fixes Issue #583: Allow 'nucypher ursula run' to destroy invalid nucypher system configurations. 2019-01-05 09:27:48 -08:00
Kieran Prasch 46f76ad21c
Fixes Issue #634: Restore CLI test for nucypher ursula run --dev --federated-only. 2019-01-05 09:27:48 -08:00
Kieran Prasch 1755a35fdc Respond to RFCs in PR #617 2018-12-19 08:43:33 -08:00
Kieran Prasch f07f2979ce
Provide simple way to start testing nucypher on pyevm with TeserBlockchain classmethods 2018-12-18 11:27:28 -08:00
David Núñez 19dd593256
Merge pull request #605 from KPrasch/config
Ursula Development Configuration Test
2018-12-17 22:12:37 +01:00
David Núñez 0bb34fc5f7
Update tests/config/test_ursula_config.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-12-17 12:51:04 -08:00
K Prasch 3051b10ef5
Merge pull request #594 from KPrasch/estimate-gas
Maintain Gas Estimation Metrics
2018-12-16 09:56:00 -08:00
Kieran Prasch 6f69704a3a
Use Regex.compile; Docstrings; Even more cleanup 2018-12-14 10:10:08 -08:00
Kieran Prasch 0c7c5a92a8
Respond to RFCs: Code Style and Readability Improvements 2018-12-14 09:12:25 -08:00
David Núñez 9f32f76942
Update tests/metrics/estimate_gas.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-12-14 08:06:32 -08:00
Tux 60ab41c82d
Merge pull request #611 from tuxxy/AAA2018-is-gonna-ruin-the-internet
Rename EncryptingKeypair/EncryptingPower to DecryptingKeypair/DecryptingPower
2018-12-14 01:49:10 -05:00
Kieran Prasch e9a8af68b5
Ursula development configuration + character integration test 2018-12-13 16:12:51 -08:00
Kieran Prasch bf62f9201d
Class-based refactor; Timestamped reports; Automation job. 2018-12-13 16:01:14 -08:00
Kieran Prasch 5002639910
Use twisted loggers to collect and analyze gas estimation data 2018-12-13 16:01:14 -08:00
Kieran Prasch d8b9a7e10e
Maintains estimate gas tester metrics script; Update to latest API. 2018-12-13 16:01:14 -08:00
tuxxy ef497e6a1f Rename TestPolicyMetadata to MockPolicyMetadata 2018-12-13 14:17:43 -07:00
tuxxy 92cc46ad8c Rename EncryptingPower/EncryptingKeypair to DecryptingPower/DecryptingKeypair (#597) 2018-12-13 14:17:22 -07:00
Kieran Prasch 58d8c3ffdd
Respond to RFCs - Deployer contract names are now public. 2018-12-12 18:06:50 -08:00
Kieran Prasch d6ad99a8e0
Ensure that operating mode is determined via configuration. 2018-12-11 10:01:35 -08:00
Kieran Prasch c235bb45bb
Select a possibly open non-default port for running tests 2018-12-11 10:01:35 -08:00
Kieran Prasch 3b436588a4
Restore the usage of --federated-only in CLI tests; Dedicate federated ursula CLI test module. 2018-12-11 10:01:35 -08:00
Kieran Prasch c90026c7a2
Seperates config.produce from init-parameter generation; DRY up shared blockchin config log on NodeConfiguration and NodeStorage 2018-12-11 10:01:35 -08:00
Kieran Prasch 84a1283556
Restores blockchain interface connection configuration 2018-12-11 10:01:35 -08:00
jMyles 5e5592a1bf After a day of dependency issues, we're moving to the updated pyUmbral (0.1.2a2).
This is a merge commit of #574 and #603.
2018-12-10 21:35:59 -05:00
David Núñez 015f62c91c Adapt NuCypher to umbral==0.1.2a1 2018-12-10 21:38:22 +01:00
jMyles 485a362da3 Fixes to respond to RFCs: GLOBAL_DOMAIN docstring, bad line break. 2018-12-09 03:28:37 -05:00
jMyles aa64f5820c Fixing these timing tests, although I still have my suspicions that there's a 598 monster hiding somewhere under here. 2018-12-06 23:58:32 -05:00
jMyles f19601912d Fixed imports and some other formatting issues following merge commit. 2018-12-06 21:19:57 -05:00
jMyles a3fb853ffa Pre-arranged merge commit between @kprasch and myself to reconcile our branches.
Quite a few conflicts resolved.
2018-12-06 20:55:09 -05:00
jMyles b919e84184 Test showing that POSTing version messiness results in sane handling. 2018-12-06 18:21:41 -05:00
jMyles 46a0fee06f Passing domains and versions all the way through de/serialization flow and template. 2018-12-06 18:21:41 -05:00
jMyles b129f3298d More sane error messages for node mismatches; tests for the same. 2018-12-06 18:19:57 -05:00
jMyles b767405d02 That's what from_bytes is supposed to look like. 2018-12-06 18:18:23 -05:00
jMyles c6b63d641a Domains are now sets. 2018-12-06 18:18:23 -05:00
jMyles ece4bf2808 Each Ursula in a concat'd bytestring is variable length. 2018-12-06 18:10:05 -05:00
jMyles 4c9f9108ed Don't learn about nodes with a newer version than you. 2018-12-06 18:10:05 -05:00