Skip to content

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

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?
https://github.com/OffchainLabs/arbitrum-orbit-sdk/blob/d6ccb3b95c8bf397b71c2a85185668e12520f657/src/feeRouterDeployChildToParentRewardRouter.ts#L12

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