Commit Graph

31 Commits (d18fa76fc277c3430f33eb7abe2cc0eaa1073688)

Author SHA1 Message Date
Kieran Prasch 73b238a587 Removes staking entities 2022-02-21 17:17:11 -08:00
vzotova 856abe4892 Renames `provider_uri` to `eth_provider_uri` 2022-02-18 11:27:15 +03:00
Kieran Prasch 5f3437091a Fast integration tests for bonding CLI using mocks. 2022-02-14 11:41:26 -08:00
vzotova 7c437b37b8 Removes `WorkLock` contract/agent/deployer and cli
Co-authored-by: Kieran Prasch <kieranprasch@gmail.com>
2022-02-10 20:19:21 +03:00
vzotova ecac8017ed Removes PolicyManager and StakingInterface 2022-02-09 14:24:26 +03:00
Kieran Prasch 5014209eeb retire multisig tools 2022-02-08 11:11:22 -08:00
Kieran Prasch b193465f98 adjust tests 2022-02-08 11:03:50 -08:00
Kieran Prasch 1c34045a81 Prepares economics and deployment constants for use with threshold network. 2022-02-08 11:02:17 -08:00
Kieran Prasch bbc509910d Adjust tests to accommodate swapable payment methods. 2022-02-08 11:01:24 -08:00
Piotr Roslaniec 09e90d17fa Remove remaining 'str' usage 2021-08-06 18:10:43 +02:00
Piotr Roslaniec 113a6db0ac Fix tests after rebase 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 662bc34439 Use Path methods instead of os module 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 6a270c1713 Use pathlib 2021-08-06 18:10:20 +02:00
David Núñez 6279827657 Remove stale references to PreallocationEscrow contract stuff 2021-04-30 10:23:13 +02:00
Bogdan Opanchuk 2e0efe451e Use in-memory mock LMDB environment for most tests 2021-01-02 17:19:13 -08:00
David Núñez 35af6a3a07 When mocking the StakingEscrowAgent, handle the special case of commit_to_next_period, which returns a txhash due to the fire_and_forget option
Also, improves type hints related to the special case of commitment TXs, that result in txhashes instead of receipts.
2020-11-06 12:32:51 +01:00
David Núñez 7e644b0770 Be sure we're using the MockBlockchain in integration tests 2020-10-19 21:57:45 +02:00
David Núñez 145ebdf8ef When sending TXs, allow to specify if we want to use a pending nonce or not 2020-10-19 18:59:28 +02:00
Bogdan Opanchuk 7be50030aa Remove the reduced LMDB size fixture
It is not the cause of the bug, and it doesn't really test anything.
2020-09-22 16:55:37 -07:00
tuxxy 3ac32cd7ea Move the thread lock to a class variable 2020-09-15 12:56:33 +02:00
tuxxy 8cd9bccfef Respond to requests 2020-09-11 16:29:22 +02:00
tuxxy 423ed05a3a Add thread lock to MockLMDB 2020-09-11 14:42:19 +02:00
David Núñez 920ae58bc3 Setting a free gas strategy in tests that create a new blockchain interface 2020-08-28 18:00:19 +02:00
tuxxy d033c0b318 Respond to review changes 2020-08-10 15:38:59 +02:00
tuxxy 71f8b914e0 Instead of mocking a LMDB env, we just manage them appropriately 2020-08-10 15:38:59 +02:00
tuxxy 52038e36dc Create a MockLMDBEnv w/ fixture and fix up some tests
Patch the PolicyArrangement model to fix discovery phase tests
2020-08-10 15:38:12 +02:00
Victoria 43718a49d5 Apply suggestions from code review #2142
Co-authored-by: Derek Pierre <derek.pierre@gmail.com>
Co-authored-by: David Núñez <david@nucypher.com>
2020-07-30 23:50:14 +03:00
vzotova 0e46140e8f Added `mint` command to CLI, added some warnings in `collecting-reward` command 2020-06-25 20:13:42 +03:00
vzotova 9897c0f93c Fix agent mocking: use instance to hold mocked method instead of class 2020-06-25 20:08:27 +03:00
Bogdan Opanchuk ef9ab01a3a Replace mocking click.prompt() and click.confirm() with mocking stdin/getpass. 2020-05-28 14:42:04 -07:00
Kieran Prasch 28cce2fccc Reorganize tests into multiple suites. 2020-05-27 14:11:25 -07:00