Bogdan Opanchuk
|
b473c0f4bd
|
Hide registering/unregistering observers and Sentry init inside utilities/logging
Also add a check that Sentry SDK is only initialized once
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
9bca91d97d
|
Deploy CLI Touch Ups (Tested on local private chain). Restore Syncing TImeout. Mock ChainId RPC Endpoint in some client integration tests.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
829c8bba90
|
Add gas. Use web3 abstraction for add peer endpoint in deploy CLI.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
db7d1944da
|
Ensure deployer CLI can resume a deployment by using --contract-name single contract deployments. Increase Deployer timeout to 600 seconds.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
30aa51c1f2
|
Mock to_config_file briefly to avoid writing to the default config root.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
c4f14cb1f0
|
Deprecates funding account and account creation options. Touch up stake CLI.
|
2019-07-25 15:18:29 -07:00 |
Kieran Prasch
|
1b3e3e45e5
|
Respond to RFCs in PR #1111: Remove deployment transaction gas limit.
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
22166d0242
|
Fix bug in UserEscrowDeployer tests
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
6ff6d77c2b
|
Some helpful debug messages in send_transaction() and deploy_contract()
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
e5d91632b2
|
Adapt deployers and tests to handle receipts, not tx_hashes
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
13ba893629
|
Passing gas_limit to deployments inside DeployerActor. Hard-coded gas for now
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
2d383ba41c
|
Once per module, session_testerchain restores balance of accounts, at expense of coinbase ¯\_(ツ)_/¯
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
e60bbd2332
|
Use session_testerchain in actors tests. Let's start with Investigator
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
c156437bbe
|
First draft of Investigator test
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
9899148b17
|
Get on-chain staking parameters with StakingEscrowAgent
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
d317a7d1b0
|
Add missing AdjudicatorAgent assertion in test_deploy_cli
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
718a5244dc
|
PolicyAgent --> PolicyManagerAgent
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
1a90164a7b
|
Improve PolicyManagerDeployer tests. Adds upgrade & rollback
|
2019-07-25 15:18:29 -07:00 |
David Núñez
|
7030937629
|
Extract common fixtures for deployers tests
|
2019-07-25 15:18:29 -07:00 |
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 |