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

Reflect changes in chain-extensions API #142

Merged
merged 4 commits into from
Feb 1, 2023
Merged

Conversation

SkymanOne
Copy link
Contributor

This PR update chain-extensions page to reflect breaking changes introduced by use-ink/ink#1569

@@ -95,7 +89,7 @@ pub trait MyChainExtension {

Default value: `true`

By default all chain extension methods return a `Result<T, E>` where `E: From<Self::ErrorCode>`.
By default all chain extension methods should return a `Result<T, E>` where `E: From<Self::ErrorCode>`.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you clarify what the implication is if they don't?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you clarify what the implication is if they don't?

I think lines 106-107 states the implication

German and others added 3 commits February 1, 2023 09:49
…xtension.md

Co-authored-by: Michael Müller <mich@elmueller.net>
…xtension.md

Co-authored-by: Michael Müller <mich@elmueller.net>
…xtension.md

Co-authored-by: Michael Müller <mich@elmueller.net>
@SkymanOne SkymanOne requested a review from cmichi February 1, 2023 09:52
@cmichi cmichi merged commit 8df53f4 into master Feb 1, 2023
@cmichi cmichi deleted the gn/chain-extension branch February 1, 2023 12:59
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