-
Notifications
You must be signed in to change notification settings - Fork 16
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
Modules from core #88
Conversation
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.
Can you copy over the test files for the utils that you copied over too?
Also to fix the failing solana CI check I think you can remove this line: https://github.com/smartcontractkit/chainlink-relay/blob/0298f0e913fe98bcbf2d5a4c95f33b08a968dd59/.github/workflows/build_external.yml#L62
@@ -31,3 +31,12 @@ type ErrEmpty struct { | |||
func (e ErrEmpty) Error() string { | |||
return fmt.Sprintf("%s: empty: %s", e.Name, e.Msg) | |||
} | |||
|
|||
type KeyNotFoundError struct { |
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.
How will this be used?
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.
It's being used in the txm tests, for example here.
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.
Hmmm OK - we might have to revisit this with plugins, since error types are not preserved over the wire. Fortunately it seems like we could just return nil instead of a custom error for this particular case.
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.
lgtm! I will take a look at fixing the CI runs in a separate PR
Merging this part of work for now. The further improvements will follow in Aaron's PR |
No description provided.