Kieran Prasch
|
5b34800761
|
Use lazy and dynamic runtime path generation, with temp storage options
|
2018-09-19 13:21:11 -07:00 |
Kieran Prasch
|
c23ff73002
|
Working lonely federated node via CLI using UrsulaConfiguration API
|
2018-09-19 21:40:35 +02:00 |
Kieran Prasch
|
f5e0056b5f
|
Update two tests to use ursula configuration fixture
|
2018-09-19 21:40:35 +02:00 |
Kieran Prasch
|
47d50a9e1a
|
Use character configuration test fixtures.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
acd2bc1dc6
|
pass only certificate filepath through rest middleware.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
a8516ec9ca
|
Import Vladimir's eth keys to the keychain.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
d92c6fe5c3
|
Bob actually uses federated Ursulas for this test.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
5b1cb02f2d
|
Erasing test certs in finally clause.
|
2018-09-19 21:40:04 +02:00 |
jMyles
|
e93e259eab
|
Once we have the work order, we don't separetly need the cert path, as it is affixed to the work order's Ursula.
|
2018-09-19 21:40:04 +02:00 |
Kieran Prasch
|
e4fd0647e2
|
Removes anything that mentions the DHT. Kademlia remains.
|
2018-09-18 09:23:31 -07:00 |
Kieran Prasch
|
f8ce7f5520
|
Extract learning logic into abstract Teacher class
|
2018-09-18 09:21:24 -07:00 |
Kieran Prasch
|
f64cfc28f6
|
Improve accounts error handling; Trim non-essential test stubs
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
31705a7fe6
|
Use temp config in CLI test; Add temp node config fixture
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
cbe7bc79e3
|
Bifurcate up federated and non-federated ursula generation in tests
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
96865929b0
|
Updates to use namespaced sandbox utilities; Prepare to split make_ursulas.
|
2018-09-18 09:19:51 -07:00 |
Kieran Prasch
|
f69380a3dd
|
Namespace and modularize nucypher sandbox utilities
|
2018-09-18 09:19:46 -07:00 |
Kieran Prasch
|
bdf522d0a1
|
Remove experimental pyfakefs code
|
2018-09-18 09:18:41 -07:00 |
Kieran R. Prasch
|
7a725fe0ab
|
Include NodeConfiguraion in CLI - Fixup constants, naming, and imports wlongside DHT removal.
|
2018-09-18 09:18:41 -07:00 |
jMyles
|
6389cb329b
|
Much more solid test for Vladimir posing as Ursula.
|
2018-09-12 14:04:33 +02:00 |
jMyles
|
ff90af5a06
|
Some tidying up after all the shifting around.
|
2018-09-12 14:04:02 +02:00 |
jMyles
|
127c98816c
|
Moving Characters to characters.lawful, in preparation for (now) the introduction of Vladimir and (not now) the introduction of a factory-style Character creation flow.
|
2018-09-12 13:58:13 +02:00 |
jMyles
|
4413dc952c
|
More hacking and slashing on the DHT removal and config sanity.
|
2018-09-11 00:41:44 +02:00 |
Kieran R. Prasch
|
a8dba1b738
|
Use class-based injectable configuration; Continue to Extricate DHT violently.
|
2018-09-11 00:29:28 +02:00 |
Kieran R. Prasch
|
77766933fa
|
Node storage classmethods, Stub fs isolation with tempdir
|
2018-09-11 00:29:28 +02:00 |
Kieran R. Prasch
|
f7c0d7959e
|
Entry points for saving TLS certs + Network Middleware updates for TLS verification.
|
2018-09-11 00:29:28 +02:00 |
Kieran R. Prasch
|
22823ee88c
|
Executes node learning from CLI
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
a6a219cbb0
|
Integrate downstream changes, from PR #424
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
198071e21e
|
Remane nucypher CLI module; Additional CLI testing stubs for debugging ease.
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
1288fc19f9
|
Stub CLI tests: One test module per command.
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
dfebbe55ff
|
Add CLI test modules
|
2018-09-10 16:13:06 +02:00 |
Kieran R. Prasch
|
e88eb9a138
|
Add Initial nucypher-cli (click) tests module
|
2018-09-10 16:13:06 +02:00 |
jMyles
|
f80b0ca9e4
|
Fixes and smoothing the recent cherry-pick; making a smooth surface for Kokonusswasser.
|
2018-09-10 16:12:43 +02:00 |
jMyles
|
0b070ec38a
|
Lots of test touch-ups.
|
2018-09-06 21:01:44 +02:00 |
jMyles
|
7bf42d8990
|
Uncorked stake (ie, Ursula doesn't stake really for tests) and removed skips.
|
2018-09-06 21:01:43 +02:00 |
jMyles
|
07fe4f9b30
|
Simpler InterfaceInfo. Loopback literals are now localhost.
|
2018-09-06 21:01:42 +02:00 |
jMyles
|
aa0bd30569
|
Test showing that node can be verified with certificate.
|
2018-09-06 20:59:07 +02:00 |
jMyles
|
f5a0b2cd95
|
These tests are a little funny for the moment. Need to skip them until we get stake() working properly again.
|
2018-09-06 20:56:17 +02:00 |
jMyles
|
6cc7194f95
|
Undoing some of @kprasch's partial pasting practice.
|
2018-09-06 20:56:16 +02:00 |
K Prasch
|
d558c43e4a
|
Merge pull request #423 from tuxxy/flag-utils
Flag some utilities as testing-only utilities
|
2018-09-06 06:07:27 -07:00 |
tuxxy
|
d0301a7818
|
Fix imports for restructured test utilities
|
2018-09-06 06:55:28 -06:00 |
szotov
|
953054af9a
|
Added rounding of time for the first period in some tests (issue #385)
|
2018-09-01 16:23:42 +03:00 |
szotov
|
204d3674af
|
Added checking of secret in the upgrading method in the user escrow contract
|
2018-09-01 16:13:42 +03:00 |
szotov
|
86e5df2585
|
Renamed `downtime` to `pastDowntime` in the MinersEscrow contract
|
2018-09-01 15:59:00 +03:00 |
szotov
|
c75cd0e330
|
Fixed upgrade contracts test in test_integration.py
|
2018-09-01 15:46:41 +03:00 |
szotov
|
e1b4c82723
|
Added checking of secret in the upgrading method in the dispatcher contract
|
2018-09-01 15:46:40 +03:00 |
szotov
|
9db9b6c4ee
|
Improved comments on tests, added comments to the mining coefficients in constants.py
|
2018-09-01 15:11:59 +03:00 |
szotov
|
40a77d0414
|
Removed government contract
|
2018-09-01 14:50:41 +03:00 |
Kieran R. Prasch
|
06e0575642
|
Small bug fixes, post-rebase madness
|
2018-08-31 15:17:12 -07:00 |
Kieran R. Prasch
|
4de47ddd3d
|
remove stale module
|
2018-08-31 12:30:57 -07:00 |
Kieran R. Prasch
|
390b01fb2d
|
Use kprasch's fork of eth-tester; Integrate the downstream changes from PR #123
|
2018-08-31 12:22:42 -07:00 |
jMyles
|
b40707eeeb
|
Uncorked stake (ie, Ursula doesn't stake really for tests) and removed skips.
|
2018-08-31 12:21:05 -07:00 |
jMyles
|
785bc95626
|
Simpler InterfaceInfo. Loopback literals are now localhost.
|
2018-08-31 12:21:05 -07:00 |
jMyles
|
29039ddfa6
|
Powers no longer yield public keys specifically, but public material generally of any type.
|
2018-08-31 12:20:30 -07:00 |
jMyles
|
093f755dc0
|
Test showing that node can be verified with certificate.
|
2018-08-31 12:20:30 -07:00 |
jMyles
|
3329164f86
|
These tests are a little funny for the moment. Need to skip them until we get stake() working properly again.
|
2018-08-31 12:20:30 -07:00 |
jMyles
|
bd41f34a70
|
Undoing some of @kprasch's partial pasting practice.
|
2018-08-31 12:20:30 -07:00 |
Kieran Prasch
|
136b485664
|
Update pyevm backend subclass, use URI for provider connection
|
2018-08-31 12:20:29 -07:00 |
Kieran Prasch
|
d23a05536c
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 12:15:55 -07:00 |
Kieran Prasch
|
0cc2f3792f
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 12:11:45 -07:00 |
Kieran Prasch
|
1f63046ed2
|
Bifurcate interfaces module; Circumflex -> Interface
|
2018-08-31 12:05:29 -07:00 |
Kieran Prasch
|
3154fb97b6
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:55:04 -07:00 |
Kieran Prasch
|
8e1c8eb375
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:50:19 -07:00 |
Kieran Prasch
|
d8d227309f
|
Bifurcate interfaces module; Circumflex -> Interface
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
70437a76fc
|
Reorganize contract test module, and fixtures, to save on gas.
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
b6815f52ac
|
Create blank ini config via cli command
|
2018-08-31 11:47:42 -07:00 |
Kieran Prasch
|
98f9b7f4c9
|
Update pyevm backend subclass, use URI for provider connection
|
2018-08-31 11:47:38 -07:00 |
Kieran Prasch
|
a59990f022
|
Give UrsulaProcessProtocol some output, and store its run commands.
|
2018-08-31 11:34:21 -07:00 |
Kieran Prasch
|
a71cb13730
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:33:43 -07:00 |
Kieran Prasch
|
c177260684
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:31:47 -07:00 |
Kieran Prasch
|
9bc4b80984
|
Remove duplicated test ursula cache
|
2018-08-31 11:28:01 -07:00 |
Kieran Prasch
|
b770ca7725
|
Fixes Inaccurate error testing for unknown contracts.
|
2018-08-31 11:28:01 -07:00 |
Kieran Prasch
|
f5c9f19b70
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:27:59 -07:00 |
Kieran Prasch
|
f8e5d58f89
|
Project-wide automated import optimization, followed-up with some hand-tweaking
|
2018-08-31 11:24:08 -07:00 |
Kieran Prasch
|
f1917560a6
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 11:19:45 -07:00 |
Kieran Prasch
|
0601094d3f
|
Fix several bad imports post-rebase
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
b5e029a4ca
|
Support dynamicly added, lazy, multiple blockchain providers
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
4df1f077fb
|
add demo action to simulation command
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
ffa70a117d
|
Running federated ursula from CLI - Centralizes runtime cruft with injectable overrides while still considering ini config values.
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
e92621bc91
|
Keep top-level test importable for fixture availibility
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
66e6517414
|
Deprecate old config usage, Remove bad imports
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
5319ca4d02
|
Strips old versions of from_config; CLI minor bug fixes
|
2018-08-31 11:16:07 -07:00 |
Kieran Prasch
|
905a0151fb
|
keep contract tests passing alongside api changes (intermediate)
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
979d5e8def
|
Eliminate __init__.py under any test directory; Relocate utilities.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
177cca303e
|
Delay the initialization of agents during CLI runtime + small missing kwarg fix.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
6d5de0909d
|
Restore no-arg spawProcess call; Fix network status cli command bugs; Add saftey warnings.
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
dea2f4cb67
|
Add options to fake network bootstrap
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
2f19b262c4
|
Small bug fixes
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
e7e4927175
|
Deprecate old config usage, Remove bad imports
|
2018-08-31 11:03:54 -07:00 |
Kieran Prasch
|
4fd09802ff
|
CircleCI: directly use install solc script to dodge pipenv api changes
|
2018-08-31 10:53:18 -07:00 |
Kieran Prasch
|
db9775752e
|
Strips old versions of from_config; CLI minor bug fixes
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
59f298c9d2
|
update pipfile with ordering and comments, and active dev packages for WIP
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
a6add37ede
|
Extrapolate test utils submodules
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
9535a80c52
|
clean-up test utils modules
|
2018-08-31 10:52:19 -07:00 |
Kieran Prasch
|
12148a8d57
|
Clean-up imports, fixes downstream changes from pyUmbral; re-handle key importing util.
|
2018-08-31 10:52:19 -07:00 |
jMyles
|
64a040d7ef
|
Making public and private key separate arguments to keypair.
|
2018-07-20 19:05:04 -07:00 |
jMyles
|
188d301f61
|
Blockchain test compatibility in make_ursulas.
|
2018-07-19 20:19:24 -07:00 |
jMyles
|
b551067603
|
Making a distinction between blocking until some number of nodes (any nodes) are learned and blocking until some specific set of nodes are learned.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
a4664f7688
|
Updating mock middleware to work with node announcement.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
417884a791
|
Some cleanup for make_ursulas. Lots more to do. #347
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
62a98a2b71
|
Test for Ursula announcing herself on launch.
|
2018-07-18 20:20:20 -07:00 |
jMyles
|
de303c5244
|
Introducting TLSHostingPower. Ursula no longer needs to handle the cert or private_key - instead, she just generates a deployer.
|
2018-07-18 20:17:15 -07:00 |
jMyles
|
0d6bd518db
|
Using checksum address in known_nodes and TreasureMaps.
|
2018-07-18 20:17:15 -07:00 |
szotov
|
d991ca7ba3
|
Minor improvements for Windows compatibility
|
2018-07-17 22:39:12 +03:00 |
tuxxy
|
5727898452
|
Remove from and fix tests
|
2018-07-16 19:44:46 -06:00 |
jMyles
|
a48fa83857
|
Curve object for new pyUmbral version.
|
2018-07-13 12:14:28 -07:00 |
jMyles
|
cb80379ff1
|
Bringing tests up to date with new semantics.
|
2018-07-13 12:12:28 -07:00 |
jMyles
|
0ca384c87e
|
This test is irrelevant now that we test the learning loop directly.
|
2018-07-13 12:10:58 -07:00 |
jMyles
|
f721d64d09
|
Finished fetching logic for Arrangements. Fixes #180.
|
2018-07-13 11:04:52 -07:00 |
jMyles
|
2f8f087202
|
New Arrangement ID and new TreasureMap for the same. #180 nearly complete; need unpacking logic.
|
2018-07-13 11:04:52 -07:00 |
Michael Egorov
|
9f8f0053b2
|
Merge pull request #286 from nucypher/coffee
Coffee
|
2018-07-10 15:03:36 -07:00 |
jMyles
|
39e6433761
|
Passing bytes-in / bytes-out instead of eth_keys Signature object.
|
2018-07-10 10:14:42 -07:00 |
jMyles
|
a88052c9a2
|
Separating blockchain Alice from regular ole' Alice. Style touch-ups.
|
2018-07-10 10:14:42 -07:00 |
jMyles
|
d8a5a4a110
|
Verification logic by public address. Fixes #353.
|
2018-07-10 10:14:42 -07:00 |
jMyles
|
eddcf0f5f0
|
Test for stamp evidence.
|
2018-07-10 10:14:42 -07:00 |
szotov
|
ff71b58029
|
Finished the upgradeable UserEscrow contract, contracts mocks are combined into test sets
|
2018-07-06 21:17:02 +03:00 |
szotov
|
9f7c662ea4
|
Draft of an upgradeable user escrow
|
2018-07-06 21:17:02 +03:00 |
jMyles
|
8f8b28f0d2
|
Test fixups.
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
2e96c1620a
|
Passing checksum_address where it's needed.
|
2018-07-05 11:54:45 -07:00 |
Kieran Prasch
|
162c542df4
|
Combine and reorganize fixture modules
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
7cf5bbf3f2
|
Fixed up args and kwargs for Character (although needs some organization).
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
bcc159367f
|
Fixing up tests.
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
bd215d975a
|
Using three_agents for miner fixture.
|
2018-07-05 11:54:45 -07:00 |
jMyles
|
cc5d6ef52a
|
Beginnings of Character serialization tests.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
303b4dfc8c
|
More test touchups and fixture organization, in anticipation of #338.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
2776928eda
|
Fixing Bob up!
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
22065fd61e
|
Some cleanup on models following the big TreasureMap changes.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
aab0e405a9
|
Cleaning up some uses of deprecated fixtures.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
90c0044394
|
There's really no point to specifying REST details - if you want to learn from a specific node, just make it your next teacher.
|
2018-07-02 20:44:09 -07:00 |
jMyles
|
590c4dbe75
|
Learning Loop eagerness now defaults to False, with a sanity check. Also, a skeleton of a test. See #311.
|
2018-07-02 20:44:09 -07:00 |
Kieran Prasch
|
ef69c6249a
|
Remove geth fixtures... for now.
|
2018-06-27 13:02:45 -07:00 |
Kieran Prasch
|
e96e5fc95e
|
Respond to request for changes.
|
2018-06-26 16:15:11 -07:00 |
Kieran Prasch
|
54d939c81a
|
Allow creation of 'bare' ursula in utils.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
8204351b6f
|
Integrate three agents with existing fixtures, restore token airdrop as a utility function.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
4c69809af9
|
Keep fixtures up to date with registry changes; Deprecate or relocate some test utilities.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
eb55117996
|
Prepares flattened contract registry for integration with circumflex.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
6807ac0bfc
|
Reorganize blockchain tests, remove stale test modules.
|
2018-06-26 01:10:45 -07:00 |
Kieran R Prasch
|
f3d6c40ef0
|
Refactor registry tests for proxy contracts.
|
2018-06-26 01:10:45 -07:00 |
Kieran R Prasch
|
c2be534188
|
Refactor registry usage, erorr handling, first pass.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
fd8657930f
|
Fix registry syntax and import errors.
|
2018-06-26 01:10:45 -07:00 |
tuxxy
|
41a533cb6f
|
Have lookup_contract search better
|
2018-06-26 01:10:45 -07:00 |
tuxxy
|
9696821a98
|
Add test for BlockchainPower
|
2018-06-26 01:58:04 -06:00 |
jMyles
|
edba3a336d
|
Using to_canonical_address instead of unhexlify.
|
2018-06-23 14:33:46 -07:00 |
jMyles
|
cced06514d
|
Catching tests up with federated logic.
|
2018-06-22 20:28:08 -07:00 |
jMyles
|
fb8747274a
|
Totally new logic for test_grant for federated case.
|
2018-06-22 20:27:43 -07:00 |
jMyles
|
742a00e799
|
Deprecating testerchain in favor of three_agents. Using three_agents in ursulas fixture. This fixture now returns a set.
|
2018-06-22 20:27:15 -07:00 |
jMyles
|
2d9d25ab8a
|
Using token airdrop and dropping MockTokenAgent.
|
2018-06-22 20:23:18 -07:00 |
jMyles
|
766acca7bf
|
known_nodes is now private _known_nodes.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
e7375e0d98
|
Removing is_federated and using federated_only instead.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
b2e5d9958e
|
Evolved tests and fixtures. Mocking some blockchain logic and discovered Ursulas with learning loop.
|
2018-06-22 20:18:06 -07:00 |
jMyles
|
6e3814cee2
|
token_airdrop as a utility function.
|
2018-06-22 20:17:57 -07:00 |
Michael Egorov
|
ab955416cf
|
High level ecomomic params
|
2018-06-21 19:19:10 -07:00 |
jMyles
|
6b0e3cf92d
|
We don't even use MockTokenAgent anymore.
|
2018-06-20 14:57:29 -07:00 |
szotov
|
944a9db66b
|
Added constant for policy id length, fixed descriptions of some methods
|
2018-06-20 10:14:25 -07:00 |
szotov
|
f6736da2bf
|
Reduces size of variables in contracts
|
2018-06-20 10:13:47 -07:00 |
szotov
|
e0139897db
|
Improved the sample method in MinersEscrow and in agent. Some refactoring
|
2018-06-20 10:13:47 -07:00 |
szotov
|
2999110c16
|
Removes minerIds and datastore
|
2018-06-20 10:13:44 -07:00 |
jMyles
|
e4253b6c5d
|
Including Ursula ether address as part of public information.
|
2018-06-20 10:13:26 -07:00 |
jMyles
|
36b86eb6bb
|
Implementing InterfaceInfo.
|
2018-06-20 10:13:26 -07:00 |
jMyles
|
0c7646fa94
|
Working known_nodes into fixtures and tests.
|
2018-06-20 10:13:26 -07:00 |
Kieran R Prasch
|
bdbef9b0d6
|
Deprecate node contract datastore client methods
|
2018-06-20 10:13:26 -07:00 |
szotov
|
eccef48005
|
Fixes stake division for the actors and agents
|
2018-06-20 10:12:50 -07:00 |
szotov
|
8595355d41
|
Using index of stake in the divideStake method in the contract
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
9981847bd6
|
draft miner divide stake public method
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
57975f71f5
|
Keep tests up-to-date; Create convention for test accounts, adds miners fixture, use properties and injected deployer_addresses.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c75425615f
|
Fixes miner entity test failure, multi-path fixture resolution issues
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
1133faa215
|
Update node contract datastore tests
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
27ffc557ad
|
Updates tests and utilities with blockchain-representable characters
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c442d1cd95
|
Make miner contract datastore methods private
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
7a35c4b24b
|
Hack together MockRestMiddleware, temp fix until implementing node learning.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c1857847d2
|
Update actor tests with testerchain renaming.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
616a3001bb
|
Update miner contract datastore tests with caching ability
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
db5856f932
|
Lazify reading the miners contract datastore with a cached iterator.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
31f07e9ba7
|
Subclass UmbralPrivate key, Use Umbral keys to make test accounts.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
820f41bdc0
|
Blockchain make arrangement lock periods, and consideration
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
4af2037bbf
|
Decouple blockchain operations, expand Policy and Arrangement types.
|
2018-06-20 10:12:47 -07:00 |
Kieran Prasch
|
e2eb556e10
|
Middleware -> RestMiddleware
|
2018-06-20 10:12:27 -07:00 |
Kieran Prasch
|
94d94d3407
|
Additional deprecation of alice DHT usage.
|
2018-06-20 10:12:27 -07:00 |
jMyles
|
00d0e64c7e
|
Goodbye nucypher_test_config.
|
2018-06-20 10:12:26 -07:00 |
jMyles
|
196e2bc0da
|
ArrangementResponse never really made sense.
|
2018-06-20 10:12:26 -07:00 |
jMyles
|
a02a252d3d
|
Style fixes.
|
2018-06-20 10:12:26 -07:00 |
Kieran Prasch
|
e37de07ec0
|
Begins deprecation of alice publishing Tmap to DHT; Post rebase cleanup.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
44952cd636
|
Introduces blockchain network elemtns to higher-level character tests; Additional high level blockchain setup fixtures.
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
078d39df88
|
Update entity tests and utils to testerchain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
8a65ca14f2
|
Deprecated compadability fixtures, updates contract tests to testechain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
550a8cc1d7
|
Refactor Policy and Arrangement methods to play nice with the blockchain client; Remove fake blockchain client
|
2018-06-20 10:11:58 -07:00 |
Kieran Prasch
|
7891588fd0
|
Keep tests up-to-date; Create airdrop and deploy fixtures; Fix additional stray imports
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
0f9ddb9763
|
NucypherConfig actor entry point; Use remaining miner/token constants with sorrow.
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
ff17d1fedb
|
Further integrate TokenActors and Characters with co-op scheme
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
6e751f6775
|
Renames(mostly) NetworkyStuff to NetworkMiddleware.
|
2018-06-20 10:11:28 -07:00 |
Kieran Prasch
|
45bf82b033
|
Removes stale verify corectness params in character tests.
|
2018-06-19 15:35:36 -07:00 |
Kieran R Prasch
|
0117564b4d
|
Add parallelism to contract test steps with circleci cli
|
2018-06-19 12:04:48 -07:00 |
Kieran R Prasch
|
06f7b31fcd
|
Subdivide contract tests; Add parallel step circleci contract workflow
|
2018-06-17 15:30:16 -07:00 |
K Prasch
|
0fae344116
|
Merge pull request #283 from szotov/solidity-dev
Contracts optimization
|
2018-06-04 13:54:39 -07:00 |
szotov
|
6ca748d96f
|
Added some comments
|
2018-06-04 22:21:30 +03:00 |
szotov
|
50981799c6
|
Changed miner id size
|
2018-06-03 21:56:15 +03:00 |
jMyles
|
8379b23a1f
|
Stray import of Signature.
|
2018-06-02 19:54:08 -07:00 |
jMyles
|
57396ef1ca
|
Fixing the setting of keys for cfrag correctness check, and explicitly passing a constant value so that these tests can be run in isolation.
|
2018-06-02 16:24:40 -07:00 |
jMyles
|
0672f25880
|
Some more tests that have become slow.
|
2018-06-02 16:21:29 -07:00 |
szotov
|
4d3496bfa7
|
Contracts size optimization
|
2018-06-02 17:21:32 +03:00 |
szotov
|
b7d5d3c2a9
|
Optimizing activity information
|
2018-06-02 17:21:30 +03:00 |
szotov
|
7d2476b96a
|
Fixes dividing stake that will be finished in the current period
|
2018-06-02 17:21:28 +03:00 |
szotov
|
60a6f97e08
|
Added public method for the refund calculation in the PolicyManager
|
2018-06-02 17:21:27 +03:00 |
szotov
|
f8ba5c0a16
|
Optimizing the policy storage in the PolicyManager
|
2018-06-02 17:21:24 +03:00 |
szotov
|
9da2d15e7e
|
Optimizing the createPolicy method
|
2018-06-02 17:20:20 +03:00 |
szotov
|
b41294c4e3
|
Removes reward decimals
|
2018-06-02 17:17:34 +03:00 |
K Prasch
|
05abf4dadf
|
Merge branch 'master' into actor-integration
|
2018-05-31 10:18:37 -07:00 |
Justin Holmes
|
19b0f71555
|
Merge pull request #278 from jMyles/umbral-compat
Uses Alice's Stamp as a signer for KFrags; Bob and Ursula validate them as such.
|
2018-05-29 18:35:54 -04:00 |
jMyles
|
fa6a4f6f57
|
Using pyUmbral Signer as SignatureStamp's signing function.
|
2018-05-28 12:10:05 -07:00 |
Kieran R Prasch
|
4965b0554e
|
Responds to request for changes
|
2018-05-28 13:58:56 -04:00 |
jMyles
|
562ec6b95f
|
Using expected_bytes_length for frags.
|
2018-05-28 10:46:48 -07:00 |
jMyles
|
65ade05855
|
We need a signer in a few places now - using Alice's stamp for that.
|
2018-05-28 10:34:29 -07:00 |
Kieran Prasch
|
a943bdfeb2
|
Update travis with allowable faulre for python 3.7
|
2018-05-24 11:00:54 -07:00 |
Kieran Prasch
|
2558bb1532
|
Fixes miner collecting stake reward fixture scoping
|
2018-05-24 10:48:57 -07:00 |
Kieran Prasch
|
ae9917e779
|
Update actor and characters tests post-integration
|
2018-05-24 10:48:57 -07:00 |
Kieran Prasch
|
763c29eeac
|
Merge Blockchain actors and Characters
|
2018-05-24 10:48:57 -07:00 |
Kieran Prasch
|
722cf9918f
|
Nucypher and BlockchainConfig and it's tenticles; Related NucypherConstants and ContractInterface updates.
|
2018-05-24 10:48:57 -07:00 |
Kieran Prasch
|
5583e83421
|
Transforms ContractProvider into ContractInterface; Begins BlockchainConfig.
|
2018-05-24 10:48:57 -07:00 |
szotov
|
4079522140
|
Fixes #272
|
2018-05-22 14:12:04 +03:00 |
szotov
|
b0aab2acbd
|
Fixed warnings by Solidity version 0.4.24
|
2018-05-22 14:12:04 +03:00 |
szotov
|
55e1a254ec
|
Fixed test in test_actors.py
|
2018-05-19 11:56:38 +03:00 |
szotov
|
48ce0a6428
|
Changed unlocking in the UserEscrow
|
2018-05-19 11:56:38 +03:00 |
szotov
|
41d24f9ad9
|
Fixed finishUpgrade methods in the MinerEscrow and Issuer, added vote method to the UserEscrow
|
2018-05-19 11:56:37 +03:00 |
szotov
|
be514a4848
|
Fixed unlocking with confirmActivity
|
2018-05-19 11:56:36 +03:00 |
szotov
|
0b068d26e0
|
Added draft of the docs for contracts, fixed user escrow
|
2018-05-19 11:56:36 +03:00 |
szotov
|
01a1a6d7d7
|
Fixed the approveAndCall method in the token contract, added implementation of the receiveApproval method in the escrow contract
|
2018-05-19 11:56:36 +03:00 |
szotov
|
33ff3d0955
|
Added minimum reward rate for nodes in the PolicyManager
|
2018-05-19 11:56:35 +03:00 |
Kieran Prasch
|
53ef5c0679
|
Bumps etherereum dependency versions; Fixes side effects.
|
2018-05-18 12:14:02 -07:00 |
Kieran R Prasch
|
6397fba5f1
|
Rename NuCypher -> nucypher where appropriate.
|
2018-05-16 18:31:49 -04:00 |
Kieran R Prasch
|
bcc81682c6
|
Rename periods -> lock_periods
|
2018-05-15 21:42:58 -07:00 |
Kieran Prasch
|
b546c7159b
|
Time Travel Fixes, Remove skips, fixes post-rebase
|
2018-05-15 21:42:31 -07:00 |
Kieran Prasch
|
e176ba82b7
|
Make config class attrs public, use real values for testing via time travel and simulated mining.
|
2018-05-15 21:27:12 -07:00 |
Kieran Prasch
|
ceda960832
|
Relocate miner spawning test utility
|
2018-05-15 21:25:46 -07:00 |
Kieran Prasch
|
8cde41da70
|
Fixes sampling and miner datastore logic from contract API updates
|
2018-05-15 21:20:21 -07:00 |
Kieran Prasch
|
e6f212a1cc
|
Fixes staking and locking client methods, concise test narrative for miners.
|
2018-05-15 21:20:21 -07:00 |
Kieran Prasch
|
320d84da63
|
Small fixes to rulebooks and airdropping.
|
2018-05-15 21:19:38 -07:00 |
Kieran Prasch
|
441fb1346f
|
Additional mocked testing utils; Faked token distribution for testing only
|
2018-05-15 21:19:35 -07:00 |
Kieran Prasch
|
3b27ef265c
|
Gives contract deployers agency classes, bypassing the registrar to produce contract agents.
|
2018-05-15 20:47:06 -07:00 |
Kieran Prasch
|
4ec9df051f
|
deprecates agent.call() and .transact(); Upgrade to newer web3 API, with direct contract access
|
2018-05-15 20:18:40 -07:00 |
szotov
|
f9eb10de60
|
Added cancellation of the upgrading if there are errors
|
2018-05-15 20:18:40 -07:00 |
jMyles
|
3e76563c10
|
Using.get_size() for fragments.
|
2018-05-08 21:45:00 -07:00 |
jMyles
|
41805d5d06
|
Removing references to 'KMS'
|
2018-05-08 13:02:18 -07:00 |
jMyles
|
e5d17b527c
|
Marking last few pesky tests skip for now.
|
2018-05-07 14:56:44 -07:00 |
jMyles
|
f1b28a1c8e
|
Variable length CFrag and CFrag validity checks in place.
|
2018-05-07 13:41:55 -07:00 |
jMyles
|
81beb77753
|
Test suite runs in about 4 seconds with this config.
|
2018-05-07 13:41:55 -07:00 |
Kieran Prasch
|
4fb63785ef
|
working pipfile and lock
Test suite runs in about 4 seconds with this config.
|
2018-05-07 13:41:43 -07:00 |
Kieran Prasch
|
d4324841e4
|
Change fixture scope
|
2018-05-06 18:03:24 -07:00 |
Kieran Prasch
|
e386d7e7f0
|
Thin Pipfile; Fix dispatcher filter bug
|
2018-05-06 18:03:24 -07:00 |
Kieran Prasch
|
a14e77a0e7
|
Bug fixes with .call in several contract tests.
|
2018-05-06 18:03:11 -07:00 |
Kieran Prasch
|
b3bbfe1ec9
|
Shorten blockchain filter duration with tagged starting block
|
2018-05-06 18:01:58 -07:00 |
szotov
|
8055f4c03a
|
Some fixes for the interaction of python and contracts
|
2018-05-05 20:29:08 +03:00 |