Skip to content

Conversation

suchapalaver
Copy link
Collaborator

Problem: The tap-agent was crashing because it tried to create the escrow_accounts_v2 channel before checking if Horizon (V2) was active. Since V2 is not active, the network subgraph doesn't have the paymentsEscrowAccounts field, causing the GraphQL query to fail.

Thanks @rotarur fr reporting!

@suchapalaver suchapalaver marked this pull request as ready for review July 16, 2025 18:01
@suchapalaver suchapalaver force-pushed the suchapalaver/fix/fall-back-to-v1-only-when-horizon-not-active branch from 7bcacfc to a2231b1 Compare July 16, 2025 18:03
@coveralls
Copy link

Pull Request Test Coverage Report for Build 16326866236

Details

  • 0 of 11 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 69.497%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/tap-agent/src/agent.rs 0 11 0.0%
Totals Coverage Status
Change from base Build 16276268334: 0.04%
Covered Lines: 9004
Relevant Lines: 12956

💛 - Coveralls

@suchapalaver suchapalaver merged commit e15ea7a into main Jul 16, 2025
12 checks passed
@suchapalaver suchapalaver deleted the suchapalaver/fix/fall-back-to-v1-only-when-horizon-not-active branch July 16, 2025 19:06
@github-actions github-actions bot mentioned this pull request Jul 16, 2025
false,
)
.await
.expect("Error creating escrow_accounts_v2 channel")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a reasonable crash as it's a feature mismatch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants