Skip to content

Conversation

@TucksonDev
Copy link
Contributor

@TucksonDev TucksonDev commented Dec 18, 2025

This PR builds on top of #144 , updating the verification of the deployed contracts, so it's all encapsulated at the end of the deployment process.

All verification functions are part of the ContractVerifier class, which manages queuing verification requests and triggering them all at once.

This PR is a cleaner version of #115

}

// Helper function to encode constructor arguments based on their types
function abiEncodeConstructorArguments(args: any[]): string {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crafted this function to avoid having to pass the types of arguments for verification.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice

readonly contractToSource = {
l1TokenBridgeCreatorProxyAdmin: this.PROXY_ADMIN,
l1TokenBridgeCreatorLogic:
ProxyAdmin: this.PROXY_ADMIN,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the keys of this object to use directly the name of the contract instead of custom keys (since these are not used anymore in the calling function)

@TucksonDev TucksonDev marked this pull request as ready for review December 19, 2025 16:45
}

// Helper function to encode constructor arguments based on their types
function abiEncodeConstructorArguments(args: any[]): string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice

Copy link
Contributor

@godzillaba godzillaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM besides the one comment

@TucksonDev TucksonDev changed the base branch from deployment-with-create2 to develop December 23, 2025 16:54
@TucksonDev TucksonDev merged commit 6f1c77f into develop Dec 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants