We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IBC
I found two bugs in using mock.
mock
ClientType::Mock
from_str()
ClientType::as_string()
as_string()
MockHeader
RowMockHeader
From
0.5.0
let client_type = ClientType::Mock; let type_string = client_type.as_string(); let client_type_from_str = ClientType::from_str(type_string).expect("Failed")
AnyHeader
let height = Height::new(1, 10); let header = MockHeader::new(height); // `wrap_any()` isn't implemented for now let any_header = AnyHeader::from(header); let bytes = header.encode_vec().expect("Stack overflow happened");
The text was updated successfully, but these errors were encountered:
romac
No branches or pull requests
Crate
IBC
Summary of Bug
I found two bugs in using
mock
.ClientType::Mock
couldn't be converted withfrom_str()
when usingClientType::as_string()
as_string()
andfrom_str()
MockHeader
toRowMockHeader
, stack overflow happenedFrom
implementation causes this bugVersion
0.5.0
Steps to Reproduce
MockHeader
wrapped byAnyHeader
Acceptance Criteria
ClientType::Mock
can be converted from a proper stringMockHeader
can be encodedFor Admin Use
The text was updated successfully, but these errors were encountered: