Skip to content

feat: deployOsp script#367

Merged
gzeoneth merged 33 commits intodevelopfrom
deterministic-factory-deployments-osp
Nov 17, 2025
Merged

feat: deployOsp script#367
gzeoneth merged 33 commits intodevelopfrom
deterministic-factory-deployments-osp

Conversation

@gzeoneth
Copy link
Member

@gzeoneth gzeoneth commented Jul 7, 2025

For use with #357 later, should revert 0c6ae28 and 7933dcc

@cla-bot cla-bot bot added the s label Jul 7, 2025
@gzeoneth gzeoneth requested a review from Copilot July 7, 2025 19:13

This comment was marked as outdated.

@gzeoneth gzeoneth force-pushed the deterministic-factory-deployments-osp branch from 6c05772 to fdd217d Compare July 7, 2025 19:20
@gzeoneth gzeoneth requested a review from Copilot July 7, 2025 19:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds a new deployment script to automate the OneStepProofEntry contract deployment.

  • Introduces deployOsp.ts under /scripts to deploy OneStepProofEntry and its dependencies
  • Reads CUSTOM_DA_VALIDATOR and DISABLE_VERIFICATION from environment for configuration
  • Logs deployer info, network, and warns if the custom validator has no code
Comments suppressed due to low confidence (3)

scripts/deployOsp.ts:37

  • [nitpick] The osp property in the deployment result is short for OneStepProofEntry; consider using a more descriptive name like proofEntry for clarity.
  console.log('OneStepProofEntry:', deployment.osp.address)

scripts/deployOsp.ts:1

  • [nitpick] Add a header comment or README link explaining how to run this script and documenting the expected environment variables (CUSTOM_DA_VALIDATOR, DISABLE_VERIFICATION).
import { ethers } from 'hardhat'

scripts/deployOsp.ts:9

  • [nitpick] Consider validating that CUSTOM_DA_VALIDATOR is a valid Ethereum address using ethers.utils.isAddress before using it to fetch code.
    process.env.CUSTOM_DA_VALIDATOR || ethers.constants.AddressZero

@gzeoneth gzeoneth force-pushed the deterministic-factory-deployments-osp branch from 2471fa9 to ca42e86 Compare July 17, 2025 05:53
@gzeoneth gzeoneth changed the base branch from deterministic-factory-deployments-parallel to deterministic-factory-deployments July 18, 2025 03:40
Base automatically changed from deterministic-factory-deployments to develop September 9, 2025 19:31
@gzeoneth gzeoneth requested review from a team and Copilot November 14, 2025 18:33
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@TucksonDev TucksonDev left a comment

Choose a reason for hiding this comment

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

LGTM

@gzeoneth gzeoneth merged commit 4abf3a5 into develop Nov 17, 2025
12 checks passed
@gzeoneth gzeoneth deleted the deterministic-factory-deployments-osp branch November 17, 2025 16:47
@gzeoneth gzeoneth mentioned this pull request Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants