Daniel Kronovet
Daniel Kronovet
Suggestion is to try and validate contracts through the Blockscout UI directly
Noting that the Standard JSON Input for a contract build can be pulled out of Hardhat via: ``` > buildInfo = await hre.artifacts.getBuildInfo("contracts/colony/Colony.sol:Colony") > require('fs').writeFileSync('input.json', JSON.stringify(buildInfo.input, null, 2)); ```
Testing for contract-level verification, using the dependency contract at `contracts/testHelpers/ChainId.sol` ``` const ChainId = await ethers.getContractFactory("ChainId") const chainId = await ChainId.deploy() await chainId.deployed() console.log("Contract deployed to:", chainId.address) >>> Contract deployed...
Now trying with Standard JSON Input: ``` buildInfo = await hre.artifacts.getBuildInfo("contracts/testHelpers/ChainId.sol:ChainId") require('fs').writeFileSync('input.json', JSON.stringify(buildInfo.input, null, 2)); ``` Then manually going into `input.json` and deleting all the sources except for ``` "contracts/testHelpers/ChainId.sol":...
Tried using `hardhat-verify` again. This time, I deleted every contract in `contracts/` _except_ for `ChainId.sol` and re-compiled: ``` const ChainId = await ethers.getContractFactory("ChainId") const chainId = await ChainId.deploy() await chainId.deployed()...
Currently working on isolating the various contract subdirectories so we can iteratively compile and verify the contracts without hitting the file upload limit. The following subdirectories have been isolated (can...
Note: the `changeTokenBalance` helper doesn't seem to work with Truffle contracts
I like the idea of having `sozo toolchain` as the entry point for this functionality, and then having other subcommands past that. We could also update the install script to...
@glihm this [change was introduced in v16](https://github.com/asdf-vm/asdf/blob/21e47b261930b11a35867e397b8ef7dac1d6837a/docs/guide/upgrading-to-v0-16.md#asdf-global-and-asdf-local-commands-have-been-replaced-with-asdf-set) on January 29.
Closed with https://github.com/dojoengine/book/commit/4e73f454b3ecec0fc6b44be96929a7fb7ed8da8a Thank you @EjembiEmmanuel for bringing this up!