Commit Graph

1337 Commits (3a4df6adea877c6467c8e7d6af42955de7682cd1)

Author SHA1 Message Date
David Núñez 3a4df6adea Fix remaining tests in test_policy_manager_agent 2019-07-04 11:23:49 +02:00
Kieran Prasch 1868f96bdc API conversion -Implementing @transact receipt handing in-test. 2019-07-04 11:23:49 +02:00
David Núñez a85adfdc55 Fix actors/test_staker and agents/test_token_agent 2019-07-04 11:23:49 +02:00
David Núñez a8d77c40a9 Fix test_staking_escrow_agent tests. Start usingnew @transaction decorator. 2019-07-04 11:23:49 +02:00
David Núñez e1df9a7d1b Use stakers fixture in test_token_and_stake 2019-07-04 11:23:49 +02:00
David Núñez c728c1afe0 Introduce simple PRE lifecycle test with blockchain ursulas 2019-07-04 11:22:39 +02:00
David Núñez a6e839dfee New stakers fixture, consistent with blockchain_ursulas 2019-07-04 11:22:39 +02:00
David Núñez 6cd4d2fde3 Worker validation pursuant to consensus on #1003. Closes #1033. 2019-07-04 11:22:39 +02:00
David Núñez edb95407c3 StakingEscrowAgent API for checking staker-worker relationship 2019-07-04 11:22:39 +02:00
David Núñez 8b446a904b Change "by" to "from" in getWorkerByStaker and getStakerByWorker 2019-07-04 11:22:39 +02:00
David Núñez 54d12b8827 Ursula.rest_information()[0] --> Ursula.rest_interface() 2019-07-04 11:22:39 +02:00
David Núñez 357ff2a7cd Stakers will need their own test ETH accounts, different than Ursulas' 2019-07-04 11:22:39 +02:00
David Núñez 1387683e35 First stub of Worker class, extracted from Staker 2019-07-04 11:22:39 +02:00
David Núñez da8fd0c3de Missing renamings to "worker" and "staker" in agents.py 2019-07-04 11:22:39 +02:00
Kieran Prasch b98dfb9986 Respond to RFCs in PR #1066; Docstrings and annotations for Baseconfiguration. 2019-07-04 11:22:39 +02:00
Kieran Prasch 66b0e25165 Robust tests for BaseConfiguration API; Second layer for character configurations; Return of ABC. 2019-07-04 11:22:39 +02:00
Kieran Prasch 09c8847c14 Dehydration and cleanup of keyring attachment and checksum address selection. Touch ups. 2019-07-04 11:22:39 +02:00
Kieran Prasch add336af3f Ensure that known_nodes passed into configs are retained for re-use 2019-07-04 11:22:38 +02:00
Kieran Prasch b7012f607f NodeConfiguration -> CharacterConfiguration 2019-07-04 11:22:38 +02:00
Kieran Prasch 568420a9c6 Refinine NodeConfiguration to handle only common parameters; Dehydration and reorg. Optimize character config production file I/O. 2019-07-04 11:22:38 +02:00
Kieran Prasch 65d1b7aa51 Allow contract registry to write to a globally default location (config root) despite using a custom configuration root at init time. 2019-07-04 11:22:38 +02:00
Kieran Prasch 0565893be6 Accurately reflect destruction operations; Simplify usage; UrsulaConfiguration implements BaseConfiguration. 2019-07-04 11:22:38 +02:00
Kieran Prasch 701c7b5f15 CharacterConfiguration subclasses implemnt BaseConfiguration class attrs; Reorganize tests.config 2019-07-04 11:22:38 +02:00
Kieran Prasch d888c60607 Adds BaseConfiguration and Ursula standard configurations tests; Style touchups, Preserving 'checksum_address'. 2019-07-04 11:22:38 +02:00
David Núñez 9638dc86bf Fix name of StakingEscrowAgent. It was StakingEscrow 2019-07-04 11:22:38 +02:00
David Núñez b9dd215421 Fix test for emission of unknown LL version warnings. Closes #1039 2019-07-04 11:22:38 +02:00
David Núñez 9eee8e6c9d Removing some re-emerging garbage, probably from a rebase 2019-07-04 11:22:38 +02:00
David Núñez 398896d2ab Leftovers: Miner --> Staker, MiningAdjudicator --> Adjudicator, etc. 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 3a80eec247 Goodbye, Three Agents. Hello, Agency. 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 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
jMyles 189a87399c Resetting side channel between two of the tests. 2019-07-03 16:55:12 -07:00
jMyles a57affca11 Updating test showing that #920 is fixed. 2019-07-03 13:59:52 -07:00
jMyles afe26661d5 Adding message number to side channel flow. 2019-07-03 13:51:58 -07:00
jMyles c613bcd077 A few new places where capsule_side_channel needs to be called. 2019-06-28 21:11:51 -07:00
jMyles 523fde54b4 Our Ursula from config is also supposed to be interactive per the test spec. 2019-06-28 20:11:55 -07:00
jMyles 54249ebb5e Adding --interactive for the moment in order to display command prompt, on which test assertion relies. 2019-06-28 20:11:55 -07:00
jMyles a88d8c4159 Skipping test until #920 is closed. 2019-06-28 20:11:55 -07:00