Commit Graph

59 Commits (88c6cbbcd64a4dfbfd9cf258caf15d8f7d6d0e2d)

Author SHA1 Message Date
Kieran Prasch 08fe94fea7 Moving (mocked) BlockchainPower usage in the direction of TransactingPower; Touch-ups. 2019-07-04 11:23:50 +02:00
Kieran Prasch cd9b2366c8 Blockchain -> BlockchainInterface 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 14dd22427b Fix off-by-one error calculating stake end-period in Stake integration test. 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 e1df9a7d1b Use stakers fixture in test_token_and_stake 2019-07-04 11:23:49 +02:00
David Núñez 357ff2a7cd Stakers will need their own test ETH accounts, different than Ursulas' 2019-07-04 11:22:39 +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
Bogdan Opanchuk 39ecedd724 Rename TesterBlockchain on import in tests to prevent py.test from trying to pick it up 2019-06-26 22:48:33 -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 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran R. Prasch c6c6f66b8b
New client test module; Skip geth client signature integration test on CI until a better solution is found. 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 f9d9346c0f
Test integration for geth client signing and nucypher.crypto verification 2019-06-03 22:52:22 +03:00
David Núñez e913677354
Fix eth clients bugs. Improved tests for clients. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2dfdb4ac63
Recompose verify_eip_191 into crypto.api, off of Interfaces, Clients, and Powers. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch ed1436aac4
Use EIP-191 Signatures on Geth and PyEVM backends 2019-06-03 22:52:22 +03:00
Kieran R. Prasch f2c655efae
Inheretence improvements for web3 abstractions, Handle 4-part version strings in EthereumTester and Parity. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 25c5a4a846
Supporting EIP-191 Geth message signatures 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 828b19b2ee
Consider provider process handling with new web3 abstractions 2019-06-03 22:52:22 +03:00
Damon C b78cedbb1e
tests for w3 client classes 2019-06-03 22:52:22 +03:00
derekpierre 8b68990649
Initial work to abstract web3 test clients - not tested 2019-06-03 22:52:22 +03:00
Kieran Prasch 81cbdd7404
Oo he's Tryin' 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 270c56dcc4
CLI deployment adjustments and post-rebase cleanup. 2019-04-22 23:18:51 +03:00
Kieran Prasch 13d4b5c448
Relocate staking methods to the Stake class, away from Actors; Staking API bug fixes and consistency check. 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 b81a13b432 Testing creation of additional test accounts. It still fails. 2019-04-14 00:36:29 +02:00
David Núñez 27046827cf Testing unassigned accounts and that accounts can send TXs 2019-04-12 07:52:15 +02:00
David Núñez 82e59786ef Test account generation of TesterBlockchain 2019-04-12 07:52:15 +02:00
Kieran Prasch b74d6e548a
NuWei -> NuNit 2019-03-18 12:31:08 -07:00
Kieran Prasch 686fffa9eb
Understand NU to act as a floor number caster for fractional NuNit values. 2019-03-18 12:31:08 -07:00
Kieran Prasch 2d518f8e62
Currency -> Token; Improve readability of blockchain constants 2019-03-18 12:31:08 -07:00
Kieran Prasch 091adbae71
Move NU and Stake to currency.py 2019-03-17 12:47:35 -07:00
Kieran Prasch 24d346069d
Several more assertions for mixed-types NU.__init__ 2019-03-17 11:50:08 -07:00
Kieran Prasch c069b0a2f9
Dont reinvent eth_utils! Port NU conversions to implement eth-utils to/from wei interfaces. 2019-03-15 09:55:45 -07:00
David Núñez f5eed5d787
Testing some edge cases for the NU class 2019-03-15 08:17:53 -07:00
Kieran Prasch b29a32e1a4
Docstrings and type hints for nucypher blockchin utils NU and Stake 2019-03-14 19:51:22 -07:00
Kieran Prasch 01bb9c1ef4
Upgrade to a dictionary for Ursula stake tracking. 2019-03-14 19:32:06 -07:00
Kieran Prasch 79ca05605d
Baseline tests for NU and Stake classes 2019-03-14 13:38:21 -07:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
Kieran Prasch 58d8c3ffdd
Respond to RFCs - Deployer contract names are now public. 2018-12-12 18:06:50 -08:00
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
Kieran Prasch b3b644f7a0 Agent and deployer layer testing, including beneficiary contracts 2018-10-17 09:33:30 -07:00
Kieran Prasch db384bf7c2 Keep compiler test module from being left beind: needs cleanup 2018-10-16 12:54:02 -07:00
Kieran Prasch 974cc23058 Agency transaction usage bug fixes 2018-10-16 12:51:49 -07:00
Kieran Prasch 92d4434df6 Prepare to subdivide non-federated test suite modules; Cleanup 2018-10-16 12:43:29 -07:00