Commit Graph

3860 Commits (0ac2ae8f703e337f0b01ad7154352827cc0792a1)

Author SHA1 Message Date
Kieran Prasch d59b9d63c1
Test describing a multi-tenant installation 2019-04-06 12:38:09 -07:00
jMyles a4a0f8535c Infuriating comprehension. Fixes #911 and Fixes #912 (duplicates). 2019-04-06 21:24:48 +02:00
K Prasch 0f412c38b8
Merge pull request #910 from KPrasch/master
Update and re-lock dependencies; Reintroduce Codecov
2019-04-05 23:05:41 -07:00
Kieran Prasch ff27cd406c
Ensure pyevm alpha39 in Pipfile; Locks remain the unchanged. 2019-04-05 22:48:33 -07:00
Kieran Prasch 402020d8bc
Capture test results from blockchain tests, too, because why not. 2019-04-05 22:12:04 -07:00
Kieran Prasch 0796fff455
move coverage flags outside test globbing 2019-04-05 22:02:06 -07:00
jMyles 1dd0817ec3
Change CircleCI config and python deps from coveralls to codecov. 2019-04-05 21:34:20 -07:00
Kieran Prasch 1f25dba185
Update and relock dependencies. 2019-04-05 20:49:52 -07:00
K Prasch d63af4e69c
Merge pull request #863 from cygnusv/vodka-hangover
Vodka hangover
2019-04-05 12:29:24 -07:00
K Prasch 8909399f7a
Merge pull request #908 from KPrasch/master
Fix Issues #807 and #896
2019-04-05 12:29:05 -07:00
Kieran Prasch 4ba68038d7
Fix Issue #807 and Issue #896 2019-04-04 19:57:47 -07:00
K Prasch f63be279c3
Merge pull request #826 from vepkenez/docker-dev
Docker dev
2019-04-03 11:14:09 -07:00
damon c f69c9133a6
adds --build to install docs 2019-04-02 16:50:53 -07:00
damon c d1947ab1b6
typo 2019-04-02 15:47:06 -07:00
damon c 3c716c11a0
Pycharm pro only. 2019-04-02 15:46:36 -07:00
damon c 314dba9ba6
Update README.md 2019-04-02 14:37:10 -07:00
K Prasch 8cd08de191
Merge pull request #891 from drdgvhbh/application-json
Give responses an application/json content type
2019-03-31 18:33:20 -07:00
Ryan Lee a44da10cd9 Give responses an application/json content type
Revert "Give responses an application/json content type"

This reverts commit eb691d8433664dd1b3d5f076ddf0dd465301f53d.

Set response content type to application json
2019-03-31 14:55:44 -04:00
David Núñez 713071025c Add first unit tests for ReEncryptionValidator contract 2019-03-31 10:39:40 +02:00
David Núñez 8716443094 Don't sign task.signature, as it's already part of cfrag's metadata 2019-03-29 10:52:04 +01:00
David Núñez 04f3908343 Method for obtaining a task specification 2019-03-29 10:52:04 +01:00
David Núñez bd44c7d65f WorkItem is now Task, and it also handles the output of re-encryption 2019-03-29 10:52:14 +01:00
David Núñez e1d8362260 New re-encryption metadata format (#259) 2019-03-29 10:52:04 +01:00
David Núñez 3637d75805 Remove checks that are now implicitly done by WorkOrder.from_rest_payload 2019-03-29 10:46:52 +01:00
David Núñez e1d5780692 Ursula deserializes the WorkOrder, checking the receipt and each capsule 2019-03-29 10:46:52 +01:00
David Núñez 2376b24c52 Full revamp of WorkOrder
* Instead of a list of capsules, WorkOrder now has a list of WorkItems (each of them includes a capsule)
* Each capsule is signed together with Ursula's pubkey, Alice's address and a recent blockhash.
* Only the blockhash is stored in the WorkOrder, since Alice's address and Ursula's pubkey are known by Ursula
2019-03-29 10:46:52 +01:00
David Núñez f698f6361d Introduces WorkItem, a helper class inside WorkOrder to handle capsules and item signatures 2019-03-29 10:46:52 +01:00
David Núñez b8a5fc25eb Clarify evolution of penalty amount in test_mining_adjudicator 2019-03-29 10:46:52 +01:00
David Núñez be9901f746 Change validation of precomputed EC multiplication to require() 2019-03-29 10:46:52 +01:00
David Núñez ef75e241df Tests Bob sending wrong precomputed values. Improves test_mining_adjudicator 2019-03-29 10:46:52 +01:00
David Núñez 581a36759d Constants in ReEncryptionValidator (Fixes #749) 2019-03-29 10:46:52 +01:00
David Núñez b6f02ec9db Mark ReEncryptionValidator methods as internal instead of public
TIL that solc leaves placeholders in the bytecode with format __$...$__ when using libraries (with non-internal methods)
https://solidity.readthedocs.io/en/v0.5.3/using-the-compiler.html#using-the-commandline-compiler
2019-03-29 10:46:52 +01:00
David Núñez 21da4ce133 Emit CFragEvaluated just after validation, in case tx fails when slashing 2019-03-29 10:46:52 +01:00
David Núñez 0cea55e7b8 Remove Numerology and leave only used methods within ReEncryptionValidator 2019-03-29 10:46:52 +01:00
David Núñez d1b8fd763a Move re-encryption validation logic to its own contract (Fixes #643) 2019-03-29 10:46:52 +01:00
Damon C 513558aa42 whitespace 2019-03-28 16:10:47 -07:00
Damon C 5188a647f0 update scripts 2019-03-28 16:06:16 -07:00
Damon C b4d95c9307 ports 2019-03-28 15:47:13 -07:00
Damon C 655eb3a2cc reworked docker layout 2019-03-28 15:41:45 -07:00
Damon C 7584aea141 more efficient dockerfile 2019-03-28 12:45:08 -07:00
MacLane Wilkison 1b74b145bc Update dev/docker/README.md
Co-Authored-By: vepkenez <gdamon@gmail.com>
2019-03-28 12:45:07 -07:00
Damon C 8e1c72613e apt -> apt-get 2019-03-28 12:45:07 -07:00
Damon C 29bc481d3b newline fixes 2019-03-28 12:45:07 -07:00
damon c f3204fd8f2 Delete Dockerfile-pg 2019-03-28 12:45:07 -07:00
Damon C 3e1c28c0f4 typos, README 2019-03-28 12:45:07 -07:00
Damon C e70d781ccb initial docker development setup 2019-03-28 12:45:07 -07:00
David Núñez 52a4aaffbd
Merge pull request #890 from KPrasch/master
Bump version: 0.1.0-alpha.20 → 0.1.0-alpha.21
2019-03-27 21:32:44 +01:00
Kieran Prasch 05b7c129ca
Bump version: 0.1.0-alpha.20 → 0.1.0-alpha.21 2019-03-27 12:48:51 -07:00
K Prasch 79a54f4f38
Merge pull request #812 from KPrasch/felix
Felix Distribution Mechanism
2019-03-27 08:57:13 -07:00
David Núñez 04cf46ade5
Merge pull request #806 from szotov/slashing-docs
Draft of docs for slashing
2019-03-27 11:49:01 +01:00