jMyles
5547f397ba
Cleaning up some warts that were causing occasional failures.
2020-08-10 13:02:13 -07:00
jMyles
a6a873482f
Merging #2128 , #2137 , #2155 into a rebase over main (instead of three separate github-generated merge commits, which caused a conflict).
2020-08-10 13:01:47 -07:00
jMyles
fdb726095a
Some more debug-level logs instead of prints.
2020-08-10 12:55:29 -07:00
jMyles
eaf7fbca37
Some debugging breadcrumbs for Ursula.
2020-08-10 12:54:04 -07:00
jMyles
a341962155
Struggling with some ALreadyCalled issues - turning debugging on for the defer module gives some useful insight.
2020-08-10 12:53:48 -07:00
jMyles
8cd182e26d
Stopping Bob and Ursula at appropriate times.
2020-08-10 12:53:33 -07:00
jMyles
78eb904c10
Flagging test bob's origins for inspection on other threads.
2020-08-10 12:53:33 -07:00
jMyles
7362b4bfe2
Adding cancellation to keep_learning logic.
2020-08-10 12:53:32 -07:00
jMyles
e7e710bb36
Stop Alice's publication threadpool in disenchant().
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
jMyles
a0db5ffb15
Moving federated tests into their own module to keep the cache cleaner.
2020-08-10 12:52:30 -07:00
jMyles
fde4d9049b
Fixturizing lonely_ursula_maker for cleanup purposes.
2020-08-10 12:51:42 -07:00
jMyles
046c8e3989
Reworked logic to determine good serials for mocks.
2020-08-10 12:49:54 -07:00
jMyles
a69705475a
Fixing up fixtures to fail fast and delete Ursulas when done.
2020-08-10 12:49:26 -07:00
jMyles
babcd9174e
No need to reset checksum_address in Worker - let's try to set it in as few places as possible. #1547 .
2020-08-10 12:49:23 -07:00
jMyles
18993022ea
Stop Alice's publication threadpool at the end of fixtures; otherwise tests hang.
2020-08-10 12:47:33 -07:00
jMyles
295518033e
Refining both test and threadpooling. Looking pretty good now.
2020-08-10 12:45:22 -07:00
jMyles
359980288d
Cleaning up here results in faster test run exit.
2020-08-10 12:45:22 -07:00
tuxxy
52038e36dc
Create a MockLMDBEnv w/ fixture and fix up some tests
...
Patch the PolicyArrangement model to fix discovery phase tests
2020-08-10 15:38:12 +02:00
tuxxy
846625d917
Replace as much old datastore logic as possible
2020-08-10 15:37:30 +02:00
tuxxy
184b3bf563
Create a base 'DatastoreRecord' class and models with tests
...
Move the base models to base.py and add more datastore tests
Change key structure to 'RecordType:RecordField:RecordID'
Eliminate the db module
2020-08-10 15:37:30 +02:00
David Núñez
e438f2f944
Use our new Logger replacement everywhere
2020-08-08 03:14:45 +02:00
jMyles
39f0dc4d6b
Some more debug-level logs instead of prints.
2020-07-26 19:20:47 -07:00
jMyles
d06deba742
Some debugging breadcrumbs for Ursula.
2020-07-22 16:16:30 -07:00
jMyles
695c1c4bd8
Struggling with some ALreadyCalled issues - turning debugging on for the defer module gives some useful insight.
2020-07-22 16:15:48 -07:00
jMyles
1534bc07a9
Stopping Bob and Ursula at appropriate times.
2020-07-22 15:55:31 -07:00
jMyles
4a616d143d
Flagging test bob's origins for inspection on other threads.
2020-07-22 15:55:31 -07:00
jMyles
4261743594
Adding cancellation to keep_learning logic.
2020-07-22 15:55:27 -07:00
jMyles
7e964fe4ec
Stop Alice's publication threadpool in disenchant().
2020-07-17 19:36:57 -07:00
jMyles
86398eb43a
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-07-09 20:42:27 -07:00
jMyles
8c6cdf5145
Moving federated tests into their own module to keep the cache cleaner.
2020-06-25 23:18:14 -07:00
jMyles
10b8b13b9b
Ursula maker fixtures now raise if the cache is unclean.
2020-06-25 19:28:09 -07:00
jMyles
0d6185e90a
Fixturizing lonely_ursula_maker for cleanup purposes.
2020-06-25 19:27:43 -07:00
jMyles
e7387352b2
Reworked logic to determine good serials for mocks.
2020-06-24 14:37:52 -07:00
jMyles
e8e3e9ab4e
Fixing up fixtures to fail fast and delete Ursulas when done.
2020-06-23 15:59:11 -07:00
jMyles
1170c27b63
The connectivity problem will now manfiest itself as NotEnoughNodes, as Bob won't have learned in time to try to get the map.
2020-06-22 18:30:21 -07:00
jMyles
09e03d156e
Stop Alice's publication threadpool at the end of fixtures; otherwise tests hang.
2020-06-22 18:30:20 -07:00
jMyles
9045c3d7c1
Refining both test and threadpooling. Looking pretty good now.
2020-06-22 18:30:20 -07:00
jMyles
3b309baccd
Cleaning up here results in faster test run exit.
2020-06-22 18:30:20 -07:00
David Núñez
519fc253bd
First pass at improving block confirmation logic and tests
2020-06-05 04:02:46 +02:00
Bogdan Opanchuk
8dbaf2b206
Use `capsys` instead of `stdout_trap`
2020-05-28 14:42:04 -07:00
Kieran Prasch
6c9c1b7cd8
Holdover for flaky test.
2020-05-27 14:11:25 -07:00
Kieran Prasch
28cce2fccc
Reorganize tests into multiple suites.
2020-05-27 14:11:25 -07:00
Bogdan Opanchuk
ec376ff997
Remove a duplicate agency_local_registry() fixture
2020-05-26 10:26:42 -07:00
Kieran Prasch
cf7cb682e0
RFCs for #1989 ; Transforms registry source manager into a formal context manager.
2020-05-21 18:54:40 -07:00
Kieran Prasch
5ce1134950
Keep CLI action module names verbs; Fixture cleanup.
2020-05-20 21:42:21 -07:00
Kieran Prasch
c425ea6aa5
Tightening down config actions tests
2020-05-20 21:41:45 -07:00
Kieran Prasch
44de13d149
Cleanup and parameterize fixtures for FT coverage; Introduces test configuration factory functions for pyetst fixtures.
2020-05-20 21:41:44 -07:00
Kieran Prasch
ed3b5b38ed
Fixes a bug in registry source management; Restore to original network inventory so it can be tested.
2020-05-20 21:40:53 -07:00
derekpierre
c1d93d8941
Add "end-of-file-fixer" to pre-commit hooks
2020-05-19 14:28:29 -04:00
Kieran Prasch
ecb773291a
Post rebase cleanup ( #1959 )
2020-05-15 09:05:09 -07:00
Kieran Prasch
f263e4c2a0
Promote and clear constants modules;
...
Partly convert constants to Pathlib, Use safe mock IP address constants.
Accommodate more pathlib in tests
2020-05-15 08:36:11 -07:00
Kieran Prasch
3b4e9b47dc
Optimize imports for the entire codebase
2020-05-15 08:34:25 -07:00
Kieran Prasch
a935dc8e2d
Annihilate the sandbox
2020-05-15 08:33:38 -07:00
Harry Arjun Hassard
dfb9e11a33
1st attempt at clarifying universal fee range and limited service-provider control over their acceptable fee rates
2020-05-13 17:56:33 -07:00
vzotova
c228c388c3
Rename `set worker` to `bond worker` everywhere
2020-05-13 20:21:53 +03:00
vzotova
4a0b79b2ca
StakingEscrow: confirmActivity -> commitToNextPeriod, lastActivePeriod -> lastCommittedPeriod
2020-05-13 20:21:52 +03:00
vzotova
6039002408
Rename policy reward to policy fee
2020-05-13 20:21:51 +03:00
Kieran Prasch
c177d2dca1
Introduce mock interfaces module
2020-05-08 19:20:54 -07:00
Kieran Prasch
1b49236deb
Handle registry source manager via mock testerchain
2020-05-08 19:20:54 -07:00
Kieran Prasch
066f778dda
Restore allocation handling in fixtures
2020-05-08 19:20:54 -07:00
Kieran Prasch
e8fbd5956a
Handle token economics and mock testerchain compadibility with the larger test suite as a whole.
2020-05-08 19:20:54 -07:00
Kieran R. Prasch
a58af7daf3
Mock and functional-scoped test grouping (fixtures)
2020-05-08 19:20:54 -07:00
Kieran Prasch
d7f99e7a53
Introduce MockBlockchain; pytestfixture tweaks.
2020-05-08 19:20:54 -07:00
Kieran Prasch
0c2f684d71
Neat layout for agent mocking and cli unit testing
2020-05-08 19:20:54 -07:00
Kieran R. Prasch
cf1c40c919
Proof of Concept fast CLI test.
2020-05-08 19:20:54 -07:00
Kieran Prasch
923832b3c5
Hack and slash with mock web3 backend
2020-05-08 19:20:54 -07:00
K Prasch
6e1ae2fe8f
Merge pull request #1964 from KPrasch/squash
...
Bug Fixes: WSS Provider, Keystore file Handling
2020-05-08 09:59:27 -07:00
Kieran Prasch
20358ae9a2
Dont add test account twice in tests.
2020-05-07 10:10:34 -07:00
David Núñez
d180d81c8a
Batch deposit methods in StakingEscrowAgent and unit tests
2020-05-05 20:06:16 +02:00
David Núñez
d3a88dc205
First test for Trustee: proposing MultiSig management operations
2020-04-15 02:36:22 +02:00
David Núñez
e1dc124317
Adapt everything else to no secrets: deployers, tests, CLI, docs, etc
2020-04-09 17:59:56 +02:00
Kieran R. Prasch
64786b572d
Allow opt-out for uptime checks via configuration and disable it during tests by default.
2020-03-31 11:05:25 -07:00
Kieran Prasch
a26daf57b5
Renames TransactingPower init kwarg to account.
2020-03-26 14:55:38 -07:00
Kieran Prasch
9c1aec73af
refining tpower and signer exception handling, in tandem.
2020-03-26 14:55:38 -07:00
Kieran R. Prasch
027adbfdc7
Implements extracted signers in Character configuration and init, tests to follow.
2020-03-26 14:53:40 -07:00
Kieran R. Prasch
1685c37407
Moving TPower in a single account signer-based backend.
2020-03-26 14:53:40 -07:00
K Prasch
5fe81dc65d
Merge pull request #1773 from vzotova/worklock-updates-opt4
...
🐳 Worklock updates (option 4)
2020-03-19 10:21:11 -07:00
vzotova
38ddc5e591
WorkLock: force refund at CLI, actor, agent layers
2020-03-13 22:57:39 +03:00
vzotova
a2deca9eb8
WorkLock: cancellation window
2020-03-13 21:51:05 +03:00
vzotova
5c719dd1a9
New constraints in WorkLock: minimum allowed bid, cancellation only during bidding, removed unclaimed tokens
2020-03-13 21:51:04 +03:00
K Prasch
ab978c09be
Merge pull request #1759 from KPrasch/configurate
...
Offline Configuration Selection
2020-03-13 10:56:05 -07:00
Kieran Prasch
489c048712
KeyStore -> Datastore
2020-03-09 14:50:18 -07:00
Kieran Prasch
eb32902704
Keep missing configuration tests passing; Always use mocked registry source.
2020-03-05 10:02:20 -08:00
Kieran Prasch
cf1ca2093f
Interactive network selection; Touch ups.
2020-03-03 09:17:09 -08:00
David Núñez
7e1dec2950
Merge pull request #1662 from vzotova/rate-range
...
[DO NOT MERGE YET] Reward rate range
2020-02-27 12:05:03 -08:00
vzotova
4188cc673f
Set min rate for a staker in actor, agent and CLI layers
2020-02-20 12:05:50 +03:00
Kieran R. Prasch
3f3386d360
Allow for forcible blockchain interface registration for tests.
2020-02-19 20:53:39 -07:00
jMyles
cf07c3add6
Why wasn't blockchain side channel always compatible with the federated one?
2020-02-15 17:58:48 -07:00
jMyles
6c73075867
I don't like the sound of that.
2020-02-08 01:18:51 -08:00
jMyles
dc202da06e
Include enrico instance when resetting capsule_side_channel for test convenience.
2020-02-08 01:18:51 -08:00
jMyles
447b9b6e5c
We don't need the temporary download_registry fix anymore.
2020-02-08 01:18:51 -08:00
jMyles
5f0c7ce5ef
Several test fixes, most notable including that, in the capsule_side_channel fixture, we now keep the same enrico until it is reset().
2020-02-08 01:18:51 -08:00
jMyles
677c8ddcfb
When generating WorkOrder, if CFrags are being retained, return two tuples of WorkOrders - one complete, the other incomplete. Also some refactoring.
2020-02-08 01:18:50 -08:00
David Núñez
c756b4ef14
Use new agency_local_registry fixture for CLI tests, and fix broken tests
...
Previously, we were supporting the consistency of our registry usage in a weird combination of fixtures' side-effects. Not anymore. CLI tests should use agency_local_registry, since it's a file-based mirror of the test_registry fixture when agency is assumed.
2020-02-07 11:28:34 +01:00
Kieran Prasch
5570d20df5
Unblocked by dnunez - Init stake via worklock allocation and ind. registry.
2020-01-30 10:27:29 -08:00
Kieran Prasch
657bc0b9a5
Third pass on Worklock CLI under new design\ patterns
2020-01-30 10:27:29 -08:00
Kieran Prasch
355d7ff887
Deprecates TestEconomics; Adds worklock supply and funding management - Extracts statistical methods to worklock agent.
2020-01-30 10:27:29 -08:00
Kieran R. Prasch
82dbfcfe89
First steps to integrate worklock deployment params via economics
2020-01-30 10:26:37 -08:00
David Núñez
f1daae2463
Relocate NetworksInventory to nucypher.blockchain.eth.networks
2020-01-19 23:20:11 +01:00
David Núñez
3da6bdf087
Don't set globally a default domain in tests
...
Otherwise, tests are not modeling real behavior, where we don't have a default.
2020-01-19 19:58:38 +01:00
David Núñez
b802af8223
A RegistrySourceManager for tests that only uses a tailored MockRegistrySource
...
It assumes that the only valid network is TEMPORARY_DOMAIN
2020-01-19 02:59:14 +01:00
David Núñez
fe55ffc42c
Preoperative marking before replantation surgery
...
We want to connect learning to "registry" domains
2020-01-18 19:40:19 +01:00
vzotova
3f888c8b51
Fix cli tests with policy creation
2020-01-10 13:14:01 +03:00
vzotova
4c983fc045
Update character layer for new start/end policy time
2020-01-10 13:14:00 +03:00
jMyles
b49dcf98b3
Some more optimizations to lower test time.
2020-01-08 16:43:39 -08:00
jMyles
91e757b021
highperf mocked ursula fleet is now variable in size.
2020-01-08 16:43:39 -08:00
jMyles
949cea211a
Up and down in the water?! A mock Bob for working with highperf mock Ursulas.
2020-01-08 16:43:39 -08:00
jMyles
703aeeee02
Need mock message verification in more places than were initially obvious.
2020-01-08 16:43:39 -08:00
jMyles
5de196329a
New fixture for high-performance mocked Alice, which is compatible with Ursulas fixture in previous commit.
2020-01-08 16:43:39 -08:00
jMyles
377d88c81c
Making fixture out of high-performance mocked ursulas.
2020-01-08 16:43:39 -08:00
vzotova
686a977f43
Test flag for StakingEscrow in administrator class
2019-12-26 13:01:10 +03:00
David Núñez
fe11752e58
Introduce mock_transacting_power_activation fixture
2019-12-11 13:27:08 +01:00
David Núñez
da7a572549
Adapt tests to new registry fetching; extract common fixture.
2019-12-11 13:27:08 +01:00
Kieran R. Prasch
57df8069a4
use random worker private key in manual worker fixture; remove stale script.
2019-12-03 21:05:25 -08:00
Kieran R. Prasch
aa2c6b191e
Fixes #1343 - Move StakeHolder to blockchain Actors.
2019-12-02 18:28:02 -08:00
Kieran R. Prasch
6105ffe235
Accommodate inter-test-module transacting power unlocking where needed (eth-test =>0.3.0b0).
2019-11-25 13:32:04 -08:00
David Núñez
377eb0dcf9
Test IndividualAllocationRegistry. Fix some broken stuff.
2019-10-19 23:59:37 +02:00
szotov
dd0be915c4
Rename UserEscrow in python
2019-10-19 22:48:47 +02:00
Michael Egorov
f365c82627
Blockchainy RPC tests pass
2019-10-01 12:14:38 -07:00
Michael Egorov
1c5b579ef0
ursulas -> handpicked_ursulas
2019-10-01 12:14:38 -07:00
Michael Egorov
baf964e83e
Test started being fixed (unfinished yet)
2019-10-01 12:14:38 -07:00
szotov
390bf0ba46
Remove unused import
2019-09-18 18:23:06 +03:00
szotov
800876638f
Reset chain using block hash
2019-09-15 18:22:27 +03:00
szotov
f58eb7a090
Monkey patch to prevent gas estimates
2019-09-12 11:09:00 +03:00
szotov
c0a4f976c6
Reset state in testerchain
2019-09-12 11:08:59 +03:00
David Núñez
7b8b31df22
Getting rid of old `session_agency` fixture. Use `agency` instead.
2019-09-10 22:14:29 +02:00
David Núñez
812349ffd5
Reduce probability of skewed stake distribution in stakers fixture
2019-09-10 22:14:29 +02:00
Kieran Prasch
3b3c2f2f1c
Respond to RFCs in PR #1157 Pt. II.
2019-09-10 12:35:51 -07:00
Kieran R. Prasch
fa3285a310
Use session-based deployment secrets for testing upgrades; Adjustments for ownership CLI tests.
2019-09-09 14:51:11 -07:00
Kieran R. Prasch
562e5c6b2d
Working ownership inspection and status commands.
2019-09-09 14:50:46 -07:00
Kieran Prasch
f210ce0688
Details nucypher status output; Passing nucypher transfer-ownership tests; Deploy UserEscrowProxy in agency fixture.
2019-09-09 14:50:44 -07:00
Kieran R. Prasch
6bdfc6c331
Re-implements some ursula mocking via pytest-mock spy.
2019-09-06 11:59:01 +02:00
szotov
e9d2b1f3c7
Combine TokenEconomics and SlashingEconomics
2019-09-04 13:24:02 +03:00
szotov
a36bf80dc8
Fix after rebasing
2019-09-04 13:24:02 +03:00
szotov
44717dcca6
Split TokenEconomics into two classes
2019-09-04 13:24:01 +03:00
Kieran R. Prasch
64d40a7f80
Whoops! Restores 'address' and respectively
2019-08-27 09:56:41 -07:00
szotov
72f8b49501
Monkey patch to prevent gas adjustment in tests
2019-08-27 09:56:41 -07:00
Kieran Prasch
58f34dac7b
Checkpoint #4 - Fixes policy sampling bugs - continue reflow fixes.
2019-08-27 09:56:41 -07:00
Kieran Prasch
2a299aaca1
Checkpoint #3 - Reflow StakeHolder, Stake and Wallet Management.
2019-08-27 09:56:36 -07:00
Kieran Prasch
324c2805f5
Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow.
2019-08-27 09:54:14 -07:00
Kieran Prasch
69aea3f725
Checkpoint: Refactors lifecycle of Blockchain and Registry.
2019-08-27 09:54:13 -07:00
David Núñez
88c6309369
Add a log entry during tests to mark begin and end of each test
2019-08-04 02:41:04 +02:00
David Núñez
031ba817f1
Setting download_registry=False in test fixtures
2019-08-03 21:49:01 +02:00
David Núñez
8dcf5a799d
Remove second stamp substantiation. Fix #1091
2019-07-29 11:27:14 -07:00
Kieran Prasch
c4f14cb1f0
Deprecates funding account and account creation options. Touch up stake CLI.
2019-07-25 15:18:29 -07:00
Kieran Prasch
1b3e3e45e5
Respond to RFCs in PR #1111 : Remove deployment transaction gas limit.
2019-07-25 15:18:29 -07:00
David Núñez
2d383ba41c
Once per module, session_testerchain restores balance of accounts, at expense of coinbase ¯\_(ツ)_/¯
2019-07-25 15:18:29 -07:00
David Núñez
1e431741e3
Reusable, session-scoped testerchain PoC: Deployers test time down 37%
2019-07-25 15:18:29 -07:00
Kieran Prasch
f947e6f747
Extracts manual staker and worker fixtures, Fixes incorrect address in to/from UrsulaConfiguration; Attempting to fix reward collection CLI integration tests.
2019-07-25 15:18:29 -07:00
Kieran Prasch
4b9b5f0559
Respond to RFCs in PR #1056 ; Test and CLI touch-ups.
2019-07-25 15:18:29 -07:00
Kieran Prasch
2e70aebd01
Bug Fix: Functional inflation reward collection; Refactors internal stakeholder stake tracking
2019-07-25 15:18:29 -07:00
Kieran Prasch
2e26f5753f
Respond to further RFCs in PR #1092 .
...
Apply suggestions from code review
Co-Authored-By: David Núñez <david@nucypher.com>
2019-07-15 12:21:12 -07:00
Kieran Prasch
118262a9f4
Make accomodations for geth managed wallets ( #1117 ) in TransactingPower.
2019-07-15 12:06:44 -07:00
Kieran Prasch
f1cabadd8c
Improves TransactingPower unit and integration test coverage + Adjustments and touch ups to suit.
2019-07-15 12:06:44 -07:00
Kieran Prasch
688572d5d3
Allows CLI-made characters to connect their blockchain interface through consuming the TransactingPower.
2019-07-15 12:06:44 -07:00
Kieran Prasch
e9a3fe7878
Powerups can be 'activated' - Returning to a single-account-based TransactingPower.
2019-07-15 12:06:44 -07:00
David Núñez
afbcff6b04
Introduce make_ursula_for_staker test utility, instead of activate_idle_staker fixture
2019-07-04 11:23:51 +02:00
David Núñez
31a40ab86c
Deploy Adjudicator and instantiate AdjudicatorAgent singleton in agency fixture
2019-07-04 11:23:51 +02:00
David Núñez
3cdeba3c0b
First stub of non-staking staker and worker fixtures. Closes #1035
2019-07-04 11:23:50 +02:00
David Núñez
28eb4a16f1
Use blockchain_ursulas in test_adjudicator
2019-07-04 11:23:50 +02:00
David Núñez
1fbd679ff7
Include Ursula's identity evidence in WorkOrder and Evidence for slashing
2019-07-04 11:23:50 +02:00
Kieran Prasch
46e424d49d
Pretending to consume BlockchainPower in actor and agent tests.
2019-07-04 11:23:50 +02:00
Kieran Prasch
68b8a2735d
Returning to a single-account BlockchainPower;TODO annotations for BlockchainPower.
2019-07-04 11:23:50 +02:00
Damon C
aebac62dd8
remove most other direct blockchain.w3 references
2019-07-04 11:23:50 +02:00
Kieran Prasch
cd9b2366c8
Blockchain -> BlockchainInterface
2019-07-04 11:23:50 +02:00
Kieran Prasch
91bc12e06b
Routes calls to .transact() through Blockchain via composed BlockchainPower (soon to be TransactingPower).
2019-07-04 11:23:50 +02:00
Kieran Prasch
963edebd74
Refinements for Testerchain, Integration with Capitalism, Touch-ups.
2019-07-04 11:23:50 +02:00
Kieran Prasch
1a2dabd095
Use Condensed Blockchain API in tests. credit to @vepkenez.
2019-07-04 11:23:50 +02:00
Kieran Prasch
8ec8c40727
Optimize StakeTracker read operations, Handle stake tracker as part of UrsulaConfifguration.dynamic_payload
2019-07-04 11:23:49 +02:00
Kieran Prasch
75cd104c59
Extract StakeTracker from Worker/Staker
2019-07-04 11:23:49 +02:00
David Núñez
21bb66d0c3
Fix all network tests and almost all character tests.
2019-07-04 11:23:49 +02:00
David Núñez
e1df9a7d1b
Use stakers fixture in test_token_and_stake
2019-07-04 11:23:49 +02:00
David Núñez
a6e839dfee
New stakers fixture, consistent with blockchain_ursulas
2019-07-04 11:22:39 +02:00
Kieran Prasch
b7012f607f
NodeConfiguration -> CharacterConfiguration
2019-07-04 11:22:38 +02:00
Kieran Prasch
568420a9c6
Refinine NodeConfiguration to handle only common parameters; Dehydration and reorg. Optimize character config production file I/O.
2019-07-04 11:22:38 +02:00
Kieran Prasch
d888c60607
Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'.
2019-07-04 11:22:38 +02:00
Kieran R. Prasch
877833aaf3
Understand Staker and Staking to be separate ideas.
2019-07-04 11:22:38 +02:00
Kieran R. Prasch
3a80eec247
Goodbye, Three Agents. Hello, Agency.
2019-07-04 11:22:38 +02:00
Kieran R. Prasch
5551ce950c
MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test
2019-07-04 11:22:38 +02:00
jMyles
189a87399c
Resetting side channel between two of the tests.
2019-07-03 16:55:12 -07:00
jMyles
afe26661d5
Adding message number to side channel flow.
2019-07-03 13:51:58 -07:00
jMyles
ca68ad6e97
Our capsule side channel now tracks past messages.
2019-06-28 20:10:21 -07:00
K Prasch
d743e3b791
Respond to RFCs in PR #984 ; Apply suggestions from code review
...
Co-Authored-By: David Núñez <david@nucypher.com>
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2019-06-08 14:32:35 -07:00
Kieran Prasch
f90cc4542e
Testing decentralized grant, Adds missing datetime to policy creation tests.
2019-06-08 14:26:05 -07:00
Kieran Prasch
6097c83eb7
Almost all of checksum_public_address -> checksum_address
2019-06-08 14:25:35 -07:00
Kieran Prasch
4a7a881d3e
Realize the Agency metaclass
2019-06-08 14:25:26 -07:00
Kieran R. Prasch
0574cfd908
Ensure alice and bob remember the manually controlled non-staking node in reward integration cli test.
2019-06-03 22:52:22 +03:00
Kieran R. Prasch
eca834c00a
Handle non-staking Ursula in-tests; Annotations for failing tests, Make Ursula display name a class attr
2019-06-03 22:52:22 +03:00
Kieran R. Prasch
e74ba944f8
Handle geth --dev process as a fixture to stop when finished. Additional test bug fixes, found missing assertions.
2019-06-03 22:52:22 +03:00
Kieran R. Prasch
2903c6d3e7
Adjust tests to accomodate new eip 191 and on-chain staking checks.
2019-06-03 22:52:22 +03:00
tuxxy
94f273d70c
Add missing import from rebase
2019-06-03 22:52:22 +03:00
Kieran R. Prasch
c7d6696bce
Be a little more gentle with domain-based seeding (Ursulas); Skip and modifiy tests (needs follow-up)
2019-06-03 22:51:37 +03:00
Kieran Prasch
75daa85c20
Picking up the pieces- new --sync/--no-sync deploy flag, dehydrate deployment tests.
2019-06-03 22:50:40 +03:00
Kieran Prasch
6ee4e5fb7a
Another pass on handling published registry fetching. Found ancient stubs!
2019-06-03 22:50:40 +03:00
Kieran Prasch
ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass.
2019-06-03 22:50:40 +03:00
Kieran Prasch
577c0c7f8c
Add a fourth deployment threee agents fixture, move secret hash kwarg in fixtures to lazy position.
2019-06-03 22:50:40 +03:00
David Núñez
66aaf328c4
mock_ursula_reencrypts as as global fixture
2019-05-16 16:12:08 +02:00
David Núñez
19d3a8cf14
Touchups to some blockchain-related fixtures
2019-05-16 16:07:34 +02:00
David Núñez
7684bb103c
Constructs funded_blockchain fixture from testerchain fixture
...
Gets rid of deployed_blockchain fixture
2019-05-16 16:07:33 +02:00