Commit 45e1bd22 authored by Maurelian's avatar Maurelian Committed by GitHub

ctb: Fix compiler warnings (#10513)

parent 043ee4d3
...@@ -29,7 +29,7 @@ contract DeployOwnershipTest is Test, DeployOwnership { ...@@ -29,7 +29,7 @@ contract DeployOwnershipTest is Test, DeployOwnership {
run(); run();
} }
function _checkSafeConfig(SafeConfig memory _safeConfig, Safe _safe) internal { function _checkSafeConfig(SafeConfig memory _safeConfig, Safe _safe) internal view {
assertEq(_safe.getThreshold(), _safeConfig.threshold); assertEq(_safe.getThreshold(), _safeConfig.threshold);
address[] memory safeOwners = _safe.getOwners(); address[] memory safeOwners = _safe.getOwners();
...@@ -77,7 +77,6 @@ contract DeployOwnershipTest is Test, DeployOwnership { ...@@ -77,7 +77,6 @@ contract DeployOwnershipTest is Test, DeployOwnership {
// DeputyGuardianModule checks // DeputyGuardianModule checks
DeputyGuardianModuleConfig memory dgmConfig = exampleSecurityCouncilConfig.deputyGuardianModuleConfig; DeputyGuardianModuleConfig memory dgmConfig = exampleSecurityCouncilConfig.deputyGuardianModuleConfig;
SuperchainConfig superchainConfig = SuperchainConfig(mustGetAddress("SuperchainConfig"));
assertEq(DeputyGuardianModule(deputyGuardianModule).deputyGuardian(), dgmConfig.deputyGuardian); assertEq(DeputyGuardianModule(deputyGuardianModule).deputyGuardian(), dgmConfig.deputyGuardian);
assertEq( assertEq(
address(DeputyGuardianModule(deputyGuardianModule).superchainConfig()), address(dgmConfig.superchainConfig) address(DeputyGuardianModule(deputyGuardianModule).superchainConfig()), address(dgmConfig.superchainConfig)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment