Kieran Prasch
|
8204351b6f
|
Integrate three agents with existing fixtures, restore token airdrop as a utility function.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
4c69809af9
|
Keep fixtures up to date with registry changes; Deprecate or relocate some test utilities.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
eb55117996
|
Prepares flattened contract registry for integration with circumflex.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
6807ac0bfc
|
Reorganize blockchain tests, remove stale test modules.
|
2018-06-26 01:10:45 -07:00 |
Kieran R Prasch
|
f3d6c40ef0
|
Refactor registry tests for proxy contracts.
|
2018-06-26 01:10:45 -07:00 |
Kieran Prasch
|
fd8657930f
|
Fix registry syntax and import errors.
|
2018-06-26 01:10:45 -07:00 |
tuxxy
|
41a533cb6f
|
Have lookup_contract search better
|
2018-06-26 01:10:45 -07:00 |
jMyles
|
742a00e799
|
Deprecating testerchain in favor of three_agents. Using three_agents in ursulas fixture. This fixture now returns a set.
|
2018-06-22 20:27:15 -07:00 |
jMyles
|
2d9d25ab8a
|
Using token airdrop and dropping MockTokenAgent.
|
2018-06-22 20:23:18 -07:00 |
jMyles
|
6e3814cee2
|
token_airdrop as a utility function.
|
2018-06-22 20:17:57 -07:00 |
jMyles
|
6b0e3cf92d
|
We don't even use MockTokenAgent anymore.
|
2018-06-20 14:57:29 -07: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 |
Kieran R Prasch
|
bdbef9b0d6
|
Deprecate node contract datastore client methods
|
2018-06-20 10:13:26 -07:00 |
szotov
|
eccef48005
|
Fixes stake division for the actors and agents
|
2018-06-20 10:12:50 -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
|
9981847bd6
|
draft miner divide stake public method
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
57975f71f5
|
Keep tests up-to-date; Create convention for test accounts, adds miners fixture, use properties and injected deployer_addresses.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c75425615f
|
Fixes miner entity test failure, multi-path fixture resolution issues
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
1133faa215
|
Update node contract datastore tests
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c442d1cd95
|
Make miner contract datastore methods private
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
c1857847d2
|
Update actor tests with testerchain renaming.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
616a3001bb
|
Update miner contract datastore tests with caching ability
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
db5856f932
|
Lazify reading the miners contract datastore with a cached iterator.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
31f07e9ba7
|
Subclass UmbralPrivate key, Use Umbral keys to make test accounts.
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
820f41bdc0
|
Blockchain make arrangement lock periods, and consideration
|
2018-06-20 10:12:50 -07:00 |
Kieran Prasch
|
078d39df88
|
Update entity tests and utils to testerchain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
8a65ca14f2
|
Deprecated compadability fixtures, updates contract tests to testechain.interface api
|
2018-06-20 10:12:00 -07:00 |
Kieran Prasch
|
0f9ddb9763
|
NucypherConfig actor entry point; Use remaining miner/token constants with sorrow.
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
ff17d1fedb
|
Further integrate TokenActors and Characters with co-op scheme
|
2018-06-20 10:11:34 -07:00 |
Kieran Prasch
|
6e751f6775
|
Renames(mostly) NetworkyStuff to NetworkMiddleware.
|
2018-06-20 10:11:28 -07:00 |
Kieran R Prasch
|
0117564b4d
|
Add parallelism to contract test steps with circleci cli
|
2018-06-19 12:04:48 -07:00 |
Kieran R Prasch
|
06f7b31fcd
|
Subdivide contract tests; Add parallel step circleci contract workflow
|
2018-06-17 15:30:16 -07:00 |
K Prasch
|
0fae344116
|
Merge pull request #283 from szotov/solidity-dev
Contracts optimization
|
2018-06-04 13:54:39 -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 |
jMyles
|
0672f25880
|
Some more tests that have become slow.
|
2018-06-02 16:21:29 -07: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
|
a943bdfeb2
|
Update travis with allowable faulre for python 3.7
|
2018-05-24 11:00:54 -07:00 |
Kieran Prasch
|
2558bb1532
|
Fixes miner collecting stake reward fixture scoping
|
2018-05-24 10:48:57 -07: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
|
55e1a254ec
|
Fixed test in test_actors.py
|
2018-05-19 11:56:38 +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
|
53ef5c0679
|
Bumps etherereum dependency versions; Fixes side effects.
|
2018-05-18 12:14:02 -07:00 |
Kieran R Prasch
|
6397fba5f1
|
Rename NuCypher -> nucypher where appropriate.
|
2018-05-16 18:31:49 -04:00 |
Kieran R Prasch
|
bcc81682c6
|
Rename periods -> lock_periods
|
2018-05-15 21:42:58 -07:00 |
Kieran Prasch
|
b546c7159b
|
Time Travel Fixes, Remove skips, fixes post-rebase
|
2018-05-15 21:42:31 -07:00 |
Kieran Prasch
|
e176ba82b7
|
Make config class attrs public, use real values for testing via time travel and simulated mining.
|
2018-05-15 21:27:12 -07:00 |
Kieran Prasch
|
ceda960832
|
Relocate miner spawning test utility
|
2018-05-15 21:25:46 -07:00 |
Kieran Prasch
|
8cde41da70
|
Fixes sampling and miner datastore logic from contract API updates
|
2018-05-15 21:20:21 -07:00 |
Kieran Prasch
|
e6f212a1cc
|
Fixes staking and locking client methods, concise test narrative for miners.
|
2018-05-15 21:20:21 -07:00 |
Kieran Prasch
|
320d84da63
|
Small fixes to rulebooks and airdropping.
|
2018-05-15 21:19:38 -07:00 |
Kieran Prasch
|
441fb1346f
|
Additional mocked testing utils; Faked token distribution for testing only
|
2018-05-15 21:19:35 -07:00 |
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
|
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 |
jMyles
|
41805d5d06
|
Removing references to 'KMS'
|
2018-05-08 13:02:18 -07:00 |
jMyles
|
e5d17b527c
|
Marking last few pesky tests skip for now.
|
2018-05-07 14:56:44 -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
|
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 |
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 |
szotov
|
bce360b260
|
Finished step-wise unlock and tests
|
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
|
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 |
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
|
c7895419fb
|
Moves test utils module, fixes spawn_miner args
|
2018-04-21 22:33:19 -07:00 |
Kieran Prasch
|
2233fb4f2a
|
Catch ValueError for geth IPC Transaction failure.
|
2018-04-21 22:32:36 -07:00 |