Skip to content

Commit

Permalink
fix(explorer): show correct cost per proof and remove inspects (#830)
Browse files Browse the repository at this point in the history
Co-authored-by: Urix <43704209+uri-99@users.noreply.github.com>
Co-authored-by: Mariano A. Nicolini <mariano.nicolini.91@gmail.com>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent 288db9e commit 61624d9
Show file tree
Hide file tree
Showing 27 changed files with 707 additions and 139 deletions.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions contracts/src/core/BatcherPaymentService.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ contract BatcherPaymentService is
// EVENTS
event PaymentReceived(address indexed sender, uint256 amount);
event FundsWithdrawn(address indexed recipient, uint256 amount);
event TaskCreated(bytes32 indexed batchMerkleRoot, string batchDataPointer);
event BalanceLocked(address indexed user);
event BalanceUnlocked(address indexed user, uint256 unlockBlock);
event TaskCreated(bytes32 indexed batchMerkleRoot, uint256 feePerProof);

// ERRORS
error OnlyBatcherAllowed(address caller); // 152bc288
Expand Down Expand Up @@ -162,7 +162,7 @@ contract BatcherPaymentService is
batchDataPointer
);

emit TaskCreated(batchMerkleRoot, batchDataPointer);
emit TaskCreated(batchMerkleRoot, feePerProof);

payable(batcherWallet).transfer(
(feePerProof * signaturesQty) - feeForAggregator
Expand Down
Loading

0 comments on commit 61624d9

Please sign in to comment.