Commit Graph

1135 Commits (e0a984c7b869e12bf96d27951ec194cc418fd9d4)

Author SHA1 Message Date
szotov a42cee8e25 initialAmount -> totalSupply in token contract 2019-04-19 12:44:25 +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 b81a13b432 Testing creation of additional test accounts. It still fails. 2019-04-14 00:36:29 +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 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
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
tuxxy 5b4f3da3d1 Modify revoke endpoint to accept label and bob's verifying key instead of the policy key 2019-04-10 20:02:31 -06:00
tuxxy 48150def7d Add id property to Policy 2019-04-10 20:01:08 -06:00
Kieran Prasch 9abd4e27fb
Respond to RFCs in PR #861 2019-04-06 12:40:34 -07:00
Kieran Prasch 13024ed048
Check for config root before removal; Run an ursula via mixed configs in test. 2019-04-06 12:38:09 -07:00
Kieran Prasch ed184942e3
Increase test coverage for nucypher help commands 2019-04-06 12:38:09 -07:00
Kieran Prasch ea20f88be4
Move destruction management before character initialization to handle failure modes involving semi-working configurations. 2019-04-06 12:38:09 -07:00
Kieran Prasch dd7f992277
nucypher remove docstring 2019-04-06 12:38:09 -07:00
Kieran Prasch e110632bb1
All characters destroy thier own config files, considering force 2019-04-06 12:38:09 -07:00
Kieran Prasch b691339f50
Destroy the configuration file itself; Attaching console emitter to click config. 2019-04-06 12:38:09 -07:00
Kieran Prasch 1479c78ea9
Tests show keyring multi-tennancy with config-based destruction 2019-04-06 12:38:09 -07:00
Kieran Prasch d59b9d63c1
Test describing a multi-tenant installation 2019-04-06 12:38:09 -07:00
David Núñez 713071025c Add first unit tests for ReEncryptionValidator contract 2019-03-31 10:39:40 +02:00
David Núñez bd44c7d65f WorkItem is now Task, and it also handles the output of re-encryption 2019-03-29 10:52:14 +01:00
David Núñez b8a5fc25eb Clarify evolution of penalty amount in test_mining_adjudicator 2019-03-29 10:46:52 +01:00
David Núñez ef75e241df Tests Bob sending wrong precomputed values. Improves test_mining_adjudicator 2019-03-29 10:46:52 +01:00
Kieran Prasch b0eb41e5ea
Twisted clock testing for the faucet 2019-03-26 11:35:57 -07:00
Kieran Prasch 06311630d2
Patch distribution interval in faucet testing 2019-03-26 11:35:57 -07:00
Kieran Prasch 87ba9c7b42
Beter exception handling for missing address when running from config ; Reprs for db models 2019-03-26 11:35:57 -07:00
Kieran Prasch 052c7346b0
deploy contracts via CLI in Felix tests 2019-03-26 11:35:57 -07:00
Kieran Prasch 40b9b204ac
Setting flask secret; Improved documentation and logging; Utilize constant_sorrow 2019-03-26 11:35:57 -07:00
Kieran Prasch 5686a8a889
Felix CLI entry point adjustments; Allow provider URI restoration from File 2019-03-26 11:35:57 -07:00
Kieran Prasch 2946024dec
Felix tests passing with database management 2019-03-26 11:35:57 -07:00
Kieran Prasch 3fbb5ef426
Felix database skeleton and registrtion view stubbing 2019-03-26 11:35:57 -07:00
Kieran Prasch ce39f92555
Felix CLI itself and tests to suit. 2019-03-26 11:35:57 -07:00
tuxxy 9cedc5ecd4 Fix leftover issues from rebase 2019-03-24 09:30:20 -06:00
tuxxy 90e4427680 Store 'active_policies' instead and finish revoke endpoint
Storing revocation kits was one approach, but it seems more useful to
store "active" policies, instead. I think this will probably assist in
future additions as well.
2019-03-24 09:30:20 -06:00
David Núñez 3f94b93df3
Merge pull request #830 from KPrasch/denominations
Base Denominations Management
2019-03-19 20:42:19 +01: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