vzotova
|
59785c0ab3
|
Fix contract tests after changing Economics
|
2022-02-08 11:04:27 -08:00 |
Kieran Prasch
|
1c34045a81
|
Prepares economics and deployment constants for use with threshold network.
|
2022-02-08 11:02:17 -08:00 |
Damon Ciarelli
|
c1f66c0ef6
|
ursula pre_application_agent working; contract interactions required to run ursula.
|
2022-02-08 11:01:24 -08:00 |
vzotova
|
12755a563b
|
Removes need to confirm merge before withdrawing
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
cdee46ba47
|
Fix after rebasing
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
9fb51c6f29
|
Tests for new methods in StakingEscrow
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
02de9e7563
|
Adjust tests for contracts
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
4dda3141ed
|
Apply suggestions from code review #2831
Co-authored-by: David Núñez <david@nucypher.com>
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
c454c0cc5e
|
`totalStakedForAt` and `totalStakedAt` return 0 except when upgrading, removes snapshots flag
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
001913c380
|
Adjust several contract tests
|
2022-02-08 11:01:23 -08:00 |
vzotova
|
5ba91aef2c
|
StakingEscrow: renames formerSecondsPerPeriod/formerHoursPerPeriod -> genesisSecondsPerPeriod/genesisHoursPerPeriod
|
2021-03-22 11:37:27 -07:00 |
vzotova
|
ff627e89ec
|
Migration test for StakingEscrow
|
2021-03-22 11:37:27 -07:00 |
vzotova
|
98b63da822
|
Separated parameter for former hours per period in BaseEconomics
|
2021-03-22 11:37:27 -07:00 |
vzotova
|
b0a605ab25
|
Draft of period extension
|
2021-03-22 11:37:27 -07:00 |
Kieran Prasch
|
84240b4f07
|
remove_unused -> remove_inactive
|
2021-03-05 09:56:23 -08:00 |
vzotova
|
7c77aa65d0
|
Remove locking restake flag, throw error when node tries to commit twice in a row
|
2021-02-02 19:24:28 +03:00 |
vzotova
|
61d8dc1ec0
|
New deployment order: StakingEscrow dispatcher, then PolicyManager+Dispatcher -> Adjudicator+Dispatcher -> WorkLock and only after this StakingEscrow itself
|
2021-02-02 19:24:28 +03:00 |
vzotova
|
9815440464
|
New order of contracts deployment, StakingEscrow uses other addresses of main contracts in constructor
|
2021-02-02 19:24:28 +03:00 |
vzotova
|
19a2315fbe
|
Combine setters for linked contracts in StakingEscrow
|
2021-02-02 19:24:27 +03:00 |
vzotova
|
546e84a653
|
Remove test mode from StakingEscrow
|
2021-02-02 19:24:27 +03:00 |
vzotova
|
30a06fe37d
|
StakingEscrow: method to remove unused sub-stakes
|
2020-10-20 20:33:38 +03:00 |
David Núñez
|
cd47a3b566
|
Relocate test/utils/solidity.py to nucypher/utilities/ethereum.py
|
2020-10-05 12:12:17 +02:00 |
vzotova
|
aca9c65b68
|
StakingEscrow: check for snapshots in batchDeposit, allow setWindDown before deposit
|
2020-09-28 14:05:19 +03:00 |
vzotova
|
febc51b38e
|
Dedicated method for deposit from WorkLock, auto-lock of `restake` parameter while claiming tokens
|
2020-08-25 18:50:23 +03:00 |
Kieran R. Prasch
|
93416e3bdd
|
Deprecates --runslow and supurflouous newlines.
|
2020-08-25 07:09:59 -07: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 |
David Núñez
|
56fd7394db
|
Test that stakers can have positive balance before StakingEscrow initialization
|
2020-07-21 22:15:43 +02:00 |
vzotova
|
3caa46f367
|
StakingEscrow: removed messages from require and removed one deposit function to decrease contract size
|
2020-06-23 11:15:01 +03:00 |
Kieran Prasch
|
28cce2fccc
|
Reorganize tests into multiple suites.
|
2020-05-27 14:11:25 -07:00 |