-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
destexecdata decoder support + refactor #15978
Merged
prashantkumar1982
merged 25 commits into
develop
from
NONEVM-1163/update-plugin-factory-with-destexecdata-decoder
Jan 28, 2025
+39
−22
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
72d870a
destexecdata decoder support + refactor
huangzhen1997 1b3b757
update
huangzhen1997 772db01
downgrade version
huangzhen1997 28f0505
update go mod
huangzhen1997 71ab609
fix
huangzhen1997 fd2b68b
update
huangzhen1997 1f9abf5
update
huangzhen1997 0bb2a8d
Merge branch 'develop' into NONEVM-1163/update-plugin-factory-with-de…
huangzhen1997 663859c
mod
huangzhen1997 674dd7b
mod tidy
huangzhen1997 046063c
update
huangzhen1997 391f398
refactor
huangzhen1997 2bd783b
merge develop
huangzhen1997 011307a
mod tidy
huangzhen1997 c1219b8
update
huangzhen1997 a4ee84c
tidy
huangzhen1997 a5e302f
goimport
huangzhen1997 afaa983
revert go mod
huangzhen1997 6e3b4b7
update
huangzhen1997 1d22128
Revert "update"
huangzhen1997 4538b04
revert
huangzhen1997 def9294
revert
huangzhen1997 89838ca
revert
huangzhen1997 3a35422
keep old func
huangzhen1997 a7ac6ef
fix
huangzhen1997 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
modify extradatacodec interface to support chain agnostic destExecdata map in ORC report message #added |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package common | ||
|
||
import ( | ||
cciptypes "github.com/smartcontractkit/chainlink-ccip/pkg/types/ccipocr3" | ||
) | ||
|
||
type ExtraDataCodec struct{} | ||
|
||
func NewExtraDataCodec() ExtraDataCodec { | ||
return ExtraDataCodec{} | ||
} | ||
|
||
func (c ExtraDataCodec) DecodeExtraData(extraArgs cciptypes.Bytes, sourceChainSelector cciptypes.ChainSelector) (map[string]any, error) { | ||
// Not implemented and not return error | ||
return nil, nil | ||
} | ||
|
||
func (c ExtraDataCodec) DecodeExtraArgs(extraArgs cciptypes.Bytes, sourceChainSelector cciptypes.ChainSelector) (map[string]any, error) { | ||
// Not implemented and not return error | ||
return nil, nil | ||
} | ||
|
||
func (c ExtraDataCodec) DecodeTokenAmountDestExecData(destExecData cciptypes.Bytes, sourceChainSelector cciptypes.ChainSelector) (map[string]any, error) { | ||
// Not implemented and not return error | ||
return nil, nil | ||
} |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you're missing
DecodeExtraData
, I thought you were just addingDecodeTokenAmountDestExecData
. You'll need to add the old value and deprecate/remove it in a future PR.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was renaming it from
DecodeExtraData
toDecodeExtraArgs
since it wasn't accurate.