Skip to content

Unable to verify ArbChildToParentRewardRouter contract after using SDK to deploy #232

@antonio-altr

Description

@antonio-altr

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions