Skip to content

Delete spans backfill#344

Merged
avalkov merged 5 commits intodevelopfrom
avalkov/Delete-spans-backfill
Aug 6, 2025
Merged

Delete spans backfill#344
avalkov merged 5 commits intodevelopfrom
avalkov/Delete-spans-backfill

Conversation

@avalkov
Copy link
Copy Markdown
Contributor

@avalkov avalkov commented Jul 8, 2025

Description

Delete spans backfill logic.

@kamuikatsurgi kamuikatsurgi requested a review from Copilot July 22, 2025 09:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the backfill spans functionality from the codebase, including related message types, handlers, and supporting infrastructure. The backfill feature was used to synchronize spans between Heimdall and Bor when Heimdall was down and Bor self-committed spans.

  • Deletes MsgBackfillSpans message type and its handlers
  • Removes backfill logic from the span processor
  • Eliminates supporting utility functions and tests

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
x/bor/types/util_test.go Complete deletion of test file for CalcCurrentBorSpanId function
x/bor/types/msg.go Removes MsgBackfillSpans message type and constructor
x/bor/keeper/side_msg_server.go Simplifies backfill handler to always return Vote_VOTE_NO
x/bor/grpc/query.go Removes GetStartBlockHeimdallSpanID gRPC client method
x/bor/client/cli/tx.go Deletes CLI command for backfill spans transactions
helper/mocks/i_contract_caller.go Removes mock for GetStartBlockHeimdallSpanID interface method
helper/call.go Removes contract caller interface method and implementation
bridge/processor/span.go Removes backfill logic from span processor and simplifies flow

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Aug 6, 2025

@avalkov avalkov merged commit 222eb9a into develop Aug 6, 2025
11 checks passed
@shanb1605
Copy link
Copy Markdown

@avalkov So, New logic won't be implemented or backfilling spans won't be supported forever in upcoming release?

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.

5 participants