David Núñez
|
77b311ff40
|
Revamp of StakingEscrowDeployer tests. Add upgrade & rollback tests
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
6ca6c4cbcc
|
Testing failed init of StakingEscrowAgent due to contract not deployed
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
72bf708245
|
Set deployer._contract at the end, to avoid corrupt state on intermediate deployment failures
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
b7cbdf8999
|
Code simplification in BlockchainDeployerInterface and ContractDeployer
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
1e431741e3
|
Reusable, session-scoped testerchain PoC: Deployers test time down 37%
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
bca9f21222
|
Fix bug while wrapping StakingEscrow contract with Dispatcher
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
53ac8fc03d
|
'from' and 'gasPrice' are already handled in blockchain.send_transaction()
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
1df85e4402
|
Remove rollback function from UserEscrowProxyDeployer
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
2b8ec61556
|
Restore initial design of UserEscrowProxy.deploy()
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
4b2497f60c
|
New @validate_secret decorator, to enforce correct plaintext secret
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
c38392e90a
|
Generalize some common deployment logic for main contracts
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
bca9d4d9d8
|
Gas limit in all deploy, upgrade & rollback methods in Deployers. #1113
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
f100d39630
|
"Deployer" actor is now called "DeployerActor", to avoid confusion with deployers
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
6a73581fce
|
Adapt txhash passing in UserEscrowProxyDeployer to what CLI expects
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
434bb7072a
|
Fix error in test_user_escrow_deployer (see #1106)
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
cef7e17279
|
UserEscrowProxyDeployer was incorrectly deploying a new Linker each time
New behavior is to look first for an existing Linker, and just in case it's not found, deploy it.
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
e7dba04989
|
These are deployers, not agents
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
f4325520dd
|
Fixtures can't use @pytest.mark.usefixtures
See warning in https://docs.pytest.org/en/latest/fixture.html#using-fixtures-from-classes-modules-or-projects
|
2019-07-25 15:18:29 -07:00 |
K Prasch
|
e85b3fb30e
|
Update nucypher/blockchain/eth/agents.py
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
017aba3743
|
Updates estimate gas with interactive deployment painting and Secrets namedtuple.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
4ee8c70860
|
Respond to RFCs in PR #1056.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
075d396069
|
Sets Ursula filename modifier to be the worker address instead of the staker address.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
b37a899c6b
|
Ensure geth --dev accounts are always unlocked
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
0b52cd2c74
|
Routes Ursula keyring attchment by federated/decentralized mode.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
1574128fc7
|
Fixes alice persistence test.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
c8a95fba30
|
Skip transfer of rewards back to funding account for now.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
c0f166e56a
|
Fix keyring checksum address multiple kwarg passing, add withdraw of inflation rewards to specified account or funding account. Touch up reward collection assertions.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
7508dc24c3
|
Use mocked blockchain interface connection within CLI subprocesses in two tests.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
f947e6f747
|
Extracts manual staker and worker fixtures, Fixes incorrect address in to/from UrsulaConfiguration; Attempting to fix reward collection CLI integration tests.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
4b9b5f0559
|
Respond to RFCs in PR #1056; Test and CLI touch-ups.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
fd5e5b236c
|
Adds CLI controls for inflation v. policy reward collection, extracts deployer action.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
2e70aebd01
|
Bug Fix: Functional inflation reward collection; Refactors internal stakeholder stake tracking
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
b83f8f9595
|
Move deployment secrets named tuple to Deployer and implement it.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
dc32cd7dcf
|
Improves usability of deployment CLI - Adds pause between contract deployments - Updates internal methods to use receipts instead of tx hashes.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
19ead5aba2
|
CLI Usablility improvements for new stakeholders, cleanup old Mocked trezorlib code. Adds a temp --dev flag for deployment.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
63cd62ca8f
|
Respond to RFCs for PR #1056. Bug fix for fuding ether transfer receipt (credit to @michwill).
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
879afef6a7
|
Restore Federated CLI functionality; Refactor CLI lifecycle integration testing to implement --work-address
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
28c1b39845
|
post #1029 rebase touch ups.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
73f606a31d
|
Restores staking CLI tests post #1029 via Stakeholder API.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
7c89dd488c
|
Modifies Ursula config and CLI to run on behalf of staker.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
573abe69de
|
Allow worker address to be a configuration parameter. Collect rewards via Stakeholder.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
cf0fd49008
|
Functional stakeholder persistence via CLI, Implements software-keyring entrypoints for StakeHolder; geth deploy integration testing.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
cdafcb870b
|
First successful 'nucypher new-stakeholder' and stake via 'nucypher stake init'
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
0dea0f09be
|
Second pass - Skeleton layout for staking CLI
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
17aa2edd9f
|
Update ursula CLI tests to use new stake entry points
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
4803831b18
|
Extracts staking CLI to 'nucypher stake' entry point
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
7b16196765
|
Adds integration test for creating new geth accounts over RPC clients.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
362aff4824
|
Respond to RFCs in PR #1064 - Staker to/from blockchain, @michwill's funding account recipt fix; Touch Ups.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
f7d780639d
|
BYOK for stakeholder and worker - Passing collect inflation reward test.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
13ed3501dc
|
xAdvance Stakeholder rewards integration testing.
|
2019-07-25 15:18:29 -07:00 |