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

IBC E2E test #664

Merged
merged 45 commits into from
Nov 14, 2022
Merged

IBC E2E test #664

merged 45 commits into from
Nov 14, 2022

Conversation

yito88
Copy link
Member

@yito88 yito88 commented Oct 21, 2022

updated #296
depends on #625 and #626

NOTE: need #298 and v0.8.1 for tendermint block_results()

@yito88 yito88 changed the title IBC E2# test IBC E2E test Oct 21, 2022
Comment on lines 1300 to 1307
match value {
Some(v) => match T::try_from_slice(&v[..]) {
Ok(value) => return Some(value),
Err(err) => eprintln!("Error decoding the value: {}", err),
},
None => return None,
}
cli::safe_exit(1)
Copy link
Member

@batconjurer batconjurer Oct 21, 2022

Choose a reason for hiding this comment

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

Suggested change
match value {
Some(v) => match T::try_from_slice(&v[..]) {
Ok(value) => return Some(value),
Err(err) => eprintln!("Error decoding the value: {}", err),
},
None => return None,
}
cli::safe_exit(1)
if let Some(Err(err)) = value {
eprintln!("Error decoding the value: {}", err);
cli::safe_exit(1)
}
value.map(|inner| inner.unwrap())

Copy link
Member Author

Choose a reason for hiding this comment

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

I renamed these variables. value is used twice.

batconjurer
batconjurer previously approved these changes Oct 21, 2022
@yito88
Copy link
Member Author

yito88 commented Oct 21, 2022

I've rebased this for v0.8.1 to use block_result() in the E2E test.
Thank you for reviewing. I'll fix them.

tzemanovic
tzemanovic previously approved these changes Oct 26, 2022
@tzemanovic
Copy link
Member

pls update wasm

@juped juped force-pushed the yuji/ibc-e2e-test branch from 764da3e to 8143264 Compare November 14, 2022 17:24
@juped juped merged commit 45f0528 into main Nov 14, 2022
@juped juped deleted the yuji/ibc-e2e-test branch November 14, 2022 18:37
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.

4 participants