feat: update payloads generation for recent mainnet forks#17
Merged
Conversation
cbermudez97
commented
Jul 8, 2026
Contributor
- feat: update payload generation and execution requests handling
- feat: update Grafana K6 image version to 2.1.0 in configuration files
- Introduced functionality to generate execution payloads for a specified block range using the `expb generate-payloads` command. - Enhanced documentation in README.md and USAGE.md to include details on payload generation and command usage. - Updated the `Generator` class to fetch beacon blocks and construct payloads according to the latest specifications. - Implemented encoding for execution requests as per EIP-7685, including deposits, withdrawals, and consolidations. - Added unit and integration tests to validate the encoding of execution requests and blob versioned hashes against real mainnet data. - Updated dependencies in pyproject.toml to include `requests` and `pytest` for improved functionality and testing. - Refactored code to improve clarity and maintainability, including the introduction of helper methods for encoding and fetching data.
Engine-emitted k6 metrics (k6_iterations_total, k6_vus, k6_data_*) do not inherit script-side options.tags in the Prometheus remote-write output, so moving testid to options.tags dropped the label from those series. Restore testid as an output-level --tag alongside the existing --env.
The prior fix only added testid. tool and client_type are likewise run-general but live in the script's options.tags / scenario tags, which k6's Prometheus remote-write output does not attach to engine-emitted metrics (k6_iterations_total, k6_vus, k6_data_*). Pass all three as output-level --tag so every series carries them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.