storyprotocol / protocol-periphery-v1

Periphery contract for story protocol, mainnet repo
MIT License
11 stars 13 forks source link

feat(deploy): add `DeployHelper` script and refactor deployment script #52

Closed sebsadface closed 1 week ago

sebsadface commented 1 week ago

Description:

This PR lays the groundwork for integration tests. It refactors the periphery contract deployment logic into a reusable DeployHelper script to be used in integration tests.

Key changes include:

Test Plan:

The updated deploy script was tested by deploying the periphery contracts on the testnet. All contracts were successfully deployed through the script, confirming it operates as expected.

Related Issue:

sebsadface commented 1 week ago

LGTM. Please address the comment and commit.

For the submodule forge-std, we actually don't need to checkin files into repo. this is a legacy issue, please fix in this PR or next.

Will fix this in the next PR