Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce lisk sepolia #322

Merged
merged 1 commit into from
Feb 7, 2025
Merged

feat: introduce lisk sepolia #322

merged 1 commit into from
Feb 7, 2025

Conversation

juliopavila
Copy link
Collaborator

Description:

This PR adds support for the Lisk Sepolia testnet in Hardhat configuration. The newly introduced network allows deploying and verifying smart contracts on Lisk's Sepolia blockchain.

Changes:

  • Added lisk-sepolia network configuration to hardhat.config.ts.
  • Included lisk-sepolia under the etherscan.apiKey configuration using a placeholder key.
  • Extended customChains configuration to support contract verification for Lisk Sepolia.

Deployment and Verification:

The following contracts were successfully deployed on Lisk Sepolia:

Verification Issues and Solution:

While verifying the Roles contract, an issue arose when using the standard Hardhat verification process. The verification failed due to inconsistencies in the default Hardhat plugin.

To resolve this, Forge was used for verification, and the following command successfully verified the contract:

forge verify-contract \
  --rpc-url https://rpc.sepolia-api.lisk.com \
  --verifier blockscout \
  --verifier-url 'https://sepolia-blockscout.lisk.com/api' \
  --compiler-version 0.8.21 \
  --root packages/evm \
  0x9646fDAD06d3e24444381f44362a3B0eB343D337 \
  contracts/Roles.sol:Roles

Verification response:

Submitted contract for verification:
        Response: `OK`
        GUID: `9646fdad06d3e24444381f44362a3b0eb343d33767a38919`
        URL: https://sepolia-blockscout.lisk.com/address/0x9646fdad06d3e24444381f44362a3b0eb343d337

This issue has been documented to ensure a smooth verification process for future deployments on Lisk Sepolia.

References:

Copy link

vercel bot commented Feb 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zodiac-roles-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 3:59pm
zodiac-roles-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 3:59pm

@juliopavila juliopavila changed the title feat: introduce sepolia lisk feat: introduce lisk sepolia Feb 5, 2025
@jfschwarz jfschwarz merged commit 6fd9752 into main Feb 7, 2025
5 checks passed
@jfschwarz jfschwarz deleted the feat_add_sepolia_lisk branch February 7, 2025 11:22
@github-actions github-actions bot locked and limited conversation to collaborators Feb 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants