Commit Graph

1744 Commits (594180839b13c5c6efffca3696ca576693fbcb23)

Author SHA1 Message Date
Kieran Prasch 3b27ef265c Gives contract deployers agency classes, bypassing the registrar to produce contract agents. 2018-05-15 20:47:06 -07:00
Kieran Prasch c5d5cd0f3a stake and locktime validators 2018-05-15 20:18:40 -07:00
Kieran Prasch 4ec9df051f deprecates agent.call() and .transact(); Upgrade to newer web3 API, with direct contract access 2018-05-15 20:18:40 -07:00
szotov f9eb10de60 Added cancellation of the upgrading if there are errors 2018-05-15 20:18:40 -07:00
Justin Holmes 060b0b5084
Merge pull request #269 from jMyles/code-organization
Deprecates size constants for cfrags and kfrags - uses .get_size() instead.
2018-05-11 21:22:15 -04:00
Justin Holmes 5c898e4175
Merge pull request #268 from jMyles/master
Renaming NuCypher KMS to NuCypher
2018-05-10 09:59:53 -07:00
jMyles 3e76563c10 Using.get_size() for fragments. 2018-05-08 21:45:00 -07:00
jMyles 41805d5d06 Removing references to 'KMS' 2018-05-08 13:02:18 -07:00
Justin Holmes 2d68b9bf70
Merge pull request #267 from jMyles/blockchain-merge-concepts5
A reasonably straightfoward, merge-ready composite of 237, 262, 264, and some more recent work.
2018-05-08 10:36:38 -07:00
jMyles e5d17b527c Marking last few pesky tests skip for now. 2018-05-07 14:56:44 -07:00
jMyles ac6843a9fa Installing wheel from pyUmbral github. 2018-05-07 14:32:37 -07:00
jMyles f1b28a1c8e Variable length CFrag and CFrag validity checks in place. 2018-05-07 13:41:55 -07:00
jMyles 81beb77753 Test suite runs in about 4 seconds with this config. 2018-05-07 13:41:55 -07:00
Kieran Prasch 4fb63785ef working pipfile and lock
Test suite runs in about 4 seconds with this config.
2018-05-07 13:41:43 -07:00
Kieran Prasch d4324841e4 Change fixture scope 2018-05-06 18:03:24 -07:00
Kieran Prasch e386d7e7f0 Thin Pipfile; Fix dispatcher filter bug 2018-05-06 18:03:24 -07:00
Kieran Prasch a14e77a0e7 Bug fixes with .call in several contract tests. 2018-05-06 18:03:11 -07:00
Kieran Prasch b3bbfe1ec9 Shorten blockchain filter duration with tagged starting block 2018-05-06 18:01:58 -07:00
szotov 8055f4c03a Some fixes for the interaction of python and contracts 2018-05-05 20:29:08 +03:00
szotov 9ad961cbcb Fixed tests for contracts 2018-05-04 20:18:48 +03:00
szotov eee0b78b46 Improved methods related to contracts upgrades 2018-05-04 16:15:48 +03:00
Sergey 7f258dffaf
Merge pull request #261 from szotov/solidity-dev
Step-wise unlock + policy first period
2018-04-30 22:32:29 +03:00
szotov 889e6c0176 Fixed tests after merge 2018-04-30 19:07:24 +03:00
szotov 005fb5b773 Merge remote-tracking branch 'remotes/origin/solc-pipeline' into solidity-dev 2018-04-30 17:08:08 +03:00
szotov 39a558414d Some optimizations for Issuer contract, added comments, changed fallback function in Dispatcher 2018-04-30 15:43:11 +03:00
Justin Holmes 330ec6309c
Merge pull request #260 from KPrasch/pyevm-dev
Custom private chain genesis parameters
2018-04-28 01:15:54 -07:00
Justin Holmes 68e1cc5ab5
Merge pull request #258 from KPrasch/web3-upgrade
Upgrade web3 contract method usage
2018-04-28 01:15:30 -07:00
Justin Holmes 1b9d1278e3
Merge pull request #257 from KPrasch/geth-dev
Geth testing backend
2018-04-28 01:15:16 -07:00
szotov bce360b260 Finished step-wise unlock and tests 2018-04-26 17:22:16 +03:00
szotov d81386175f Draft of step-wise unlock 2018-04-26 17:22:16 +03:00
szotov b1d8ae9816 Added payment for the first/current period when creating a policy 2018-04-26 17:22:15 +03:00
szotov c22be3f6d8 Optimized MinersEscrow 2018-04-26 17:22:15 +03:00
Kieran Prasch 519798c55e Updates travis config for sol binary 2018-04-24 13:46:38 -07:00
Kieran Prasch 1628eff1f1 PyEVMBackend subclass within genesis params overrides; Sets pyevm as default testing backend. 2018-04-24 13:21:52 -07:00
Kieran Prasch 756fe5c432 rename wait_time -> time_travel; Move event filter creation. 2018-04-24 11:04:00 -07:00
Kieran Prasch 358fb23fed Additional web3 upgrade fixes - test_integration passes with pyevem 2018-04-24 09:49:29 -07:00
K Prasch 7dcdf474f2
Merge branch 'master' into solc-pipeline 2018-04-23 00:02:08 -07:00
Kieran Prasch cb2f249222 Deprecate old-style .call and .transact method calls in tests 2018-04-22 23:50:39 -07:00
Kieran Prasch 2c2ff72237 Restores some dispatcher tests, updating the contract.events api 2018-04-22 20:55:56 -07:00
Kieran Prasch 5340f4d8bd removes calls to .lower in Issuer contract tests 2018-04-22 20:39:47 -07:00
Kieran Prasch 760441ed8f Resolve web3 event filter deprecation warnings / inaccurate event records 2018-04-22 19:38:42 -07:00
Kieran Prasch 139853645c Adjust global airdrop test utility 2018-04-22 19:37:16 -07:00
Kieran Prasch 2fd05d3db5 Seperate airdropping from account creation, resetting eth balances between test modules while still using the same geth keyring 2018-04-22 18:58:58 -07:00
Kieran Prasch c3a2156495 updates gitignore with blockchain considerations 2018-04-22 18:48:12 -07:00
Kieran Prasch f7bfee33ba Logging subclass for pytest-geth, higher timeouts with session scope. 2018-04-22 18:48:01 -07:00
Kieran Prasch c7895419fb Moves test utils module, fixes spawn_miner args 2018-04-21 22:33:19 -07:00
Kieran Prasch 01081b9873 Directly inject web3 into ContractProviders, Flatten pytest fixtures, setting session scope where possile; Preserves w3 instanes test accounts for use with geth 2018-04-21 22:32:59 -07:00
Kieran Prasch 2233fb4f2a Catch ValueError for geth IPC Transaction failure. 2018-04-21 22:32:36 -07:00
Kieran Prasch 2973b8f362 Specify origin tx args in contract test transactions 2018-04-21 22:32:23 -07:00
Michael Egorov 321f722abd Geth bugfixes:
* address argument name has changed in unlockAccount
* ethers expressed in wei, not ETH
* ValueError is raised when trying to do gas estimate for a failing
  transaction, not TransactionFailed
2018-04-21 22:31:53 -07:00