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

Skeleton Implementation of Solana Chain Reader Service #12163

Closed

Conversation

EasterTheBunny
Copy link
Contributor

This commit adds a new package that contains a limited chain reader for solana that implements the basic interfaces of ServiceCtx and ChainReader. All functions required for ServiceCtx are complete and included in a test. All functions required for ChainReader return an 'unimplemented' error.

This commit adds a new package that contains a limited chain reader for solana
that implements the basic interfaces of `ServiceCtx` and `ChainReader`. All
functions required for `ServiceCtx` are complete and included in a test. All
functions required for `ChainReader` return an 'unimplemented' error.
Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

}

var (
ErrUnimplemented = errors.New("function unimplemented")
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a types.UnimplementedError type you should be able to import from chainlink-comon.

You can use it like:
types.UnimplementedError("custom error message")

@reductionista
Copy link
Contributor

The code looks fine so far, but instead of here it should go in the chainlink-solana repo:
https://github.com/smartcontractkit/chainlink-solana/tree/develop/pkg/solana

evm is special in that, it's the only relay that's still in core--we plan to move it into its own repo soon, the others already each have their own repo

@EasterTheBunny
Copy link
Contributor Author

Moving to chainlink-solana.

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