Commit Graph

48 Commits (18be53f5a510bc1cf74841256d03fe6124368bdd)

Author SHA1 Message Date
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
vzotova 2e94f2cc02 Update estimate_gas script for new start/end policy time 2020-01-10 13:14:01 +03:00
vzotova e66058530e Fixes #1349, enable re-staking by default 2019-12-26 13:21:12 +03:00
vzotova 131ebda9cc Few more contract optimizations 2019-11-27 11:50:24 +03:00
vzotova 693928c4e6 EstimateGas script refactoring 2019-11-27 11:50:24 +03:00
vzotova 854b4d9eb7 First optimization step for StakingEscrow 2019-11-27 11:50:22 +03:00
Kieran R. Prasch 6bdfc6c331 Re-implements some ursula mocking via pytest-mock spy. 2019-09-06 11:59:01 +02:00
szotov 8646541619 Extended `init` in `StandardEconomics` 2019-09-04 13:24:03 +03:00
szotov 7be142a8d8 estimate_gas script uses custom parameters 2019-09-04 13:24:03 +03:00
szotov 44717dcca6 Split TokenEconomics into two classes 2019-09-04 13:24:01 +03:00
Kieran Prasch b20cf2f6f6 Test fixes: Alter estimate gas to use blockchain factory; Restore accidentally renamed deployment files. 2019-08-27 09:56:41 -07:00
Kieran Prasch 324c2805f5 Checkpoint #2 - Refactor Policy, and Blockchain / Registry Reflow. 2019-08-27 09:54:14 -07:00
szotov 60f341c3e0 Removed preDeposit method, fixed small issues 2019-08-21 21:27:38 +03:00
David Núñez 718a5244dc
PolicyAgent --> PolicyManagerAgent 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 2e26f5753f
Respond to further RFCs in PR #1092.
Apply suggestions from code review

Co-Authored-By: David Núñez <david@nucypher.com>
2019-07-15 12:21:12 -07:00
Kieran Prasch 56f4ec1844
Handle TransactingPower activation in estimate_gas.py 2019-07-15 12:06:44 -07:00
David Núñez b4790ce976 Fix estimate_gas script: Adjudicator contract was already deployed. 2019-07-04 11:23:51 +02:00
David Núñez 051bbbc02f Use testerchain.client.sign_message() in tests for EIP191 signatures 2019-07-04 11:23:51 +02:00
David Núñez f6fac7c073 Adapting other adjudicator tests and gas estimation to latest changes 2019-07-04 11:23:50 +02:00
Kieran Prasch 552fc461fc Updates estimate gas with new Testerchain API, completely removes calls to .transact() in nucypher nameapce. 2019-07-04 11:23:50 +02:00
Damon C aebac62dd8 remove most other direct blockchain.w3 references 2019-07-04 11:23:50 +02:00
Kieran Prasch 1a2dabd095 Use Condensed Blockchain API in tests. credit to @vepkenez. 2019-07-04 11:23:50 +02:00
David Núñez 9638dc86bf Fix name of StakingEscrowAgent. It was StakingEscrow 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 877833aaf3 Understand Staker and Staking to be separate ideas. 2019-07-04 11:22:38 +02:00
Kieran R. Prasch 5551ce950c MinerEscrow -> StakingEscrow, and MiningAdjudicator -> Adjudicator in agency, and in-test 2019-07-04 11:22:38 +02:00
szotov fbe4493951 Changed restriction on miner<->worker relationship 2019-07-04 11:22:38 +02:00
szotov b545e3ec9b Fixed small issues, added setWorker to UserEscrow 2019-07-04 11:22:38 +02:00
David Núñez 53d12582a6 How should Bob discover and validate Ursula's Identity Evidence? #962 2019-05-16 16:12:08 +02:00
David Núñez 66aaf328c4 mock_ursula_reencrypts as as global fixture 2019-05-16 16:12:08 +02:00
David Núñez b51cb74a4d Adapt tests to latest changes in MiningAdjudicator 2019-05-16 16:12:07 +02:00
Kieran Prasch 306978b71e
Add adjudicator agency to gas estimation script 2019-04-22 23:18:51 +03:00
Kieran Prasch e1e79c67ef
Updates estimate_gas to utilize TokenEconomics; Straggler renames and updates. 2019-04-22 23:18:51 +03:00
Kieran Prasch 00eaba0d00
Keep economic coefficients as decimal until explictly cast 2019-04-22 23:18:51 +03:00
szotov d643773002 Gas estimates for re-stake 2019-04-17 16:05:06 +03:00
MacLane Wilkison 86116706ff Change license notices in module headers to AGPL 2019-03-04 18:55:28 -08:00
MacLane Wilkison fd46d74130
Apply suggestions from code review
Co-Authored-By: szotov <zotov89@mail.ru>
2019-02-24 12:48:30 +03:00
szotov 68f87315a3 Enhanced estimate_gas using MiningAdjudicator 2019-02-23 12:37:13 +03:00
szotov 12608c444d Gas estimates for slashing method in MinersEscrow 2019-02-23 12:37:11 +03:00
Kieran Prasch 1755a35fdc Respond to RFCs in PR #617 2018-12-19 08:43:33 -08:00
Kieran Prasch f07f2979ce
Provide simple way to start testing nucypher on pyevm with TeserBlockchain classmethods 2018-12-18 11:27:28 -08:00
Kieran Prasch 6f69704a3a
Use Regex.compile; Docstrings; Even more cleanup 2018-12-14 10:10:08 -08:00
Kieran Prasch 0c7c5a92a8
Respond to RFCs: Code Style and Readability Improvements 2018-12-14 09:12:25 -08:00
David Núñez 9f32f76942
Update tests/metrics/estimate_gas.py
Co-Authored-By: KPrasch <kieranprasch@gmail.com>
2018-12-14 08:06:32 -08:00
Kieran Prasch bf62f9201d
Class-based refactor; Timestamped reports; Automation job. 2018-12-13 16:01:14 -08:00
Kieran Prasch 5002639910
Use twisted loggers to collect and analyze gas estimation data 2018-12-13 16:01:14 -08:00
Kieran Prasch d8b9a7e10e
Maintains estimate gas tester metrics script; Update to latest API. 2018-12-13 16:01:14 -08:00