Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/PDPVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ contract PDPVerifier is Initializable, UUPSUpgradeable, OwnableUpgradeable {
//
// (add 32 bytes to the `callDataSize` to also account for the `setId` calldata param)
uint256 refund = calculateAndBurnProofFee(setId);
dataSetLastProvenEpoch[setId] = block.number;

{
address listenerAddr = dataSetListener[setId];
Expand All @@ -678,7 +679,6 @@ contract PDPVerifier is Initializable, UUPSUpgradeable, OwnableUpgradeable {
}
}

dataSetLastProvenEpoch[setId] = block.number;
emit PossessionProven(setId, challenges);

// Return the overpayment after doing everything else to avoid re-entrancy issues (all state has been updated by this point). If this
Expand Down
Loading