Skip to content

refactor: centralize broadcast retry in indexer service; replace IWalletOperations with IIndexerService in PublishInvestment#800

Merged
dangershony merged 3 commits intomainfrom
copilot/refactor-indexer-service-code
Apr 30, 2026
Merged

refactor: centralize broadcast retry in indexer service; replace IWalletOperations with IIndexerService in PublishInvestment#800
dangershony merged 3 commits intomainfrom
copilot/refactor-indexer-service-code

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 30, 2026

  • Remove PublishTransactionAsync(Network, Transaction) from IWalletOperations interface
  • Remove the implementation from WalletOperations class; inline the hex conversion into SendAmountToAddress so it calls _indexerService directly
  • Update AngornetMinerFaucet (test double) to use _indexerService.PublishTransactionAsync instead of _walletOperations
  • Update CreateInvestmentFromSpecificAddressIntegrationTests to use _realIndexerService directly
  • All 312 SDK tests and 142 shared tests pass

Copilot AI and others added 2 commits April 30, 2026 10:32
…alletOperations with IIndexerService in PublishInvestment

Agent-Logs-Url: https://github.com/block-core/angor/sessions/7fc8fc18-bc9a-4f0d-9639-2294de47ffeb

Co-authored-by: dangershony <7487930+dangershony@users.noreply.github.com>
…giving operator

Agent-Logs-Url: https://github.com/block-core/angor/sessions/7fc8fc18-bc9a-4f0d-9639-2294de47ffeb

Co-authored-by: dangershony <7487930+dangershony@users.noreply.github.com>
…ne publish into WalletOperations and update callers

Agent-Logs-Url: https://github.com/block-core/angor/sessions/02da3381-773f-4811-9cbd-6227c6de1e22

Co-authored-by: dangershony <7487930+dangershony@users.noreply.github.com>
Copilot AI requested a review from dangershony April 30, 2026 11:20
@dangershony dangershony marked this pull request as ready for review April 30, 2026 11:44
@dangershony dangershony merged commit b495e2a into main Apr 30, 2026
@dangershony dangershony deleted the copilot/refactor-indexer-service-code branch April 30, 2026 11:44
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.

2 participants