Repository navigation
Add EVM WriteReport block timestamp proto field and feature flag - #2554
Merged
Merged
Conversation
Contributor
✅ API Diff Results -
|
Krish-vemula
force-pushed
the
feat/evm-write-report-block-timestamp
branch
from
November 18, 2026 18:17
1aaa138 to
6ce6b18
Compare
Krish-vemula
marked this pull request as ready for review
November 18, 2026 18:38
product-security-plaid-production
Bot
requested review from
amit-momin,
bolekk,
chudilka1 and
fernandofederico1984
November 18, 2026 18:38
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the EVM write-report timestamp and feature-flag configuration changes.
No open issues 🎉
1 file not reviewed
pkg/capabilities/v2/chain-capabilities/evm/client.pb.go: Generated file
What changed in this PR
Adds protobuf and configuration support for EVM write-report block timestamps, preparing for latency tracking with workflow-execution-based activation.
Changes:
- Adds optional
block_timestampin microseconds to the generated EVMWriteReportReply. - Introduces the EVM timestamp feature flag, disabled by default with a 2100–2101 activation window.
- Updates the protobuf dependency, generated settings defaults, documentation, and unmarshalling test.
| File | Description |
|---|---|
pkg/settings/cresettings/settings.go |
Defines the feature flag and disabled default. |
pkg/settings/cresettings/settings_test.go |
Tests unmarshalling the flag’s activation window. |
pkg/settings/cresettings/README.md |
Adds the flag to the settings flowchart. |
pkg/settings/cresettings/defaults.toml |
Includes the generated TOML default. |
pkg/settings/cresettings/defaults.json |
Includes the generated JSON default. |
pkg/capabilities/v2/chain-capabilities/evm/client.pb.go |
Adds the timestamp field, getter, and protobuf descriptor. |
go.sum |
Updates checksums for the protobuf dependency. |
go.mod |
Bumps the CRE protobuf dependency. |
Review effort: Balanced
amit-momin
approved these changes
Nov 18, 2026
justinkaseman
approved these changes
Nov 18, 2026
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.
What
pkg/capabilities/v2/chain-capabilities/evm/client.pb.gofor the newWriteReportReply.block_timestampfield.PerWorkflow.FeatureEVMWriteReportBlockTimestampActivePeriodcresettings flag, disabled by default ([2100, 2101]). It mirrorsFeatureAptosWriteReportBlockTimestampActivePeriod. Also updatesdefaults.json/defaults.toml(generated), the README flowchart andsettings_test.go.Why
Lets the EVM capability return the block timestamp in
WriteReportReplyfor SLO latency tracking, as Aptos and Stellar already do.The flag is keyed on the workflow execution timestamp. All DON nodes therefore switch it on for the same executions, which keeps replies consistent across nodes during a rolling upgrade.
Dependencies
chainlink-protos/cre/goto the merged commit before merging.Testing
go test ./pkg/settings/... ./pkg/capabilities/v2/chain-capabilities/evm/...