Skip to content

Small code cleanup#804

Merged
carte7000 merged 2 commits intomainfrom
simon/aggregator/small-cleanup
Mar 2, 2026
Merged

Small code cleanup#804
carte7000 merged 2 commits intomainfrom
simon/aggregator/small-cleanup

Conversation

@carte7000
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Code coverage report:

Package main simon/aggregator/small-cleanup diff
github.com/smartcontractkit/chainlink-ccv/aggregator 47.76% 47.76% +0.00%
github.com/smartcontractkit/chainlink-ccv/bootstrap 51.13% 51.13% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/committee 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 52.89% 52.89% +0.00%
github.com/smartcontractkit/chainlink-ccv/executor 45.16% 45.16% +0.00%
github.com/smartcontractkit/chainlink-ccv/indexer 35.73% 35.86% +0.13%
github.com/smartcontractkit/chainlink-ccv/integration 41.44% 41.32% -0.12%
github.com/smartcontractkit/chainlink-ccv/pkg 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/pricer 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/protocol 64.82% 64.82% +0.00%
github.com/smartcontractkit/chainlink-ccv/verifier 41.68% 41.69% +0.01%

@carte7000 carte7000 marked this pull request as ready for review March 2, 2026 15:49
@carte7000 carte7000 requested review from a team and skudasov as code owners March 2, 2026 15:49
@carte7000 carte7000 enabled auto-merge March 2, 2026 15:51
@carte7000 carte7000 added this pull request to the merge queue Mar 2, 2026
Merged via the queue into main with commit e758f81 Mar 2, 2026
23 checks passed
@carte7000 carte7000 deleted the simon/aggregator/small-cleanup branch March 2, 2026 16:30

func WithAddress(ctx context.Context, address []byte) context.Context {
return context.WithValue(ctx, addressKey, hex.EncodeToString(address))
return context.WithValue(ctx, addressKey, "0x"+hex.EncodeToString(address))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit: wrap this in something like protocol.ByteSlice to inherit this encoding convention rather than re-implementing it.

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.

3 participants