Skip to content

Commit 7d4e331

Browse files
committed
fix: keccakMmrRoot
1 parent c85b733 commit 7d4e331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hdp-verifier/src/DataProcessor.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ contract DataProcessor {
5353
function cacheMmrRoot(uint256 mmrId) public {
5454
ISharpFactsAggregator aggregator = AGGREGATORS_FACTORY.aggregatorsById(mmrId);
5555
ISharpFactsAggregator.AggregatorState memory aggregatorState = aggregator.aggregatorState();
56-
cachedMMRsRoots[mmrId][aggregatorState.mmrSize] = aggregatorState.poseidonMmrRoot;
56+
cachedMMRsRoots[mmrId][aggregatorState.mmrSize] = aggregatorState.keccakMmrRoot;
5757

58-
emit MmrRootCached(mmrId, aggregatorState.mmrSize, aggregatorState.poseidonMmrRoot);
58+
emit MmrRootCached(mmrId, aggregatorState.mmrSize, aggregatorState.keccakMmrRoot);
5959
}
6060

6161
/// @notice The entrypoint for verifying the proof of a dataProcessor number.

0 commit comments

Comments
 (0)