Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capability Encoder changes to use PreCodec #15538

Merged
merged 5 commits into from
Dec 16, 2024
Merged

Conversation

justinkaseman
Copy link
Contributor

@justinkaseman justinkaseman commented Dec 6, 2024

Requires

Depends on this PR being merged & then chainlink-common dependency being bumped again

Supports

Core changes for smartcontractkit/chainlink-common#961

Copy link
Contributor

github-actions bot commented Dec 6, 2024

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@@ -46,8 +48,22 @@ func NewEVMEncoder(config *values.Map) (consensustypes.Encoder, error) {
return nil, err
}

var subabi map[string]string
err = config.Underlying[subabiConfigFieldName].UnwrapTo(subabi)
Copy link
Contributor

@cedric-cordenier cedric-cordenier Dec 6, 2024

Choose a reason for hiding this comment

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

Could be shortened to:

type configStruct struct {
    subapiConfigFieldName map[string]string
}

config.UnwrapTo(&configStruct{})

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't make this change. May no longer be relevant because subabi is optional. Check this again.

Copy link
Contributor

@cedric-cordenier cedric-cordenier left a comment

Choose a reason for hiding this comment

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

+1ing but we should get Ryan or a codeowner to double check the change since I don't have much context on this.

ilija42
ilija42 previously approved these changes Dec 13, 2024
@justinkaseman justinkaseman changed the title Draft: Capability Encoder changes to use PreCodec Capability Encoder changes to use PreCodec Dec 14, 2024
@justinkaseman justinkaseman marked this pull request as ready for review December 16, 2024 04:24
@justinkaseman justinkaseman requested review from a team as code owners December 16, 2024 04:24
@justinkaseman justinkaseman added this pull request to the merge queue Dec 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 16, 2024
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Dec 16, 2024
Merged via the queue into develop with commit 0fb9d70 Dec 16, 2024
171 of 172 checks passed
@cedric-cordenier cedric-cordenier deleted the CAPPL-318 branch December 16, 2024 12:02
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