Skip to content

Add per profile payload size for EVMTXGun load tests#1170

Queued
Farber98 wants to merge 1 commit into
mainfrom
juan/configurable-payload-size-evmtxgun
Queued

Add per profile payload size for EVMTXGun load tests#1170
Farber98 wants to merge 1 commit into
mainfrom
juan/configurable-payload-size-evmtxgun

Conversation

@Farber98

Copy link
Copy Markdown
Contributor

What

Adding configurable payload size per profile for EVMTXGun load tests.

Why

We need configurable arbitrary message payloads to exercise buffered execution under sustained RPS in Solana. CCV's profiles supports weighted selection but hardcodes 1000B for all has_data profiles which is not enough to trigger the use case.

@github-actions

Copy link
Copy Markdown

Code coverage report:

Package main juan/configurable-payload-size-evmtxgun Diff
github.com/smartcontractkit/chainlink-ccv/aggregator 49.33% 49.35% +0.02%
github.com/smartcontractkit/chainlink-ccv/bootstrap 52.96% 52.96% +0.00%
github.com/smartcontractkit/chainlink-ccv/cli 65.13% 65.13% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 15.54% 15.54% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 54.76% 54.80% +0.04%
github.com/smartcontractkit/chainlink-ccv/executor 45.97% 45.97% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 36.10% 36.05% -0.05%
github.com/smartcontractkit/chainlink-ccv/integration 45.89% 45.89% +0.00%
github.com/smartcontractkit/chainlink-ccv/pkg 84.62% 84.62% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 63.06% 63.06% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 34.48% 34.48% +0.00%
Total 46.30% 46.40% +0.10%

@Farber98 Farber98 marked this pull request as ready for review June 12, 2026 12:26
@Farber98 Farber98 requested a review from a team as a code owner June 12, 2026 12:26
Copilot AI review requested due to automatic review settings June 12, 2026 12:26

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 per-message-profile configurable payload sizes for EVMTXGun load tests by extending the TOML profile schema and routing payload sizing through a dedicated helper, enabling larger arbitrary message payloads to better exercise buffered execution under sustained RPS.

Changes:

  • Extend MessageProfileConfig with data_size_bytes to allow per-profile payload sizing (with default fallback).
  • Add MessageDataSizeBytes helper to centralize the sizing logic (including default handling when unset).
  • Update EVMTXGun to allocate message payloads using the per-profile size and add unit tests for the helper.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
build/devenv/tests/e2e/load/types.go Adds DataSizeBytes to message profiles and introduces MessageDataSizeBytes helper to resolve effective payload size.
build/devenv/tests/e2e/load/types_test.go Adds unit tests covering default/explicit/no-data sizing behavior for MessageDataSizeBytes.
build/devenv/tests/e2e/gun.go Switches EVMTXGun payload allocation to use per-profile sizing via load.MessageDataSizeBytes.

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

@Farber98 Farber98 enabled auto-merge June 12, 2026 12:36
@Farber98 Farber98 added this pull request to the merge queue Jun 12, 2026
Any commits made after this event will not be merged.
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