Skip to content

Commit 61624d9

Browse files
glpecileuri-99entropidelic
authored
fix(explorer): show correct cost per proof and remove inspects (yetanotherco#830)
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com> Co-authored-by: Mariano A. Nicolini <mariano.nicolini.91@gmail.com>
1 parent 288db9e commit 61624d9

27 files changed

Lines changed: 707 additions & 139 deletions

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
@@ -21,9 +21,9 @@ contract BatcherPaymentService is
2121
// EVENTS
2222
event PaymentReceived(address indexed sender, uint256 amount);
2323
event FundsWithdrawn(address indexed recipient, uint256 amount);
24-
event TaskCreated(bytes32 indexed batchMerkleRoot, string batchDataPointer);
2524
event BalanceLocked(address indexed user);
2625
event BalanceUnlocked(address indexed user, uint256 unlockBlock);
26+
event TaskCreated(bytes32 indexed batchMerkleRoot, uint256 feePerProof);
2727

2828
// ERRORS
2929
error OnlyBatcherAllowed(address caller); // 152bc288
@@ -162,7 +162,7 @@ contract BatcherPaymentService is
162162
batchDataPointer
163163
);
164164

165-
emit TaskCreated(batchMerkleRoot, batchDataPointer);
165+
emit TaskCreated(batchMerkleRoot, feePerProof);
166166

167167
payable(batcherWallet).transfer(
168168
(feePerProof * signaturesQty) - feeForAggregator

0 commit comments

Comments
 (0)