@@ -44,6 +44,7 @@ export default buildModule('HorizonStaking', (m) => {
44
44
artifact : HorizonStakingArtifact ,
45
45
} )
46
46
m . call ( HorizonStaking , 'setMaxThawingPeriod' , [ maxThawingPeriod ] )
47
+ m . call ( HorizonStaking , 'setAllowedLockedVerifier' , [ subgraphServiceAddress , true ] )
47
48
48
49
return { HorizonStaking, HorizonStakingImplementation }
49
50
} )
@@ -88,6 +89,7 @@ export const MigrateHorizonStakingGovernorModule = buildModule('HorizonStakingGo
88
89
const graphProxyAdminAddress = m . getParameter ( 'graphProxyAdminAddress' )
89
90
const horizonStakingAddress = m . getParameter ( 'horizonStakingAddress' )
90
91
const horizonStakingImplementationAddress = m . getParameter ( 'horizonStakingImplementationAddress' )
92
+ const subgraphServiceAddress = m . getParameter ( 'subgraphServiceAddress' )
91
93
92
94
const HorizonStakingImplementation = m . contractAt (
93
95
'HorizonStakingImplementation' ,
@@ -103,6 +105,7 @@ export const MigrateHorizonStakingGovernorModule = buildModule('HorizonStakingGo
103
105
artifact : HorizonStakingArtifact ,
104
106
} )
105
107
m . call ( HorizonStaking , 'setMaxThawingPeriod' , [ maxThawingPeriod ] )
108
+ m . call ( HorizonStaking , 'setAllowedLockedVerifier' , [ subgraphServiceAddress , true ] )
106
109
107
110
return { HorizonStaking, HorizonStakingImplementation }
108
111
} )
0 commit comments