diff --git a/aggregator/internal/pkg/aggregator.go b/aggregator/internal/pkg/aggregator.go index 47cfdedc8..35403ebdd 100644 --- a/aggregator/internal/pkg/aggregator.go +++ b/aggregator/internal/pkg/aggregator.go @@ -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) diff --git a/operator/mina/lib/src/lib.rs b/operator/mina/lib/src/lib.rs index ad5dae273..67c55e8ca 100644 --- a/operator/mina/lib/src/lib.rs +++ b/operator/mina/lib/src/lib.rs @@ -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