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 |
David Núñez
|
a11d12a494
|
Move some local fixtures from CLI blockchain ursula to global fixtures
|
2019-05-16 16:07:33 +02:00 |
David Núñez
|
361c068aad
|
Slashing economics fixture
|
2019-05-16 16:07:33 +02:00 |
Kieran Prasch
|
42a1495047
|
Handling failed deployment transactions
|
2019-04-22 23:18:51 +03:00 |
Kieran Prasch
|
270c56dcc4
|
CLI deployment adjustments and post-rebase cleanup.
|
2019-04-22 23:18:51 +03:00 |
Kieran Prasch
|
00eaba0d00
|
Keep economic coefficients as decimal until explictly cast
|
2019-04-22 23:18:51 +03:00 |
Kieran Prasch
|
2d943e6afb
|
Refactor stake as a self-validating insnatce; Introduce token economincs via dep. injection throughout tests and blockchain API.
|
2019-04-22 23:18:49 +03:00 |
David Núñez
|
41f60099d3
|
Use TesterBlockchain's test accounts
|
2019-04-12 07:52:15 +02:00 |
David Núñez
|
01c466554a
|
Don't use TesterBlockchain.ether_airdrop if it's already funded or can be done in the constructor
|
2019-04-12 07:52:15 +02:00 |
David Núñez
|
023083db64
|
Not enough "y'all" in "all y'all". Not enough test ETH, either.
|
2019-04-12 07:52:15 +02:00 |
David Núñez
|
8216d6b39f
|
Simplify default test accounts creation in TesterBlockchain.
|
2019-04-12 07:52:15 +02:00 |
Kieran Prasch
|
215bf5ad7f
|
Denomination management implementation with NU and Web3.
|
2019-03-14 13:38:19 -07:00 |
Kieran Prasch
|
88ff212f3c
|
Post-rebase cleanup Pt. II.
|
2019-03-09 17:32:04 -08:00 |
Kieran Prasch
|
f98fce348c
|
Dealing with the side effects of BlockchainPolicy updates
|
2019-03-09 17:31:28 -08:00 |
Kieran Prasch
|
244f0e0885
|
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests.
|
2019-03-09 17:31:28 -08:00 |
Kieran R. Prasch
|
c8e460a101
|
Controller usage touch-ups.
|
2019-03-06 13:52:45 -08:00 |
Kieran R. Prasch
|
cb135577bd
|
Mocks keyring KDF in tests for performance; Updates control fixtures.
|
2019-03-06 13:52:45 -08:00 |
MacLane Wilkison
|
86116706ff
|
Change license notices in module headers to AGPL
|
2019-03-04 18:55:28 -08:00 |
tuxxy
|
a8c4ecee3e
|
Use a common policy label fixture
|
2019-02-16 14:42:06 -07:00 |
Kieran R. Prasch
|
abdd9ceda8
|
Remove b64encodings from labels
|
2019-02-16 14:42:06 -07:00 |
MacLane Wilkison
|
9ed5b1e6f6
|
Remove unused variables+imports and make PEP 8 fixes in tests
|
2019-02-15 15:12:33 -07:00 |
Kieran R. Prasch
|
c43cdd573b
|
Update Tests with corrected naming conventions for Flask test client - bug fixes for CLI tests.
|
2019-02-15 00:28:53 -07:00 |
jMyles
|
ffd3680d6a
|
Shifts in tests to account for movement of label from Enrico to retrieve.
|
2019-02-15 00:28:53 -07:00 |
tuxxy
|
ac9677dad9
|
Create Enrico.from_alice method and add enrico_control_from_alice fixture
|
2019-02-15 00:28:53 -07:00 |
jMyles
|
ff06ceb998
|
Moving Enrico control onto Enrico.
|
2019-02-15 00:28:53 -07:00 |
jMyles
|
0866abaaac
|
Moving Bob controller right on to Bob.
|
2019-02-15 00:28:53 -07:00 |
jMyles
|
188c0773b4
|
Enrico is now a lawful Character. Fixes #241.
|
2019-02-15 00:28:53 -07:00 |
tuxxy
|
55dec8ff25
|
Get tests running again
|
2019-02-15 00:28:53 -07:00 |
jMyles
|
83bbf5b03b
|
Tests and fixtures for Alice control via config.
|
2019-02-15 00:28:53 -07:00 |
tuxxy
|
707116470c
|
Change character control namespaces
All character files are moved under the nucypher.network.control
namespace under their respective names (alice, bob, enrico).
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
01a6493ef7
|
Add enrico_control fixture and test_enrico_character_control_encrypt_message
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
35e2942db0
|
Have make_alice_control and make_bob_control take a teacher node to start the learning loop
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
e9f9b5c227
|
Have federated_bob learn in bob_control fixture
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
7882ed6114
|
Create bob_control fixture
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
924d7388a9
|
Raise TypeError when TreasureMap isn't decrypted and add test to demonstrate
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
a56baee69c
|
Add problematic test_alice_character_control_grant
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
8c5bb1b1eb
|
Fill out alice_control.create_policy w/ TODOs
|
2019-02-12 13:49:02 -07:00 |
tuxxy
|
07762a420a
|
Add alice_control fixture
|
2019-02-12 13:49:02 -07: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
|
c235bb45bb
|
Select a possibly open non-default port for running tests
|
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
|
1c86a07a13
|
Integrate FleetState into NodeConfiguration; checksum_address -> checksum_public_address
|
2018-12-05 16:17:03 -08:00 |
Kieran Prasch
|
ed23e08df1
|
Update tests to use thinned keyring and configuration API
|
2018-12-05 15:59:50 -08:00 |
Kieran Prasch
|
305eadc8d8
|
Updates tests with NodeStorage internal API usage; passphrase -> password
|
2018-12-05 15:58:20 -08:00 |
Kieran Prasch
|
1f820e0659
|
Prepare test for cli namespace change and formal cli module
|
2018-12-05 15:58:20 -08:00 |
David Núñez
|
4ab7ad1252
|
DataSource.encapsulate_single_message() --> DataSource.encrypt_message()
|
2018-12-03 12:07:33 +01:00 |
Kieran Prasch
|
2f1e6eec20
|
Test database teardown logic
|
2018-11-09 09:30:15 -08:00 |
Tux
|
883ad1dda1
|
Merge branch 'cedar' into install-communism
|
2018-11-05 06:09:49 -07:00 |
tuxxy
|
7feabb6cb2
|
Add GPLv3 -- nucypher is free as in freedom
|
2018-11-04 13:16:42 -07:00 |
David Núñez
|
310e2f3a55
|
Move certificates_temdir fixture to fixtures module
|
2018-10-29 01:52:01 +01:00 |
David Núñez
|
e13ef06787
|
Some pending renamings (uri -> label, signing_key -> verifying_key)
|
2018-10-29 01:51:56 +01:00 |
David Núñez
|
1819f9b1af
|
Fixture for Data source must include the label
|
2018-10-28 20:08:59 +01:00 |
Kieran R. Prasch
|
eec736d340
|
Deprecate arming in favor of readiness checks; Generate a default DB name for Ursulas.
|
2018-10-27 21:51:32 +02:00 |
Kieran Prasch
|
4c01385416
|
Tests deployment and agency components with layering in mind, (Includes UserEscrow) mirrors lower level tests with higher-level integration points
|
2018-10-27 21:51:28 +02:00 |
Kieran Prasch
|
b3b644f7a0
|
Agent and deployer layer testing, including beneficiary contracts
|
2018-10-17 09:33:30 -07:00 |
Kieran Prasch
|
5f84157b96
|
Derive HostingPower from Keyring
|
2018-10-14 20:19:02 -07:00 |
Kieran Prasch
|
a945508a30
|
Keep default NodeStorages in memory, Unskip and resotre configuration cli tests
|
2018-10-09 23:42:43 -07:00 |
Kieran Prasch
|
f13910c365
|
Dont load metadata in test configurations
|
2018-10-08 11:22:28 -07:00 |
Kieran Prasch
|
888a4d4382
|
Character pre-init logic for keying in dev mode and for pre-existing accounts
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
3a31468512
|
Running multi-host env via CLI; Temp config keyring handling
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
fe84935768
|
Create configurations to/from JSON files
|
2018-10-05 20:17:13 -07:00 |
Kieran Prasch
|
ab798bb4f3
|
Carefully piece together NodeConfiguration that works for lazy, temp, test, and real configs; Read seed registry
|
2018-10-02 11:32:55 -07:00 |
Kieran Prasch
|
4ab2807a9f
|
Update test fixture to testerchain netloc URI; Inreaces test coverage for deployer and agent.
|
2018-10-02 11:32:55 -07:00 |
Kieran Prasch
|
8663bae64e
|
Dedicated method for writing the default blank registry at installation-time; Use no_seed_registry configuration during tests
|
2018-10-02 11:32:44 -07:00 |
jMyles
|
217d7b49a8
|
A few test things: Adding MockRestMiddleware where appropriate and expressly setting Ursula's verified_stamp status to False to show that it gets set to True during verification.
|
2018-10-02 17:33:53 +02:00 |
Kieran Prasch
|
7e04dd117b
|
Use static blockchain constants, removes ConstantSorrow usage for static values
|
2018-09-25 20:26:44 -07:00 |
Kieran Prasch
|
4b7fcd318e
|
split Alice.grant test by operating mode; Cleanup BlockchainPolicy in preperation for futher integration.
|
2018-09-24 18:43:01 -07:00 |
Kieran Prasch
|
d02a8bc0bf
|
split Alice and Bob fixtures by operating mode; Cleanup cleanup logic, everywhere
|
2018-09-24 18:43:01 -07:00 |
Kieran Prasch
|
9b04aee6d0
|
Update tests with updates to configuration and missleware
|
2018-09-22 21:05:11 -07:00 |
Kieran Prasch
|
aaba33290d
|
Update tests to new learner names, help with cleanup a little.
|
2018-09-22 15:44:37 -07:00 |
Kieran Prasch
|
2bcc485f93
|
Add local try/finally in cli.config test to cleanup a single test dir
|
2018-09-21 09:03:45 -07:00 |
Kieran Prasch
|
2384cbf7a0
|
Update fixture chatacter configurations to use local tmpdir
|
2018-09-20 12:54:16 -07:00 |
Kieran Prasch
|
d1ffec14c2
|
CLI configuration test coverage; Mark unimplemented test as skip
|
2018-09-19 17:01:01 -07:00 |
Kieran Prasch
|
c2d35c887d
|
Remove temporary databases by database engine path reference
|
2018-09-19 16:26:15 -07:00 |
Kieran Prasch
|
7e403f39a2
|
Use pytest fixtures to cleanup temporary directories
|
2018-09-19 15:25:54 -07:00 |
Kieran Prasch
|
a63a99c3d9
|
Auto-initialize temp configuration in fixtures
|
2018-09-19 13:36:16 -07:00 |
Kieran Prasch
|
5b34800761
|
Use lazy and dynamic runtime path generation, with temp storage options
|
2018-09-19 13:21:11 -07: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 |
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
|
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 R. Prasch
|
7a725fe0ab
|
Include NodeConfiguraion in CLI - Fixup constants, naming, and imports wlongside DHT removal.
|
2018-09-18 09:18:41 -07:00 |
jMyles
|
ff90af5a06
|
Some tidying up after all the shifting around.
|
2018-09-12 14:04:02 +02:00 |