Commit Graph

298 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 713071025c Add first unit tests for ReEncryptionValidator contract 2019-03-31 10:39:40 +02: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
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
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 95c4cfe974
Dont update local stake cache in read-only operations 2019-03-14 16:50:11 -07:00
Kieran Prasch b68fb2a8b7
Divide stake tests reflect NU Implementation 2019-03-14 16:36:09 -07:00
Kieran Prasch d1dd66e27c
Port lower-level stake validators to us NU 2019-03-14 16:35:24 -07:00
Tux 5d990b2b71
Merge pull request #374 from szotov/multisig
Multi-signature contract with off-chain signing
2019-03-14 17:07:08 -06:00
Kieran Prasch 79ca05605d
Baseline tests for NU and Stake classes 2019-03-14 13:38:21 -07:00
Kieran Prasch 215bf5ad7f
Denomination management implementation with NU and Web3. 2019-03-14 13:38:19 -07:00
szotov a491a7801c Fixes after rebase 2019-03-11 14:52:28 +03:00
szotov a1a4c106d8 Updates intercontract test 2019-03-11 14:46:50 +03:00
szotov a21b29fa4e Softer condition for number of signatures 2019-03-11 14:46:49 +03:00
szotov 9fdc82fabe Update solidity version for multisig 2019-03-11 14:46:49 +03:00
szotov 69552d3024 Added trustee for execution in the MultiSig contract 2019-03-11 14:46:48 +03:00
szotov f6f36ddbc2 Added owner management methods in the MultiSig contract 2019-03-11 14:46:48 +03:00
szotov 1aeca51f8d Added simple multisig contract 2019-03-11 14:46:48 +03:00
Kieran Prasch 91c5f565dc
Allow rewards to be collected to an alternate address. Tighter assertions on reward collection. 2019-03-09 18:29:44 -08:00
Kieran Prasch 244f0e0885
Update tests to accomodate staking CLI requirements: orders blockchain Ursulas, better fixture organization; Staking CLI integraton tests. 2019-03-09 17:31:28 -08:00
Kieran R. Prasch 9a00a84f4c
Allow beneficiary allocation registry specification to accept an instance or filepath 2019-03-09 17:29:54 -08:00
Kieran Prasch 3b9c229963
Collect staking reward CLI 2019-03-09 17:29:54 -08:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
jMyles e795cf5cde Some comments and require messages. 2019-02-24 21:46:35 -07:00
szotov 2e610fceed Small fixes 2019-02-23 12:37:20 +03:00
szotov 4c54bf2d3b Updates version of solidity 2019-02-23 12:37:19 +03:00
David Núñez 9d97d9bdf7 Precompute v value so Alice's address can be recovered from KFrag signature
This is one of the core commits of this PR
2019-02-23 12:37:17 +03:00
David Núñez 7391d29dfe KFrag validity message and Alice's ETH address are part of the evidence 2019-02-23 12:37:16 +03:00