File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/contracts/contracts/rewards Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,17 @@ contract SubgraphAvailabilityManager is Governed {
104
104
105
105
// Oracles should not be address zero
106
106
for (uint256 i = 0 ; i < _oracles.length ; i++ ) {
107
- require (_oracles[i] != address (0 ), "SAM: oracle cannot be address zero " );
107
+ address oracle = _oracles[i];
108
+ require (oracle != address (0 ), "SAM: oracle cannot be address zero " );
109
+ oracles[i] = oracle;
110
+ emit OracleSet (i, oracle);
108
111
}
109
112
110
113
Governed._initialize (_governor);
111
114
rewardsManager = IRewardsManager (_rewardsManager);
112
115
113
116
executionThreshold = _executionThreshold;
114
117
voteTimeLimit = _voteTimeLimit;
115
- oracles = _oracles;
116
118
}
117
119
118
120
// -- Functions --
You can’t perform that action at this time.
0 commit comments