Commit Graph

376 Commits (8e85deec07b4648cebab2e805a060cfaeae628b1)

Author SHA1 Message Date
szotov 33e97a9c2f miner->staker in tests and docs 2019-07-04 11:22:38 +02:00
szotov 821b0dcdbc Renamed miner-> staker in contracts 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 69b21a2a85 Tests for worker events 2019-07-04 11:22:38 +02:00
szotov f237389ca7 Tests for slashing worker 2019-07-04 11:22:38 +02:00
szotov 946ec2b2f1 Added way to slash intermediary contracts 2019-07-04 11:22:38 +02:00
szotov 8747177c5a Moved minimum worker periods to constructor 2019-07-04 11:22:38 +02:00
szotov 1a76d9984b Fixed agent tests 2019-07-04 11:22:38 +02:00
szotov 727a074503 Added test for setting worker 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
szotov 8bc89805ff Fix agents tests 2019-07-04 11:22:38 +02:00
szotov f850a42f58 Added worker role, excluded minting and activity confirmation from lock method 2019-07-04 11:22:38 +02:00
Bogdan Opanchuk f1db1622cf Temporarily skip test_deploy_multiple()
Fixing `usefixtures` mark makes it fail due to issue #1102
2019-06-27 14:45:34 -07:00
Bogdan Opanchuk 39ecedd724 Rename TesterBlockchain on import in tests to prevent py.test from trying to pick it up 2019-06-26 22:48:33 -07:00
Bogdan Opanchuk d83697648a Fix typo: replace `usesfixtures` with `usefixtures` 2019-06-26 22:41:54 -07:00
K Prasch d743e3b791
Respond to RFCs in PR #984; Apply suggestions from code review
Co-Authored-By: David Núñez <david@nucypher.com>
Co-Authored-By: Derek Pierre <derek.pierre@gmail.com>
2019-06-08 14:32:35 -07:00
Kieran Prasch cf64e5f114
Restores skipped stake division test on MinerAgent 2019-06-08 14:26:07 -07:00
Kieran Prasch 9430997aa7
Refining blockchian sync management for internal geth processes 2019-06-08 14:26:07 -07:00
Kieran Prasch 6097c83eb7
Almost all of checksum_public_address -> checksum_address 2019-06-08 14:25:35 -07:00
Kieran Prasch 4a7a881d3e
Realize the Agency metaclass 2019-06-08 14:25:26 -07:00
David Núñez b6ba1ff435
Conditional skip for Geth client integration. Fix #1037 2019-06-03 22:52:22 +03:00
Kieran R. Prasch c6c6f66b8b
New client test module; Skip geth client signature integration test on CI until a better solution is found. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch e74ba944f8
Handle geth --dev process as a fixture to stop when finished. Additional test bug fixes, found missing assertions. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch f9d9346c0f
Test integration for geth client signing and nucypher.crypto verification 2019-06-03 22:52:22 +03:00
David Núñez e913677354
Fix eth clients bugs. Improved tests for clients. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 2dfdb4ac63
Recompose verify_eip_191 into crypto.api, off of Interfaces, Clients, and Powers. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch ed1436aac4
Use EIP-191 Signatures on Geth and PyEVM backends 2019-06-03 22:52:22 +03:00
Kieran R. Prasch f2c655efae
Inheretence improvements for web3 abstractions, Handle 4-part version strings in EthereumTester and Parity. 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 25c5a4a846
Supporting EIP-191 Geth message signatures 2019-06-03 22:52:22 +03:00
Kieran R. Prasch 828b19b2ee
Consider provider process handling with new web3 abstractions 2019-06-03 22:52:22 +03:00
Damon C b78cedbb1e
tests for w3 client classes 2019-06-03 22:52:22 +03:00
derekpierre 8b68990649
Initial work to abstract web3 test clients - not tested 2019-06-03 22:52:22 +03:00
Kieran Prasch 81cbdd7404
Oo he's Tryin' 2019-06-03 22:50:40 +03:00
Kieran Prasch ba996f5d0c
Alter CLI deply tests to tests geth provder, First pass. 2019-06-03 22:50:40 +03:00
Kieran Prasch 621dbf9068
post rebase cleanup 2019-06-03 22:50:40 +03:00
Kieran Prasch d9edf1fcfa
Move deployment secret interactivity to concise internal deployment API 2019-06-03 22:50:40 +03:00
Kieran Prasch 27ecc40b9d
post rebase cleanup 2019-06-03 22:50:40 +03:00
Kieran Prasch 8371df1fcc
Move deployment secret interactivity to concise internal deployment API 2019-06-03 22:50:40 +03:00
David Núñez ab5599ffff Address RFCs from @szotov and @tuxxy 2019-05-16 16:12:08 +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 e8be554e60 Adapt test_mining_adjudicator to latest changes in MiningAdjudicator and IndisputableEvidence 2019-05-16 16:12:07 +02:00
David Núñez a5ce7700ca Lost bytes: missing byte values needed for on-chain evaluation 2019-05-16 16:12:07 +02:00
David Núñez 569dd23f2b Workaround for wrong slashing params in test_intercontract_integration #354 2019-05-16 16:12:07 +02:00
David Núñez b51cb74a4d Adapt tests to latest changes in MiningAdjudicator 2019-05-16 16:12:07 +02:00
David Núñez fc48f7063b Enter utils.get_signature_recovery_value. Fix utils.recover_pubkey_from_signature 2019-05-16 16:12:07 +02:00
David Núñez 3316315b93 Touchups to test_signature_verifier 2019-05-16 16:12:07 +02:00
David Núñez 33bc11a17c Add function check_serialized_coordinates to ReEncryptionValidator 2019-05-16 16:12:07 +02:00
David Núñez 19d3a8cf14 Touchups to some blockchain-related fixtures 2019-05-16 16:07:34 +02:00
David Núñez 50cce08d47 Remove ReEncryptionValidator.aliceAddress() since it's not used anymore 2019-05-16 16:07:33 +02:00