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

Fix conversions related to MockHeader and ClientType::Mock #1195

Merged
merged 6 commits into from
Jul 13, 2021

Conversation

romac
Copy link
Member

@romac romac commented Jul 13, 2021

modules/src/ics02_client/client_type.rs Outdated Show resolved Hide resolved
@romac romac changed the title Fix conversions related to MockHeader ClientType::Mock` Fix conversions related to MockHeader and ClientType::Mock Jul 13, 2021
@romac romac merged commit 3f0d4bc into master Jul 13, 2021
@romac romac deleted the romac/1192-mock-header branch July 13, 2021 14:33
hu55a1n1 pushed a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
…malsystems#1195)

* Fix `FromStr` impl for `ClientType`

* Fix `From<MockHeader>` impl for `RawMockHeader`

* Extract string constants as `const` items

* Rename `ClientType::as_string` to `as_str`

* Update changelog

* Fix `dead_code` warning when `mocks` feature is disabled
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