Skip to content

PLEX-3129 EVM LP allow to fast forward to a block#2237

Merged
ilija42 merged 4 commits into
mainfrom
feature/PLEX-3129-lp-skip-block
Jul 15, 2026
Merged

PLEX-3129 EVM LP allow to fast forward to a block#2237
ilija42 merged 4 commits into
mainfrom
feature/PLEX-3129-lp-skip-block

Conversation

@dhaidashenko

@dhaidashenko dhaidashenko commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

core ref: 9587a5a7f45302e3beb3d36c72fa6263f41450fa

Copilot AI review requested due to automatic review settings July 10, 2026 15:29
@dhaidashenko dhaidashenko requested review from a team as code owners July 10, 2026 15:29
@github-actions

Copy link
Copy Markdown
Contributor

👋 dhaidashenko, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

⚠️ API Diff Results - github.com/smartcontractkit/chainlink-common

⚠️ Breaking Changes (2)

pkg/chains/evm.EVMClient (1)
  • LPSkipToBlock — ➕ Added
pkg/types.EVMService (1)
  • LPSkipToBlock — ➕ Added

✅ Compatible Changes (8)

pkg/chains/evm (2)
  • EVM_LPSkipToBlock_FullMethodName — ➕ Added

  • LPSkipToBlockRequest — ➕ Added

pkg/chains/evm.EVMServer (1)
  • LPSkipToBlock — ➕ Added
pkg/chains/evm.UnimplementedEVMServer (1)
  • LPSkipToBlock — ➕ Added
pkg/types.(*UnimplementedEVMService) (1)
  • LPSkipToBlock — ➕ Added
pkg/types/mocks (1)
  • EVMService_LPSkipToBlock_Call — ➕ Added
pkg/types/mocks.(*EVMService) (1)
  • LPSkipToBlock — ➕ Added
pkg/types/mocks.(*EVMService_Expecter) (1)
  • LPSkipToBlock — ➕ Added

📄 View full apidiff report

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an EVM Loop/gRPC API for advancing the Log Poller’s internal position to a specified block (“skip/fast-forward”), wiring it through the public types.EVMService interface, relayer gRPC server/client shims, and generated protobuf code.

Changes:

  • Extended types.EVMService with LPSkipToBlock(ctx, blockNumber) and added an Unimplemented stub.
  • Added LPSkipToBlock unary RPC + LPSkipToBlockRequest to the EVM protobuf service and regenerated evm.pb.go / evm_grpc.pb.go.
  • Updated Loop relayer and relayerset EVM gRPC client/server plumbing and updated the EVMService mock.

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
pkg/types/relayer.go Adds LPSkipToBlock to the public EVM service interface + unimplemented stub.
pkg/types/mocks/evm_service.go Updates the autogenerated mock to include LPSkipToBlock.
pkg/loop/internal/relayerset/evm.go Wires LPSkipToBlock through the relayerset EVM client/server adapters.
pkg/loop/internal/relayer/evm.go Adds EVMClient.LPSkipToBlock and the gRPC server implementation method.
pkg/chains/evm/evm.proto Adds the LPSkipToBlock RPC and request message to the EVM service definition.
pkg/chains/evm/evm.pb.go Regenerated protobuf message/service bindings to include LPSkipToBlockRequest.
pkg/chains/evm/evm_grpc.pb.go Regenerated gRPC client/server bindings to include LPSkipToBlock.
Files not reviewed (3)
  • pkg/chains/evm/evm.pb.go: Generated file
  • pkg/chains/evm/evm_grpc.pb.go: Generated file
  • pkg/types/mocks/evm_service.go: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/types/relayer.go
Comment on lines +306 to +309
func (e *EVMClient) LPSkipToBlock(ctx context.Context, blockNumber int64) error {
_, err := e.grpcClient.LPSkipToBlock(ctx, &evmpb.LPSkipToBlockRequest{BlockNumber: blockNumber})
return net.WrapRPCErr(err)
}

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 8 changed files in this pull request and generated 4 comments.

Files not reviewed (3)
  • pkg/chains/evm/evm.pb.go: Generated file
  • pkg/chains/evm/evm_grpc.pb.go: Generated file
  • pkg/types/mocks/evm_service.go: Generated file

Comment thread pkg/types/relayer.go
Comment thread pkg/loop/internal/relayerset/evm.go
Comment thread pkg/loop/internal/relayer/evm.go
Comment thread pkg/chains/evm/evm.proto
@dhaidashenko dhaidashenko force-pushed the feature/PLEX-3129-lp-skip-block branch from 3fa7ac8 to bd55996 Compare July 14, 2026 11:36
@ilija42 ilija42 added this pull request to the merge queue Jul 15, 2026
Merged via the queue into main with commit 8219609 Jul 15, 2026
30 of 32 checks passed
@ilija42 ilija42 deleted the feature/PLEX-3129-lp-skip-block branch July 15, 2026 15:09
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