Commit Graph

194 Commits (371139165ccfc5fea86f37b13fecb5cfdd18344b)

Author SHA1 Message Date
Kieran R. Prasch 93416e3bdd
Deprecates --runslow and supurflouous newlines. 2020-08-25 07:09:59 -07:00
jMyles 0de8e25132 Merge commit from main (and merge candidate into main.) 2020-08-21 20:32:45 -07:00
vzotova bfa2da251f Apply suggestions from code review #2170
Co-authored-by: K Prasch <kieranprasch@gmail.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-08-20 00:49:20 +03:00
vzotova bf76e2dd6a Change registry field to representation of registry in Agent to highlight immutability of agents 2020-08-20 00:46:05 +03:00
vzotova f85d1f6b69 Cashing registry id 2020-08-20 00:46:04 +03:00
David Núñez 32e9210cd2
Merge pull request #2182 from fjarri/identical-names-fix
Help pytest handle the same test file name in this folder and in acceptance/blockchain/interfaces
2020-08-19 17:22:40 +02:00
Bogdan Opanchuk 6ad9a65d1a Fix pytest discovery error - make the names of test files different 2020-08-18 22:28:56 -07:00
jMyles 0336e4d6e9 Mege commit uniting @fjarri sampling work and the rest of the async branch of TI. Done in order to provide a surface for blocking when sampling. See https://ptb.discordapp.com/channels/411401661714792449/411401661714792451/744248303528575037. 2020-08-18 05:14:05 -07:00
Kieran Prasch c6b56ed5e5 Skip geth integration alltogether until #2074 2020-08-18 05:10:43 -07:00
Bogdan Opanchuk 1a08b90294 Fix RNG seed in the sampling test to avoid low-probability random fails 2020-08-17 17:22:37 -07:00
K Prasch 697a6d3d02
Merge pull request #2056 from fjarri/sampling
Simplify staker sampling
2020-08-13 13:51:48 -07:00
Kieran Prasch 81b761d8bd Unlock Ursula keyring in windingdown test. 2020-08-10 16:59:49 -07:00
vzotova ada6824739 Command to merge stakes in agent, actor and CLI 2020-08-10 23:22:13 +03:00
jMyles 5547f397ba Cleaning up some warts that were causing occasional failures. 2020-08-10 13:02:13 -07:00
jMyles a6a873482f Merging #2128, #2137, #2155 into a rebase over main (instead of three separate github-generated merge commits, which caused a conflict). 2020-08-10 13:01:47 -07:00
Kieran R. Prasch 041622c40d Allow worker to attempt period commitment as part of it's initialization. 2020-08-10 12:52:31 -07:00
jMyles 2daa4a28e9 Lookup transacting_power in the typical public way. 2020-08-10 12:52:31 -07:00
Bogdan Opanchuk f8c562ac57 Implement RFCs, part 2 2020-08-10 12:36:28 -07:00
Bogdan Opanchuk 9ca6c6d8fa Expose staker sampling as an iterator (ish) 2020-08-10 12:36:26 -07:00
Bogdan Opanchuk 31715e55e4 Simplify staker sampling and add unit tests for proper sampling distribution 2020-08-10 12:33:45 -07:00
vzotova 1819d5a552 Solidity -> 0.7.0 2020-08-06 13:39:17 +03:00
vzotova 883f5350e4 Makes `Stake` validation stateless, new methods in `StakingEscrowAgent`, methods for increasing stake in `Staker` 2020-07-30 22:45:58 +03:00
vzotova 53674d7828 Changes `Stake` class to read-only representation of sub-stake 2020-07-30 22:45:57 +03:00
David Núñez dadf3c81f6 Fix missing kwarg rename for NuCypherTokenAgent.approve_transfer() 2020-07-30 01:13:51 +02:00
David Núñez e83a815e47 Improve TokenAgent's API and usage of approve_transfer and increase_allowance 2020-07-21 22:15:43 +02:00
David Núñez d1acf35002 Allow StakingEscrow initialization from a separate funding source
This is necessary to allow the DAO agent to activate the contract without necessarily giving tokens to the agent
2020-07-21 22:15:43 +02:00
Kieran R. Prasch 85806613f1 Allow worker to attempt period commitment as part of it's initialization. 2020-07-17 12:30:11 -07:00
jMyles 52a7bf3a8a Lookup transacting_power in the typical public way. 2020-07-16 19:56:39 -07:00
vzotova 073cbf345e Refactor sub-stake status and selecting sub-stake 2020-07-09 16:33:25 +03:00
vzotova 0e46140e8f Added `mint` command to CLI, added some warnings in `collecting-reward` command 2020-06-25 20:13:42 +03:00
damon 0c8a9c3c5f TODOs 2020-06-19 04:43:16 -07:00
K Prasch 60043adffb
Merge pull request #2043 from cygnusv/block
Improve block confirmation logic and tests
2020-06-09 13:53:36 -07:00
K Prasch 9fb5caee5f
Merge pull request #2079 from vzotova/spdx-license
SPDX license identifier in contracts
2020-06-08 15:07:43 -07:00
Kieran Prasch 442c9a7c30
Respond to RFCs in PR #2078 2020-06-08 14:53:41 -07:00
Kieran Prasch e5c51507ed
Fixes #1909 - Use a decorator to skip tests on CI. 2020-06-08 10:41:56 -07:00
vzotova 4335664aca SPDX license identifier in contracts 2020-06-08 15:52:54 +03:00
David Núñez 404adf6211 Introduce some mockery in the block confirmations acceptance test to make it faster 2020-06-07 02:36:56 +02:00
David Núñez af0b636098 Update tests to current approach for block confirmations 2020-06-05 04:08:55 +02:00
David Núñez b0e9a40f9c ...and relocate and improve tests for get_confirmations 2020-06-05 04:05:39 +02:00
David Núñez 519fc253bd First pass at improving block confirmation logic and tests 2020-06-05 04:02:46 +02:00
Kieran Prasch c86013ddb6 registry_contract_name -> contract_name 2020-05-28 17:46:33 -07:00
Kieran Prasch d4509ee6c7 Holdover for additional mock organization 2020-05-27 14:11:25 -07:00
Kieran Prasch bb32d210a3 Update test contract compilation path 2020-05-27 14:11:25 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00