Skip to content

Commit 2d651e5

Browse files
committed
chore: linting shenanigans
Signed-off-by: Tomás Migone <[email protected]>
1 parent 9511e19 commit 2d651e5

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

packages/horizon/ignition/modules/migrate/migrate-4.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ export default buildModule('GraphHorizon_Migrate_4', (m) => {
1515
const disputeManagerAddress = m.getParameter('disputeManagerAddress')
1616
const controllerAddress = m.getParameter('controllerAddress')
1717
const Controller = m.contractAt('Controller', ControllerArtifact, controllerAddress)
18-
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('DisputeManager')), disputeManagerAddress], {
19-
id: 'setContractProxy_DisputeManager',
20-
})
18+
m.call(
19+
Controller,
20+
'setContractProxy',
21+
[ethers.keccak256(ethers.toUtf8Bytes('DisputeManager')), disputeManagerAddress],
22+
{
23+
id: 'setContractProxy_DisputeManager',
24+
},
25+
)
2126

2227
return {}
2328
})

packages/horizon/ignition/modules/periphery/periphery.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,14 @@ export default buildModule('GraphHorizon_Periphery', (m) => {
4747
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('GNS')), L2GNS], {
4848
id: 'setContractProxy_L2GNS',
4949
})
50-
m.call(Controller, 'setContractProxy', [ethers.keccak256(ethers.toUtf8Bytes('DisputeManager')), disputeManagerAddress], {
51-
id: 'setContractProxy_DisputeManager',
52-
})
50+
m.call(
51+
Controller,
52+
'setContractProxy',
53+
[ethers.keccak256(ethers.toUtf8Bytes('DisputeManager')), disputeManagerAddress],
54+
{
55+
id: 'setContractProxy_DisputeManager',
56+
},
57+
)
5358

5459
return {
5560
Controller,

packages/horizon/tasks/deploy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,11 @@ function _patchStepConfig<ChainId extends number, ContractName extends string, H
167167
// Dispute manager address book might exist if we are running horizon + subgraph service
168168
// or it might not exist if we are running horizon standalone
169169
function getDisputeManagerAddress() {
170-
if (subgraphServiceAddressBook === undefined || !subgraphServiceAddressBook.entryExists('DisputeManager') || standalone) {
170+
if (
171+
subgraphServiceAddressBook === undefined ||
172+
!subgraphServiceAddressBook.entryExists('DisputeManager') ||
173+
standalone
174+
) {
171175
return ZERO_ADDRESS
172176
}
173177
return subgraphServiceAddressBook.getEntry('DisputeManager').address ?? ZERO_ADDRESS

0 commit comments

Comments
 (0)