When using the SDK function feeRouterDeployChildToParentRewardRouter.ts
to deploy ArbChildToParentRewardRouter, I am unable to successfully verify the contract when retrieving the Solidity files from @offchainlabs/fund-distribution-contracts.
On the other hand, when I use another tool (hardhat) to deploy the contract using those same Solidity files, I am able to successfully verify the deployed contract afterwards.
So I am thinking perhaps the JSON used by the SDK here does not exactly match the code?
|
import arbChildToParentRewardRouter from '@offchainlabs/fund-distribution-contracts/out/ArbChildToParentRewardRouter.sol/ArbChildToParentRewardRouter.json'; |
Or perhaps you can advise on the proper way to verify the contract deployed using the SDK. Thanks!