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

ExtraArgs decoder skeleton #455

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

ExtraArgs decoder skeleton #455

wants to merge 4 commits into from

Conversation

prashantkumar1982
Copy link
Collaborator

No description provided.

@@ -18,6 +20,10 @@ type MessageHasher interface {
Hash(context.Context, Message) (Bytes32, error)
}

type ExtraDataCodec interface {
DecodeExtraData(ExtraArgs Bytes, sourceChainSelector ChainSelector) (map[string]any, error)
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be useful to put the encode function in here as well and the hasher can use it too.

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.

2 participants