Skip to content

Commit

Permalink
Merge pull request #44 from Layr-Labs/epociask--chore-add-eigenda-del…
Browse files Browse the repository at this point in the history
…ay-buffer-tests

chore: Add delay buffer tests for EigenDA inbox entry-point
  • Loading branch information
EthenNotEthan authored Jan 23, 2025
2 parents 9d02c43 + a704432 commit f8a034c
Show file tree
Hide file tree
Showing 4 changed files with 669 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bridge/SequencerInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,11 @@ contract SequencerInbox is DelegateCallAware, GasRefundEnabled, ISequencerInbox
revert BadSequencerNumber(seqMessageIndex, sequenceNumber);
}

if (!isUsingFeeToken) {
// only report batch poster spendings if chain is using ETH as native currency
submitBatchSpendingReport(dataHash, seqMessageIndex, block.basefee, 0);
}

emit SequencerBatchDelivered(
seqMessageIndex,
beforeAcc,
Expand Down
Loading

0 comments on commit f8a034c

Please sign in to comment.