Open kernelwhisperer opened 5 years ago
There isn't an easy way to determine the version of TokenManager.sol in order to see the source code, only to take the compiledAt timestamp and search through the git history.
Perhaps this is something we could include at publish-time into the artifact.json, and use a git commit hash as well as origin link.
I discussed with Daniel to use sol-compiler
to generate custom artifacts at some point. I have to research more about it but might be useful for this use cases.
If the hash cannot be fetched by ipfs (not running aragon ipfs or it takes to long to download), we only return this:
We should warn about not being able to retrieve the content.
This is the full output:
There isn't an easy way to determine the version of
TokenManager.sol
in order to see the source code, only to take thecompiledAt
timestamp and search through the git history.