Commit Graph

240 Commits (57a191b3c96535f49ce1c46055c23c256308ab83)

Author SHA1 Message Date
David Núñez 57a191b3c9 UnquestionableEvidence --> IndisputableEvidence 2019-02-23 12:37:09 +03:00
David Núñez 1b2a916935 Missing changes from 'overseer' to 'adjudicator' 2019-02-23 12:37:09 +03:00
David Núñez 450c1c64bc Shame on you, Ursula. 2019-02-23 12:37:08 +03:00
David Núñez cd8b265917 Defining some TODOs for later PRs 2019-02-23 12:37:07 +03:00
David Núñez 525635a304 Get precomputed values for U1 and U2 points 2019-02-23 12:37:06 +03:00
David Núñez 4ec3ea9abd Hard-code Y coordinate of UmbralParameter.U 2019-02-23 12:37:06 +03:00
David Núñez 03f050d499 We don't "challenge" the miner's work anymore. We now "evaluate" them. 2019-02-23 12:37:05 +03:00
David Núñez 2f8e956f5c Renaming ChallengeOverseer to MiningAdjudicator everywhere 2019-02-23 12:37:04 +03:00
David Núñez 4d9c0e794e ChallengeOverseer is now MiningAdjudicator 2019-02-23 12:37:04 +03:00
David Núñez a0970d736d Comment some tests in ChallengeOverseer 2019-02-23 12:37:03 +03:00
David Núñez 13cf37a8e5 Methods to compute proof's challenge scalar in Python and Solidity 2019-02-23 12:37:02 +03:00
David Núñez 033ea238cb Test consistency of Umbral and ChallengeOverseer.extendedKeccakToBN 2019-02-23 12:37:02 +03:00
David Núñez 0797b79dcb Adapt nucypher to new Umbral release 2019-02-23 12:37:01 +03:00
David Núñez 200a84a150 Fix re-encryption fixture in test_challenge_overseer 2019-02-23 12:37:01 +03:00
David Núñez 6c70103c3f Test consistency between Umbral and ChallengeOverseer.UmbralParameterU 2019-02-23 12:37:01 +03:00
David Núñez a55b9d157d Refining fragments fixture for test_umbral_deserializer 2019-02-23 12:36:59 +03:00
David Núñez a276f7c3ea Fix use of BlockchainDeployerInterface.provider 2019-02-23 12:36:54 +03:00
szotov a2e4f215e0 New lines at the end of contracts 2019-02-23 12:36:54 +03:00
szotov 9b4d77c035 Extracted getLockedTokensInPast method, some optimization 2019-02-23 12:36:54 +03:00
szotov f4cd8245de Added blank lines after license in blockchain tests 2019-02-23 12:36:53 +03:00
szotov 333e8af812 Fixed test_umbral_deserializer.py 2019-02-23 12:36:53 +03:00
szotov d3ae7a2fa2 Added test for slashing to the test_intercontract_integration.py 2019-02-23 12:36:52 +03:00
szotov 8a829b0283 Fixed overseer test 2019-02-23 12:36:52 +03:00
szotov 4d6131b45b Added events for slashing 2019-02-23 12:36:52 +03:00
szotov 46be22e5e6 Slashing optimization 2019-02-23 12:36:51 +03:00
szotov 31347b4634 Fixed bug with slashing future sub stakes regardless of duration 2019-02-23 12:36:50 +03:00
szotov d3fc480c6c Fixed bugs in slashing, small optimization 2019-02-23 12:36:50 +03:00
szotov df99cb650e Improved tests for slashing 2019-02-23 12:36:50 +03:00
szotov dbeb29fe83 Added method for getting a stake for previous periods 2019-02-23 12:36:49 +03:00
szotov dbc74e03d5 Tests for slashing 2019-02-23 12:36:49 +03:00
szotov c028e521cd Tests for `unMint` 2019-02-23 12:36:48 +03:00
szotov 2ef2a8f9b6 Added limit for amount of sub stakes, small refactoring of the MinersEscrow and other contracts 2019-02-23 12:36:48 +03:00
szotov 4f046b8f25 Fixed current challenge test 2019-02-23 12:36:47 +03:00
szotov eebd831397 Changed format of points in deserializer 2019-02-23 12:36:46 +03:00
szotov 56e3d0336b Integrated UmbralDeserializer and challenge, partially changed tests 2019-02-23 12:36:46 +03:00
szotov da21e5006f Small refactoring and renaming 2019-02-23 12:36:46 +03:00
szotov b230e31e32 Added contract to deserialize capsule and cfrag 2019-02-23 12:36:45 +03:00
szotov 694eb7fff9 Added test for the draft of challenge 2019-02-23 12:36:45 +03:00
szotov 0e06d67252 Added draft of the first challenge 2019-02-23 12:36:44 +03:00
szotov 014a1094ab Added methods to verify signature on-chain 2019-02-23 12:36:44 +03:00
szotov 866b70e63e Added on-chain external signature verifier 2019-02-23 12:36:44 +03:00
MacLane Wilkison 9ed5b1e6f6 Remove unused variables+imports and make PEP 8 fixes in tests 2019-02-15 15:12:33 -07:00
szotov d8e637c7db Fix escrow agent test 2019-02-12 09:07:01 -07:00
szotov 819f0951e4 solidity contracts 0.4.25 -> 0.5.3, updates openzeppelin contracts 2019-02-09 16:58:09 +03:00
Kieran Prasch 8922af389c
Updates Web3 python API usage to v5.0.0-alpha.3 2019-01-15 11:47:40 -08:00
Tux 60ab41c82d
Merge pull request #611 from tuxxy/AAA2018-is-gonna-ruin-the-internet
Rename EncryptingKeypair/EncryptingPower to DecryptingKeypair/DecryptingPower
2018-12-14 01:49:10 -05:00
tuxxy ef497e6a1f Rename TestPolicyMetadata to MockPolicyMetadata 2018-12-13 14:17:43 -07:00
Kieran Prasch 58d8c3ffdd
Respond to RFCs - Deployer contract names are now public. 2018-12-12 18:06:50 -08:00
Kieran Prasch 164d499884
Consolidate contract tests; further simplify job names. 2018-12-05 18:26:38 -08:00
Kieran Prasch ed23e08df1
Update tests to use thinned keyring and configuration API 2018-12-05 15:59:50 -08:00