For the following:
pragma solidity >=0.5.0;
contract Include {
uint z = 1;
}
contract CreationCode {
uint k = 1;
function get() external returns (bytes32) {
return keccak256(type(Include).creationCode);
}
}
why does creationCode
for Include.sol change when changing k
, which is not a variable in Include.sol?