Commit Graph

3788 Commits (6ce55d8d60439b6441220709bc690e7a4f49ea7c)

Author SHA1 Message Date
Kieran Prasch 7ca7eabe8f
Be slightly more specific about deployment gas; Advance failure cases to assist in debugging. 2019-04-22 23:18:51 +03:00
Kieran Prasch 42a1495047
Handling failed deployment transactions 2019-04-22 23:18:51 +03:00
Kieran Prasch 14a24d7085
Refine TokenEconomics implementation; Respond to RFCs on #866 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 faf5469ff4
Handle stake division with more tact; Optimized staking cache invalidation frequency 2019-04-22 23:18:51 +03:00
Kieran Prasch f95a1b6d43
Improves naming and type hints in staking code. 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 07aa603d30
Respond to RFCs in PR #866 2019-04-22 23:18:51 +03:00
Kieran Prasch ef5468f45b
Mark stubbed mining adjudicator agent with Issue number 2019-04-22 23:18:51 +03:00
Kieran Prasch 593a852471
Cleanup CLI env var loading, include mining adjudicator in existing CLI env var tests. 2019-04-22 23:18:51 +03:00
Kieran Prasch 306978b71e
Add adjudicator agency to gas estimation script 2019-04-22 23:18:51 +03:00
Kieran Prasch 4e31fac91c
Faucet implements TokenEconomics 2019-04-22 23:18:51 +03:00
Kieran Prasch e1e79c67ef
Updates estimate_gas to utilize TokenEconomics; Straggler renames and updates. 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 a0bfb22c05
Introduce MiningAdjudicator deployer & agent; Deployment entry points and integration testing. 2019-04-22 23:18:51 +03:00
Kieran Prasch 0f0841c0a5
Expand TokenEconomics tests to consider the generation of deployment-ready parameters. 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
Kieran Prasch e0a984c7b8
Dissolving blockchain constants; Implementing dependency-injection for TokenEconomics project-wide 2019-04-22 23:18:03 +03:00
Kieran Prasch aa6ca01cf9
Ecnomics class generates blockchain contract deployment constants, absorbs blockchain.eth.constants 2019-04-22 23:17:26 +03:00
K Prasch 230bc123db
Merge pull request #823 from szotov/restake
Re-stake in contracts
2019-04-22 22:46:45 +03:00
szotov a42cee8e25 initialAmount -> totalSupply in token contract 2019-04-19 12:44:25 +03:00
szotov e77dae0c36 Increase gas limit for tests 2019-04-17 16:20:15 +03:00
szotov c25ed07b76 Apply suggestions from code review 2019-04-17 16:05:07 +03:00
szotov 7285d6ad91 Added names of constructor parameters in tests for MinersEscrow 2019-04-17 16:05:07 +03:00
szotov 2e2dc06dd5 Fix bug with period overflow in policy manager test 2019-04-17 16:05:06 +03:00
szotov f46229f8e2 Add re-stake to verifyState 2019-04-17 16:05:06 +03:00
szotov d643773002 Gas estimates for re-stake 2019-04-17 16:05:06 +03:00
szotov 2f26a3bb64 More tests for re-stake 2019-04-17 16:05:06 +03:00
szotov 586adbc302 Tests for re-stake 2019-04-17 16:05:05 +03:00
szotov fb7f134e70 Added reStake parameter to MinersEscrow 2019-04-17 16:05:05 +03:00
David Núñez 788a027a10
Merge pull request #899 from cygnusv/eth-accounts
Improve management of ETH test accounts. Test coverage power-up.
2019-04-17 15:03:43 +02:00
David Núñez a17ffcd667 Fix generalized wrong usage of tests globbing 2019-04-14 02:29:09 +02:00
David Núñez a2abfe06ed Contract task in CI was missing A LOT of stuff -_-U 2019-04-14 01:53:34 +02:00
David Núñez cd1eb11d36 Fix globbing of tests in CircleCI. Fix missing coverage report of CLI tests 2019-04-14 01:02:15 +02:00
David Núñez c87c1985ac Use eth_tester to create more test accounts, instead of web3 2019-04-14 00:37:00 +02: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 a00febad0e Relocated personal Web3 RPC endpoints (web3 v5) 2019-04-14 00:33:30 +02:00
David Núñez 41f60099d3 Use TesterBlockchain's test accounts 2019-04-12 07:52:15 +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
David Núñez a93ddeddea Fix incorrect log message at TesterBlockchain.ether_airdrop 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 09c0672dd0 First draft of ETH test accounts directory in TesterBlockchain 2019-04-12 07:52:15 +02:00
David Núñez 9d464672e5 Change eth-tester default number of accounts to our new default 2019-04-12 07:52:15 +02:00
David Núñez 35a7e98e5c Constant for default number of test ETH accounts. Fix other constants 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
K Prasch 23253c71e1
Merge pull request #900 from tuxxy/active-policy-fix
Store active policies via a policy ID
2019-04-11 19:24:29 +03:00
tuxxy fbe204ce17 Fix character-control revoke test by using a different label -- you can't grant access twice 2019-04-10 21:27:25 -06:00
tuxxy 71dc8a5cd1 Add 'add_active_policy' method on Alice 2019-04-10 20:02:31 -06:00