You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param _evidence A URI to the evidence JSON file whose name should be its keccak256 hash followed by .json.
:
* @param _evidence A URI to the evidence JSON file whose name should be its keccak256 hash followed by .json.
The _evidence parameter should be its multihash without file extension , not its keccak256 hash followed by the extension. See ethereum/EIPs#1497.
It is acceptable to have a custom name + .json extension if the URI points to a content-addressed storage (and therefore uses multihash in the link) like as ipfs, such that the full URI looks like (for example):
Updated to IPFS path to evidence, example: '/ipfs/Qmarwkf7C9RuzDEJNnarT3WZ7kem5bk8DZAzx78acJjMFH/evidence.json'. Closing. Reopen if you think it's not good.
The docs and the
IEvidence
contract display an incorrect parameter documentation for theEvidence
event.erc-792/contracts/erc-1497/IEvidence.sol
Line 29 in 7ca1a48
* @param _evidence A URI to the evidence JSON file whose name should be its keccak256 hash followed by .json.
The
_evidence
parameter should be itsmultihash without file extension
, not its keccak256 hash followed by the extension. See ethereum/EIPs#1497.It is acceptable to have a custom name +
.json
extension if the URI points to a content-addressed storage (and therefore uses multihash in the link) like as ipfs, such that the full URI looks like (for example):ipfs://QmUQMJbfiQYX7k6SWt8xMpR7g4vwtAYY1BTeJ8UY8JWRs9/evidence.json
bzz://1e0e21894d731271e50ea2cecf60801fdc8d0b23ae33b9e808e5789346e3355e/evidence.json
/ipfs/QmUQMJbfiQYX7k6SWt8xMpR7g4vwtAYY1BTeJ8UY8JWRs9/evidence.json
The text was updated successfully, but these errors were encountered: