vzotova
9f13dc81d9
StakingEscrow: separate event for `prolongStake`
2020-02-13 23:16:08 +01:00
vzotova
030eda725f
Apply suggestions from code review #1652
...
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2020-02-13 23:16:03 +01:00
vzotova
ab0bad144e
Small fixes for duration ranges in stake cli
2020-02-13 23:15:22 +01:00
vzotova
b26f3993eb
Fix for duration of sub-stake in case when winding down is disabled
2020-02-13 23:14:28 +01:00
vzotova
16757e32a2
Contracts: public -> external where possible
2020-02-13 23:14:28 +01:00
vzotova
546fc83b44
Rename _totalSupply to _totalSupplyOfTokens to prevent variables shadowing
2020-02-13 23:14:28 +01:00
vzotova
9aa49f57f0
Ignoring broken state in `PolicyManager.rewardState` with possibility to fix it later
2020-02-11 21:48:16 +03:00
vzotova
b7098590e6
Reproduce scenario from #1671
2020-02-11 19:15:12 +03:00
vzotova
c17653b535
Restrict checks in `PolicyManager.register()` and `PolicyManager.createPolicy()` to prevent inconsistent state
2020-02-11 17:17:35 +03:00
David Núñez
0058230c3d
Janitorial stuff
2020-02-07 11:22:08 +01:00
David Núñez
4aeb64486e
Touches to MultiSigDeployer and MultiSigAgent. Tests for both
2020-02-07 11:22:08 +01:00
David Núñez
88a365ac18
Obtain upgrading transactions for Dispatcher.upgrade()
...
Uses the new BlockhainInterface.build_transaction() endpoint to construct unsigned transactions.
The unsigned transactions in this commit are the raw data that is signed by MultiSig participates during a contract upgrade.
2020-02-07 11:22:08 +01:00
David Núñez
b311430490
First pass on block confirmations at the BlockchainInterface layer - see #1194
2020-02-07 11:22:07 +01:00
Kieran R. Prasch
59f369cd6b
Expand worklock deployment test to cover economics instantiation before deployment.
2020-02-01 13:11:45 -08:00
Kieran R. Prasch
9554eb45a6
Implement ethSupply, Renames and Tweaks with @vzotova
2020-01-30 17:19:06 -08:00
Kieran R. Prasch
ec78da448e
Expose more worklock methods on agency; Adjust claim requirements.; CLI warning for small bids.
2020-01-30 14:18:18 -08:00
Kieran R. Prasch
a720070c75
Adjust Bidder tests for new requirements; Use blocktime as reference.
2020-01-30 11:57:11 -08:00
Kieran Prasch
c8c8b7d552
Respond to RFCs in PR #1550 ; Touch ups
2020-01-30 10:27:29 -08:00
Kieran Prasch
f0ac200cb7
Detailing the higher level functionality of Bidder.
2020-01-30 10:27:29 -08:00
Kieran Prasch
a6ca5cbd6f
Respond to RFCs in PR #1550
2020-01-30 10:27:29 -08:00
Kieran Prasch
bbcb9e649c
Updates worklock API to work-based unlock without allocation deployments.
2020-01-30 10:27:29 -08:00
Kieran Prasch
b403b291de
Passing worklock CLI tests: baseline, Test showing single contract deployment (sneaking in seeder as a plceholder for worklock without params ready).
2020-01-30 10:27:29 -08:00
Kieran Prasch
355d7ff887
Deprecates TestEconomics; Adds worklock supply and funding management - Extracts statistical methods to worklock agent.
2020-01-30 10:27:29 -08:00
Kieran R. Prasch
fc45282964
Additional tests to cover worklock bid reading and test registry management for worklock agent test module
2020-01-30 10:27:29 -08:00
Kieran R. Prasch
5359ca9aec
Trying to use deterministic preallocation address generation via worklock in tests.
2020-01-30 10:27:29 -08:00
Kieran R. Prasch
4652daa176
Reconstruction of worklock CLI tests (without consideration for preallocations)
2020-01-30 10:27:29 -08:00
Kieran R. Prasch
5ac52b1271
Integrating the worklock deployer with the rest of em'
2020-01-30 10:27:29 -08:00
Kieran R. Prasch
ae0b1d1734
Adds new contract function agency for worklock: refunds, cancellation, tests to match.
2020-01-30 10:26:37 -08:00
Kieran R. Prasch
717a84afd4
Incorporating new worklock contract functions into agents, deployers, and economics.
2020-01-30 10:26:37 -08:00
Kieran R. Prasch
82dbfcfe89
First steps to integrate worklock deployment params via economics
2020-01-30 10:26:37 -08:00
Kieran Prasch
5c3c6a00e8
Properly bond worklock to staking escrow at deploy-time.
2020-01-30 10:26:37 -08:00
Kieran Prasch
cff807eaff
Bidding agent tests.
2020-01-30 10:26:37 -08:00
Kieran R. Prasch
e21a2da6c1
funding method for worklock deployer
2020-01-30 10:26:37 -08:00
Kieran Prasch
496f73680a
Carving out worklock agent tests.
2020-01-30 10:26:37 -08:00
Kieran Prasch
cdc8696855
Baseline Worklock deployer tests.
2020-01-30 10:26:37 -08:00
David Núñez
b802af8223
A RegistrySourceManager for tests that only uses a tailored MockRegistrySource
...
It assumes that the only valid network is TEMPORARY_DOMAIN
2020-01-19 02:59:14 +01:00
Kieran Prasch
0db9f719cf
adjustments to wind down aagency test to acommodate prolong test.
2020-01-16 11:16:47 -08:00
Kieran Prasch
923b2deb98
Prolong stake API and CLI entry; Deprecate Felix template and landing page
2020-01-15 11:48:53 -08:00
Kieran Prasch
c28d5892bb
Introduces prolong stake agency and test
2020-01-15 11:48:53 -08:00
vzotova
06c588476f
Fix after rebasing
2020-01-15 12:09:00 +03:00
vzotova
5648f41af7
Wind-down parameter for actors
2020-01-15 12:08:59 +03:00
vzotova
09e37375fe
Wind-down parameter for agents
2020-01-15 12:08:58 +03:00
vzotova
6c5ef32aa2
Tests for wind-down parameter, wind-down parameter in PreallocationEscrow
2020-01-15 12:08:57 +03:00
vzotova
a945c21ad3
Minor rename in test_intercontract_integration.py
2020-01-14 16:59:54 +03:00
vzotova
b2d27046dd
WorkLock: time-based lock -> stake-based lock, claim() locks token in StakingEscrow
2020-01-14 16:56:20 +03:00
Victoria
35a0dd5528
Apply suggestions from code review #1459
...
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
Co-Authored-By: David Núñez <david@nucypher.com>
2020-01-10 13:14:04 +03:00
vzotova
bd7d5ac43a
Fix for test_sampling_distribution
2020-01-10 13:14:04 +03:00
vzotova
3fd751b638
PolicyManager: revocation using owner's signature
2020-01-10 13:14:03 +03:00
vzotova
d0396ac86c
PolicyManager: split creator role into creator and owner
2020-01-10 13:14:02 +03:00
vzotova
5fa515d295
Moved some gas spending from createPolicy to confimrAcivity
2020-01-10 13:14:02 +03:00