Skip to content

Commit 31019a9

Browse files
uri-99JuArce
andauthored
feat(contract): add amount_of_proofs in TaskCreated event (#1774)
Co-authored-by: JuArce <[email protected]>
1 parent f009da5 commit 31019a9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

batcher/aligned-sdk/abi/BatcherPaymentService.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/src/core/BatcherPaymentService.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ contract BatcherPaymentService is
2222
event FundsWithdrawn(address indexed recipient, uint256 amount);
2323
event BalanceLocked(address indexed user);
2424
event BalanceUnlocked(address indexed user, uint256 unlockBlockTime);
25-
event TaskCreated(bytes32 indexed batchMerkleRoot, uint256 feePerProof);
25+
event TaskCreated(bytes32 indexed batchMerkleRoot, uint256 feePerProof, uint256 amountOfProofs);
2626

2727
// ERRORS
2828
error OnlyBatcherAllowed(address caller); // 152bc288
@@ -132,7 +132,7 @@ contract BatcherPaymentService is
132132
respondToTaskFeeLimit
133133
);
134134

135-
emit TaskCreated(batchMerkleRoot, feePerProof);
135+
emit TaskCreated(batchMerkleRoot, feePerProof, proofSubmittersQty);
136136

137137
payable(batcherWallet).transfer(
138138
(feePerProof * proofSubmittersQty) - feeForAggregator

explorer/lib/abi/BatcherPaymentService.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)