Commit Graph

115 Commits (4442b13d11290f0f5c4974eeacc2c98ed892615e)

Author SHA1 Message Date
Kieran Prasch e60706793a Optimize imports project-wide 2018-09-25 20:27:27 -07:00
Kieran Prasch 7e04dd117b Use static blockchain constants, removes ConstantSorrow usage for static values 2018-09-25 20:26:44 -07:00
Kieran Prasch d84014a35f Cast constant_sorrow constant to int 2018-09-25 10:15:01 -07:00
Kieran Prasch d6fc416a79 remove extra time travel (moved to ursula fixture) 2018-09-25 09:28:48 -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 f69380a3dd Namespace and modularize nucypher sandbox utilities 2018-09-18 09:19:46 -07:00
szotov e1b4c82723 Added checking of secret in the upgrading method in the dispatcher contract 2018-09-01 15:46:40 +03:00
Kieran R. Prasch 06e0575642 Small bug fixes, post-rebase madness 2018-08-31 15:17:12 -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 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 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 6d5de0909d Restore no-arg spawProcess call; Fix network status cli command bugs; Add saftey warnings. 2018-08-31 11:03:54 -07: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
jMyles bd215d975a Using three_agents for miner fixture. 2018-07-05 11:54:45 -07:00
jMyles 22065fd61e Some cleanup on models following the big TreasureMap changes. 2018-07-02 20:44:09 -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 6807ac0bfc Reorganize blockchain tests, remove stale test modules. 2018-06-26 01:10:45 -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
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
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
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 c442d1cd95 Make miner contract datastore methods private 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 820f41bdc0 Blockchain make arrangement lock periods, and consideration 2018-06-20 10:12:50 -07:00
Kieran Prasch 078d39df88 Update entity tests and utils to testerchain.interface api 2018-06-20 10:12:00 -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
K Prasch 0fae344116
Merge pull request #283 from szotov/solidity-dev
Contracts optimization
2018-06-04 13:54:39 -07:00
jMyles 0672f25880 Some more tests that have become slow. 2018-06-02 16:21:29 -07:00
szotov 9da2d15e7e Optimizing the createPolicy method 2018-06-02 17:20:20 +03: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 5583e83421 Transforms ContractProvider into ContractInterface; Begins BlockchainConfig. 2018-05-24 10:48:57 -07:00
szotov 55e1a254ec Fixed test in test_actors.py 2018-05-19 11:56:38 +03: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 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 441fb1346f Additional mocked testing utils; Faked token distribution for testing only 2018-05-15 21:19:35 -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
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
szotov 8055f4c03a Some fixes for the interaction of python and contracts 2018-05-05 20:29:08 +03:00
Kieran Prasch 756fe5c432 rename wait_time -> time_travel; Move event filter creation. 2018-04-24 11:04:00 -07:00
Kieran Prasch c7895419fb Moves test utils module, fixes spawn_miner args 2018-04-21 22:33:19 -07:00
Kieran Prasch 9b145941ad ContractProvider and Web3 API updates 2018-04-20 02:17:13 -07:00
Kieran Prasch 67812e5cd9 Merge remote-tracking branch 'tuxxy/solc-populus-bridge' into solc-pipeline 2018-04-16 00:58:50 -07:00
Kieran Prasch fc22d51eac Cleanup tests, web3 -> w3, cleanup imports. 2018-04-16 00:23:20 -07:00
tuxxy 485d2a6f01 Start to update contract tests to pure web3 api; *borrowing* populus namespacs. 2018-04-15 16:05:12 -07:00
Kieran Prasch efd4ec0177 Start to update contract tests to pure web3 api; *borrowing* populus namespacs.; Fixes multi-dire compiler bug. needs review. 2018-04-14 01:33:39 -07:00
Kieran Prasch adfa29609e Manually merges inter-codebase tests, setup, pipfile, config classes, and sol source, respectively updates imports. 2018-04-10 17:03:21 -07:00