Deploy script is trying to deploy to wrong chains #52
Labels
bug
Something isn't working
downgraded by judge
Judge downgraded the risk level of this issue
duplicate-22
edited-by-warden
grade-b
Q-09
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
🤖_22_group
AI based duplicate group recommendation
sufficient quality report
This report is of sufficient quality
Lines of code
https://github.com/code-423n4/2024-10-kleidi/blob/ab89bcb443249e1524496b694ddb19e298dca799/src/deploy/SystemDeploy.s.sol#L23-L26
Vulnerability details
Proof of Concept
In the README file, the protocol states that the system deployment will be deployed to Arbitrum, Ethereum Mainnet, Base, Optimism Mainnet.
In Kleidi protocol the deploy script is also in the scope in this contest. But the deploy script is using wrong chain id's in the constructor and deployment won't work on Optimism and Arbitrum.
And the provided deployment command won't work in Optimism and Arbitrum.
Because in validation it will revert.
Recommended Mitigation Steps
Swap the correct chainIds with the wrong chainIds.
Assessed type
Context
The text was updated successfully, but these errors were encountered: