contracts-bedrock: refactor Initializable.t.sol (#8911)
* contracts-bedrock: update Deployer's loadInitializedSlot if contract is a proxy, it now gets the implementation address using either EIP1967Helper or AddressManager (for ResolvedDelegateProxy) * contracts-bedrock: drop isProxy argument of loadInitializedSlot * contracts-bedrock: improve logic in loadInitializedSlot * contracts-bedrock: add tests in Initializable.t.sol for L1 implementations * contracts-bedrock: update logic in Initializable.t.sol to count implementations in assertion * forge install: solady v0.0.158 * contracts-bedrock: add solady to foundry.toml remappings * contracts-bedrock: drop vendor of solady sort * contracts-bedrock: use solady LibString in loadInitializedSlot * contracts-bedrock: define constants in EIP1967Helper and drop Constants import this allows us to not have to update the version of Arithmetic, ResourceMetering, and Burn, which would otherwise clash with Deployer.sol * contracts-bedrock: use interface for AddressManager instead of updating version directly * contracts-bedrock: use native solidity concat in loadInitializedSlot * op-bindings: make for MIP, PreimageOracle, and WETH9
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment