-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
chore!: Refactor x/bank CLI Tests #12706
Merged
Merged
Changes from 29 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
ef0afe1
updates
alexanderbez 136e0c9
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez c4f5a6c
updates
alexanderbez c4d01b3
updates
alexanderbez 045b142
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez 4b9b40b
updates
alexanderbez 28688f0
updates
alexanderbez 5447530
updates
alexanderbez 9d61e4c
updates
alexanderbez b229234
updates
alexanderbez dd6e1f4
updates
alexanderbez 1484c8e
updates
alexanderbez 5a209d1
updates
alexanderbez 133d732
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez b2364c2
updates
alexanderbez 3f94e2e
Merge branch 'bez/12696-x-bank-cli-tests-refactor' of github.com:cosm…
alexanderbez 883e6da
updates
alexanderbez 7350035
updates
alexanderbez a58abf2
updates
alexanderbez 1ff43e4
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez f5b8eb1
updates
alexanderbez fdb1974
updates
alexanderbez cfd48d5
updates
alexanderbez a3e3857
updates
alexanderbez 0333304
updates
alexanderbez 1d51689
updates
alexanderbez 004d979
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez d2b1844
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez ae0f2be
updates
alexanderbez f0d4ba8
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez 6e13bf3
Merge branch 'main' into bez/12696-x-bank-cli-tests-refactor
alexanderbez fc4f732
Update client/query.go
alexanderbez f89840a
updates
alexanderbez 9235038
updates
alexanderbez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package client | ||
|
||
import ( | ||
"context" | ||
|
||
"github.com/tendermint/tendermint/libs/bytes" | ||
rpcclient "github.com/tendermint/tendermint/rpc/client" | ||
"github.com/tendermint/tendermint/rpc/coretypes" | ||
) | ||
|
||
// TendermintRPC defines the interface of a Tendermint RPC client needed for | ||
// queries and transaction handling. | ||
type TendermintRPC interface { | ||
rpcclient.ABCIClient | ||
|
||
Validators(ctx context.Context, height *int64, page, perPage *int) (*coretypes.ResultValidators, error) | ||
Status(context.Context) (*coretypes.ResultStatus, error) | ||
Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error) | ||
BlockchainInfo(ctx context.Context, minHeight, maxHeight int64) (*coretypes.ResultBlockchainInfo, error) | ||
Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error) | ||
TxSearch( | ||
ctx context.Context, | ||
query string, | ||
prove bool, | ||
page, perPage *int, | ||
orderBy string, | ||
) (*coretypes.ResultTxSearch, error) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😻