Commit Graph

3789 Commits (8b95dcd61aab0afc593b5c708bc7a69f191305f4)

Author SHA1 Message Date
David Núñez 8b95dcd61a Some TODOs and FIXMEs 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 4baa92c8fc Adapt MiningAdjudicator to signatures & metadata format defined by #259 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 b6ac38bc41 Remove MiningAdjudicator.preparePublicKey and assume keys are 64 bytes, instead of 65 2019-05-16 16:11:58 +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
K Prasch b5f8ddef7f
Merge pull request #873 from szotov/upgradability
Enhancing upgradability
2019-05-16 06:38:53 -07: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
K Prasch 155b789cae
Merge pull request #955 from cygnusv/nochildleftbehind
Learning tests in CI test workflow. Speed-up workflow 2-3 minutes.
2019-05-08 07:48:30 -04:00
David Núñez 3f1b3c2741 Run all test jobs at the same time; next the after test jobs (demos, gas, etc) 2019-05-07 11:52:51 +02:00
David Núñez 293b904ac1 Include blockchain job in basics, and increase parallelism of agents 2019-05-06 14:56:44 +02:00
David Núñez ae01d4a02a Basics is fast enough to remove parallelism, freeing a container for other jobs 2019-05-06 13:47:24 +02:00
David Núñez 3eca494c3e Bundle crypto, config and keystore jobs in a single one called "basics"
This optimizes use of CI containers
2019-05-06 13:42:17 +02:00
David Núñez 71558319af Remove duplicate method. See some lines below 2019-05-06 13:26:13 +02: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
David Núñez 4830fa2c9b CI Jobs shouldn't block for installation environments not used as workspace 2019-05-06 13:05:20 +02:00
David Núñez d0b0c3daa8 Disable mypy for the moment; it was wasting a CI container for nothing 2019-05-06 12:57:28 +02:00
David Núñez c6117e5305 Include learning tests as part of character testing job 2019-05-06 12:49:29 +02:00
David Núñez a60accad8b Enable learning tests in CI test workflow 2019-05-06 12:29:49 +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
K Prasch 098ab80b15
Merge pull request #948 from mswilkison/devnet-docs
Add devnet info to quickstart docs
2019-04-27 18:31:37 +03:00
MacLane Wilkison bc2f870efb Add devnet domain and seednode information. 2019-04-24 15:02:59 -07:00
K Prasch 0c8c7fb87a
Merge pull request #866 from KPrasch/slashing-python
MiningAdjudicatorDeployer, TokenEconomics and Stake Integration
2019-04-24 20:20:48 +03:00