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

Integration test for querying malleated transactions #188

Merged
merged 8 commits into from
Jan 25, 2022

Conversation

evan-forbes
Copy link
Member

Description

This PR modifies the integration test to also query for the malleated transaction using the original transaction's hash.

blocked by #612

@evan-forbes evan-forbes self-assigned this Jan 19, 2022
@evan-forbes evan-forbes changed the title Evan/integration test for query Integration test for querying malleated transactions Jan 19, 2022
third_party/proto/tendermint/abci/types.proto Outdated Show resolved Hide resolved
x/payment/client/testutil/integration_test.go Show resolved Hide resolved
x/payment/types/payformessage.go Outdated Show resolved Hide resolved
@evan-forbes
Copy link
Member Author

evan-forbes commented Jan 21, 2022

Is there something that tracks making these more robust? Hard-coded timeouts could definitely lead to flaky tests.

Unfortunately, I don't think there is. We are already blocking until the tx is included in a block, it just takes a very small amount of time before the tx is indexed. On my local machine, this can be as small as 10ms. Hopefully the overly large wait time avoids flakiness.

Can you align this like the other fields? I'm surprised we don't have a proto formatter running in CI.

👍 a1b1cab

Are these related to the PR?

removed, and will add in a different PR efa34ac

adlerjohn
adlerjohn previously approved these changes Jan 22, 2022
Copy link
Member

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

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

Green checkmark means go

liamsi
liamsi previously approved these changes Jan 22, 2022
x/payment/client/testutil/integration_test.go Outdated Show resolved Hide resolved
@evan-forbes evan-forbes dismissed stale reviews from liamsi and adlerjohn via cb80736 January 24, 2022 13:40
@evan-forbes evan-forbes force-pushed the evan/integration-test-for-query branch from a1b1cab to cb80736 Compare January 24, 2022 13:40
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
@evan-forbes evan-forbes merged commit 2015a0c into master Jan 25, 2022
@liamsi liamsi deleted the evan/integration-test-for-query branch January 29, 2022 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants