ChainSecurity / deployment_validation

Deployment Validation Files aim to simplify Deployment Validation of Smart Contracts
GNU Affero General Public License v3.0
22 stars 1 forks source link

Ignore init_code of sub-contracts and not deployed bytecode #18

Open stiefn opened 2 months ago

stiefn commented 2 months ago

When we compare the onchain bytecode with the project bytecode, we ignore the (deployed) bytecode of the child contract if it is a factory. But we should ignore the init_bytecode as this is part of the provided factory bytecode..

That can be an issue for child contracts that are deployed during the deployment of the factory.