Commit Graph

100 Commits (89e9ab19c16a9241d6f812103cd31ca92c776010)

Author SHA1 Message Date
tuxxy 7feabb6cb2 Add GPLv3 -- nucypher is free as in freedom 2018-11-04 13:16:42 -07:00
jMyles 0ba7db7970 node storage commented out, lots of slow tests skipped, but things pass now. 2018-10-27 22:20:05 +02:00
Kieran R. Prasch 46c0e96d81 Seed node discovery contract and tests 2018-10-27 21:51:32 +02:00
Kieran Prasch 92d4434df6 Prepare to subdivide non-federated test suite modules; Cleanup 2018-10-16 12:43:29 -07:00
Kieran Prasch e60706793a Optimize imports project-wide 2018-09-25 20:27:27 -07:00
szotov 953054af9a Added rounding of time for the first period in some tests (issue #385) 2018-09-01 16:23:42 +03:00
szotov 204d3674af Added checking of secret in the upgrading method in the user escrow contract 2018-09-01 16:13:42 +03:00
szotov 86e5df2585 Renamed `downtime` to `pastDowntime` in the MinersEscrow contract 2018-09-01 15:59:00 +03:00
szotov c75cd0e330 Fixed upgrade contracts test in test_integration.py 2018-09-01 15:46:41 +03:00
szotov e1b4c82723 Added checking of secret in the upgrading method in the dispatcher contract 2018-09-01 15:46:40 +03:00
szotov 9db9b6c4ee Improved comments on tests, added comments to the mining coefficients in constants.py 2018-09-01 15:11:59 +03:00
szotov 40a77d0414 Removed government contract 2018-09-01 14:50:41 +03:00
Kieran Prasch d23a05536c Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 12:15:55 -07:00
Kieran Prasch 3154fb97b6 Project-wide automated import optimization, followed-up with some hand-tweaking 2018-08-31 11:55:04 -07:00
Kieran Prasch 70437a76fc Reorganize contract test module, and fixtures, to save on gas. 2018-08-31 11:47:42 -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 979d5e8def Eliminate __init__.py under any test directory; Relocate utilities. 2018-08-31 11:03:54 -07:00
szotov ff71b58029 Finished the upgradeable UserEscrow contract, contracts mocks are combined into test sets 2018-07-06 21:17:02 +03:00
szotov 9f7c662ea4 Draft of an upgradeable user escrow 2018-07-06 21:17:02 +03:00
szotov 944a9db66b Added constant for policy id length, fixed descriptions of some methods 2018-06-20 10:14:25 -07:00
szotov f6736da2bf Reduces size of variables in contracts 2018-06-20 10:13:47 -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
szotov 8595355d41 Using index of stake in the divideStake method in the contract 2018-06-20 10:12:50 -07:00
Kieran Prasch 8a65ca14f2 Deprecated compadability fixtures, updates contract tests to testechain.interface api 2018-06-20 10:12:00 -07:00
Kieran R Prasch 06f7b31fcd Subdivide contract tests; Add parallel step circleci contract workflow 2018-06-17 15:30:16 -07:00
szotov 6ca748d96f Added some comments 2018-06-04 22:21:30 +03:00
szotov 50981799c6 Changed miner id size 2018-06-03 21:56:15 +03:00
szotov 4d3496bfa7 Contracts size optimization 2018-06-02 17:21:32 +03:00
szotov b7d5d3c2a9 Optimizing activity information 2018-06-02 17:21:30 +03:00
szotov 7d2476b96a Fixes dividing stake that will be finished in the current period 2018-06-02 17:21:28 +03:00
szotov 60a6f97e08 Added public method for the refund calculation in the PolicyManager 2018-06-02 17:21:27 +03:00
szotov f8ba5c0a16 Optimizing the policy storage in the PolicyManager 2018-06-02 17:21:24 +03:00
szotov 9da2d15e7e Optimizing the createPolicy method 2018-06-02 17:20:20 +03:00
szotov b41294c4e3 Removes reward decimals 2018-06-02 17:17:34 +03:00
Kieran Prasch ae9917e779 Update actor and characters tests post-integration 2018-05-24 10:48:57 -07:00
Kieran Prasch 722cf9918f Nucypher and BlockchainConfig and it's tenticles; Related NucypherConstants and ContractInterface updates. 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 4079522140 Fixes #272 2018-05-22 14:12:04 +03:00
szotov b0aab2acbd Fixed warnings by Solidity version 0.4.24 2018-05-22 14:12:04 +03:00
szotov 48ce0a6428 Changed unlocking in the UserEscrow 2018-05-19 11:56:38 +03:00
szotov 41d24f9ad9 Fixed finishUpgrade methods in the MinerEscrow and Issuer, added vote method to the UserEscrow 2018-05-19 11:56:37 +03:00
szotov be514a4848 Fixed unlocking with confirmActivity 2018-05-19 11:56:36 +03:00
szotov 0b068d26e0 Added draft of the docs for contracts, fixed user escrow 2018-05-19 11:56:36 +03:00
szotov 01a1a6d7d7 Fixed the approveAndCall method in the token contract, added implementation of the receiveApproval method in the escrow contract 2018-05-19 11:56:36 +03:00
szotov 33ff3d0955 Added minimum reward rate for nodes in the PolicyManager 2018-05-19 11:56:35 +03:00
Kieran Prasch b546c7159b Time Travel Fixes, Remove skips, fixes post-rebase 2018-05-15 21:42:31 -07:00
szotov f9eb10de60 Added cancellation of the upgrading if there are errors 2018-05-15 20:18:40 -07:00
jMyles 41805d5d06 Removing references to 'KMS' 2018-05-08 13:02:18 -07:00
jMyles 81beb77753 Test suite runs in about 4 seconds with this config. 2018-05-07 13:41:55 -07:00