From 5f875e464502d2fc33b5099d2c7cbdb80286d65a Mon Sep 17 00:00:00 2001 From: zorzal Date: Thu, 31 Oct 2024 12:04:44 -0400 Subject: [PATCH] chore: run linter --- .../BondEscalationResolutionModule.sol | 16 ++++++++++++++-- .../modules/dispute/BondEscalationModule.t.sol | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol b/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol index 19921b3..9c21fa1 100644 --- a/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol +++ b/solidity/contracts/modules/resolution/BondEscalationResolutionModule.sol @@ -80,7 +80,13 @@ contract BondEscalationResolutionModule is AccessControllerModule, IBondEscalati _accessControl ) { - _pledge(_request, _dispute, _pledgeAmount, true, _accessControl.user); + _pledge({ + _request: _request, + _dispute: _dispute, + _pledgeAmount: _pledgeAmount, + _pledgingFor: true, + _pledger: _accessContro.user + }); } /// @inheritdoc IBondEscalationResolutionModule @@ -98,7 +104,13 @@ contract BondEscalationResolutionModule is AccessControllerModule, IBondEscalati _accessControl ) { - _pledge(_request, _dispute, _pledgeAmount, false, _accessControl.user); + _pledge({ + _request: _request, + _dispute: _dispute, + _pledgeAmount: _pledgeAmount, + _pledgingFor: false, + _pledger: _accessContro.user + }); } /// @inheritdoc IResolutionModule diff --git a/solidity/test/unit/modules/dispute/BondEscalationModule.t.sol b/solidity/test/unit/modules/dispute/BondEscalationModule.t.sol index e9a07c2..af4ea0a 100644 --- a/solidity/test/unit/modules/dispute/BondEscalationModule.t.sol +++ b/solidity/test/unit/modules/dispute/BondEscalationModule.t.sol @@ -1559,7 +1559,7 @@ contract BondEscalationModule_Unit_SettleBondEscalation is BaseTest { } contract BondEscalationModule_Unit_AccessControl is BaseTest { - address _accessControlModule = makeAddr('accessControlModule'); + address internal _accessControlModule = makeAddr('accessControlModule'); function setUp() public override { mockRequest.accessControlModule = _accessControlModule;