Skip to content

Commit 3980e4b

Browse files
committed
added sharpFactsAggregatorAddress to the legacy evm aggregator load event
1 parent d5f977e commit 3980e4b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

src/interfaces/modules/growing/ILegacyContractsInteractionModule.sol

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,12 @@ interface ILegacyContractsInteractionModule {
1313
uint256 aggregatedChainId;
1414
}
1515

16-
event LegacyEvmAggregatorMmrLoaded(RootForHashingFunction[] rootsForHashingFunctions, uint256 size, uint256 newMmrId, uint256 legacyMmrId, uint256 aggregatedChainId);
16+
event LegacyEvmAggregatorMmrLoadedV2(
17+
RootForHashingFunction[] rootsForHashingFunctions,
18+
uint256 size,
19+
uint256 newMmrId,
20+
uint256 legacyMmrId,
21+
uint256 aggregatedChainId,
22+
address sharpFactsAggregatorAddress
23+
);
1724
}

src/modules/growing/LegacyContractsInteractionModule.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ contract LegacyContractsInteractionModule is ILegacyContractsInteractionModule,
5858
rootsForHashingFunctions[1].root = keccakRoot;
5959
rootsForHashingFunctions[1].hashingFunction = KECCAK_HASHING_FUNCTION;
6060

61-
emit LegacyEvmAggregatorMmrLoaded(rootsForHashingFunctions, size, newMmrId, legacyMmrId, ms.aggregatedChainId);
61+
emit LegacyEvmAggregatorMmrLoadedV2(rootsForHashingFunctions, size, newMmrId, legacyMmrId, ms.aggregatedChainId, sharpFactsAggregatorAddress);
6262
}
6363
}

0 commit comments

Comments
 (0)