Skip to content

Commit

Permalink
Merge pull request #27 from lambdaclass/fix_ledger_hash_comparison
Browse files Browse the repository at this point in the history
Fix Ledger hashes comparison
  • Loading branch information
gabrielbosio authored Sep 9, 2024
2 parents 216b65a + 122a6ab commit 6b062a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aggregator/internal/pkg/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (agg *Aggregator) handleBlsAggServiceResponse(blsAggServiceResp blsagg.BlsA
"batchIdentifierHash", "0x"+hex.EncodeToString(batchIdentifierHash[:]))

for i := 0; i < MaxSentTxRetries; i++ {
_, err = agg.sendAggregatedResponse(batchData.BatchMerkleRoot, batchData.SenderAddress, nonSignerStakesAndSignature)
receipt, err := agg.sendAggregatedResponse(batchData.BatchMerkleRoot, batchData.SenderAddress, nonSignerStakesAndSignature)
if err == nil {
agg.logger.Info("Gas cost used to send aggregated response", "gasUsed", receipt.GasUsed)

Expand Down
6 changes: 3 additions & 3 deletions operator/mina/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ fn check_pub_inputs(
&state
.body
.blockchain_state
.staged_ledger_hash
.non_snark
.ledger_hash
.ledger_proof_statement
.target
.first_pass_ledger
});
if pub_inputs
.candidate_chain_ledger_hashes
Expand Down

0 comments on commit 6b062a7

Please sign in to comment.