Commit Graph

1198 Commits (3454361251ea541ea38a715da4aef2983c5fcf8c)

Author SHA1 Message Date
Kieran Prasch 3454361251
Estimate gas updates to latest test constants; Additional commentary 2019-06-03 22:50:40 +03:00
Kieran Prasch 4c1af5b5ab
Baseline rollback CLI scenerio tests 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
Kieran Prasch 577c0c7f8c
Add a fourth deployment threee agents fixture, move secret hash kwarg in fixtures to lazy position. 2019-06-03 22:50:40 +03:00
Kieran Prasch 28e5c78e49
Formalize upgrade, rollback, and deploy as deploy CLI actions, dehydrate tests and check every upgrade / rollback opportunity. 2019-06-03 22:50:40 +03:00
Kieran Prasch 5bb79793d4
Upgradability for UserEscrowProxy depoyers API/CLI; Refine proxy contract handling and retargeting 2019-06-03 22:50:40 +03:00
Kieran Prasch 230cc7e0c2
Contract upgrade CLI integration test 2019-06-03 22:50:40 +03:00
Bogdan Opanchuk cbff090d68 Disallow creating persistent character configurations in --dev mode 2019-05-28 21:00:58 +02:00
David Núñez d48e9fc184 Make changes in Character.from_public_keys() truly backwards-compatible 2019-05-16 16:12:08 +02: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 4d0e34d545 Improved API for Character.from_public_bytes(). 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 bfc747fa14 utils.get_coordinates_as_bytes() also accepts SignatureStamps 2019-05-16 16:12:07 +02:00
David Núñez 6ce55d8d60 Utility function nucypher.crypto.utils.get_coordinate_as_bytes 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 7684bb103c Constructs funded_blockchain fixture from testerchain fixture
Gets rid of deployed_blockchain fixture
2019-05-16 16:07:33 +02:00
David Núñez a11d12a494 Move some local fixtures from CLI blockchain ursula to global fixtures 2019-05-16 16:07:33 +02:00
David Núñez 9698e43ae3 Simplify test_collect_rewards_integration in test_blockchain_ursula.py 2019-05-16 16:07:33 +02:00
David Núñez 50cce08d47 Remove ReEncryptionValidator.aliceAddress() since it's not used anymore 2019-05-16 16:07:33 +02:00
David Núñez 21d0969ac3 Unit tests for ReEncryptionValidator.validateCFrag() 2019-05-16 16:07:33 +02:00
David Núñez de208c1db1 Optimization in computeProofChallengeScalar as input is already parsed 2019-05-16 16:07:33 +02:00
David Núñez 068d783cfc Unit test for ReEncryptionValidator.computeProofChallengeScalar() 2019-05-16 16:07:33 +02:00
David Núñez 361c068aad Slashing economics fixture 2019-05-16 16:07:33 +02:00
David Núñez 77f2a5ab1b Integration test of ReEncryptionValidator constants. Skipped for the moment 2019-05-16 16:07:33 +02:00
David Núñez b3acbf3017 Unit tests for ECC arithmetic logic in ReEncryptionValidator (see #626) 2019-05-16 16:07:33 +02:00
David Núñez eaf79d70c6 Adds missing sanity checks in economics test. Also closes #831. 2019-05-16 16:07:33 +02:00
David Núñez e0cf8393e7 Generalize k1 check for cases when multiplier is not 0.5 2019-05-16 16:07:33 +02:00
David Núñez 6b8a3eb833 Additional sanity checks for coefficients k1 and k2 in token economics 2019-05-16 16:07:33 +02:00
szotov ba74b880d5 Few more comments 2019-05-15 16:57:55 +03:00
szotov 85a4ae1db3 Fix import errors 2019-05-15 11:35:41 +03:00
szotov 509bc7ceec Test example of avoiding some compiler changes 2019-05-15 11:35:41 +03:00
szotov da3ce7b185 More checks while upgrading 2019-05-15 11:35:40 +03:00
szotov 3a6c9794df Changed protection against zero addresses in contracts 2019-05-15 11:35:40 +03:00
szotov 86cabdd22d Added protection from destruction of the dispatcher's target 2019-05-15 11:35:40 +03:00
szotov d95ba9345e Added events to verifyState and finishUpgrade 2019-05-15 11:35:39 +03:00
szotov 6ecec014e7 Added protection for `verifyState` and `finishUpgrade` methods 2019-05-15 11:35:39 +03:00
szotov 4188c12eb1 Small refactoring of tests for the dispatcher 2019-05-15 11:35:38 +03:00
K Prasch c3ce32f393
Merge pull request #939 from vepkenez/937-alice-decrypt
decryption endpoint for alice
2019-05-08 08:19:00 -04:00
David Núñez e704e7290e Duplicated tests. See tests/characters/test_ursula_prepares_to_act_as_mining_node.py 2019-05-06 13:20:21 +02:00
Damon C ad532d9b78 remove unneeded key arguments 2019-04-30 11:09:47 -07:00
Damon C 5b1953f404 #937 decryption endpoint for Alice 2019-04-29 12:58:23 -07:00