-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add execution error decode command #604
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
e34e5e4
feat: add execution error decode command
ecPablo 78f922f
fix: linting errors
ecPablo e4e37e3
fix: linting errors
ecPablo 5e9eb28
fix: remove local replace
ecPablo e0ee561
Merge branch 'main' into ecpablo/add-err-decode-command
ecPablo f08823d
fix: go mod merge conflicts
ecPablo 5c38ff9
fix: rename fields for execution error
ecPablo ce0d6b1
fix: lint errors
ecPablo 3c1d736
fix: unit tests and simplify function fore decode execution error
ecPablo d498d3c
Update engine/cld/legacy/cli/mcmsv2/mcms_v2.go
ecPablo 7bce725
Update engine/cld/legacy/cli/mcmsv2/mcms_v2.go
ecPablo 17ebe46
Update engine/cld/legacy/cli/mcmsv2/mcms_v2.go
ecPablo 8552fde
Update engine/cld/legacy/cli/mcmsv2/mcms_v2.go
ecPablo bdc1508
fix: add type for selector
ecPablo 8fbde60
fix: add type for selector
ecPablo c7bbbfe
chore: changeset
ecPablo e2f81c7
Update engine/cld/legacy/cli/mcmsv2/err_decode_helpers.go
ecPablo 607b6dc
fix: use emptySelector
ecPablo 42702ae
fix: lint errors
ecPablo 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 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "chainlink-deployments-framework": minor | ||
| --- | ||
|
|
||
| add error decode command |
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
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
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.
The logic checks
hasSelector && !hasDataon line 673, but whenhasDatais true and decoding fails (lines 668-670), it doesn't try the selector. Consider attempting selector-based decoding as a fallback when data-based decoding fails, by changing line 673 to justif hasSelectorto cover both cases where data decoding failed and where there's no data.