Skip to content

Commit 30876a2

Browse files
mickvandijkeclaude
andcommitted
fix: resolve rebase conflicts with main branch
Add missing `local_close_group` argument to `verify_payment` calls in replication handlers and the merkle underpayment test, and remove stale conflict marker from handler.rs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 025cdd3 commit 30876a2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/payment/verifier.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,9 @@ mod tests {
19721972
verifier.pool_cache.lock().put(pool_hash, info);
19731973
}
19741974

1975-
let result = verifier.verify_payment(&xorname, Some(&tagged_proof)).await;
1975+
let result = verifier
1976+
.verify_payment(&xorname, Some(&tagged_proof), &[])
1977+
.await;
19761978

19771979
assert!(
19781980
result.is_err(),

src/replication/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ async fn handle_fresh_offer(
10591059

10601060
// Gap 1: Validate PoP via PaymentVerifier.
10611061
match payment_verifier
1062-
.verify_payment(&offer.key, Some(&offer.proof_of_payment))
1062+
.verify_payment(&offer.key, Some(&offer.proof_of_payment), &[])
10631063
.await
10641064
{
10651065
Ok(status) if status.can_store() => {
@@ -1174,7 +1174,7 @@ async fn handle_paid_notify(
11741174

11751175
// Gap 1: Validate PoP via PaymentVerifier.
11761176
match payment_verifier
1177-
.verify_payment(&notify.key, Some(&notify.proof_of_payment))
1177+
.verify_payment(&notify.key, Some(&notify.proof_of_payment), &[])
11781178
.await
11791179
{
11801180
Ok(status) if status.can_store() => {

src/storage/handler.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ pub struct AntProtocol {
5757
/// Quote generator for creating storage quotes.
5858
/// Also handles merkle candidate quote signing via ML-DSA-65.
5959
quote_generator: Arc<QuoteGenerator>,
60-
<<<<<<< HEAD
61-
/// Channel for notifying the replication engine about newly-stored chunks.
6260
/// Channel for notifying the replication engine about newly-stored chunks.
6361
fresh_write_tx: Option<mpsc::UnboundedSender<FreshWriteEvent>>,
6462
/// P2P node for local close-group lookups during quote and payment

0 commit comments

Comments
 (0)