Closed unjapones closed 5 years ago
Added on hold
label to check why Travis CI build fails.
Ok, I had to update solidity-coverage
dependency in blockchain/package e.json
to fix the "error intrumenting...", but then I had another problem caused by a bug in solidity-coverage
described here.
The build should finish successfully, at least it did on my clone here https://travis-ci.org/unjapones/poa-popa/builds/451994617.
BLOCKED BY #208 (will show more files changed that it should). To see the real diff, make a diff against the branch from the blocking PR.
Closes #204.
Adds a
ProofOfPhysicalAddressKeyHolder
contract thah inherits fromKeyHolder
and erc725 implementation. I considered thah the erc735 API is not required to be implemented for now, since we only want a contract to verify the issued/signed claims generated in #208.Important note
ProofOfPhysicalAddressKeyHolder
for now is a sepparate contract from the mainProofOfPhysicalAddress
. I tried to make the latter inherit fromKeyHolder
but sistematically got anout of gas
error when deploying to the local testrpc for testing/development (I have a TODO item that says "check if the deployment on Ropsten/Rinkeby shows the same error" though). On the other hand, this sepparation has the advantage of not-having to deployProofOfPhysicalAddress
again.KeyHolder
was taken from https://github.com/OriginProtocol/origin-playground (plus a little verification onremoveKey
), since it is the base contract used in other erc735 examples/implementations + it had some tests that were copied, adapted and added to this PR.