Commit Graph

3745 Commits (d0b0c3daa8826f50c53deeee1e19c8f44b64d55b)

Author SHA1 Message Date
David Núñez d0b0c3daa8 Disable mypy for the moment; it was wasting a CI container for nothing 2019-05-06 12:57:28 +02:00
David Núñez c6117e5305 Include learning tests as part of character testing job 2019-05-06 12:49:29 +02:00
David Núñez a60accad8b Enable learning tests in CI test workflow 2019-05-06 12:29:49 +02:00
K Prasch 098ab80b15
Merge pull request #948 from mswilkison/devnet-docs
Add devnet info to quickstart docs
2019-04-27 18:31:37 +03:00
MacLane Wilkison bc2f870efb Add devnet domain and seednode information. 2019-04-24 15:02:59 -07:00
K Prasch 0c8c7fb87a
Merge pull request #866 from KPrasch/slashing-python
MiningAdjudicatorDeployer, TokenEconomics and Stake Integration
2019-04-24 20:20:48 +03:00
Kieran Prasch 896b88213a
Respond to RFCs in PR #866 2019-04-24 20:05:51 +03:00
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