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

feat: txsim cli #1650

Merged
merged 6 commits into from
Apr 25, 2023
Merged

feat: txsim cli #1650

merged 6 commits into from
Apr 25, 2023

Conversation

cmwaters
Copy link
Contributor

This PR creates a cli command for the txsim tool.

Example command:

txsim --key-path /path/to/keyring --rpc-endpoints localhost:26657 --grpc-endpoints localhost:9090 --seed 1234 --poll-time 1s --blob 5

One can also use environment variables.

@MSevey MSevey requested a review from a team April 24, 2023 12:29
@cmwaters cmwaters changed the base branch from main to cal/square-construction April 24, 2023 13:30
@cmwaters cmwaters changed the base branch from cal/square-construction to main April 24, 2023 13:30
Copy link
Collaborator

@rootulp rootulp left a comment

Choose a reason for hiding this comment

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

LGTM

Use: "txsim",
Short: "Celestia Transaction Simulator",
Long: `
Txsim is a tool for randomized transaction generation on celestia networks. The tool relies on
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Txsim is a tool for randomized transaction generation on celestia networks. The tool relies on
Txsim is a tool for randomized transaction generation on Celestia networks. The tool relies on

@MSevey MSevey requested a review from a team April 25, 2023 08:31
@codecov-commenter
Copy link

Codecov Report

Merging #1650 (316bb2e) into main (a69fe55) will increase coverage by 0.15%.
The diff coverage is 58.15%.

@@            Coverage Diff             @@
##             main    #1650      +/-   ##
==========================================
+ Coverage   50.97%   51.12%   +0.15%     
==========================================
  Files          93       94       +1     
  Lines        5756     5893     +137     
==========================================
+ Hits         2934     3013      +79     
- Misses       2523     2568      +45     
- Partials      299      312      +13     
Impacted Files Coverage Δ
test/txsim/account.go 67.44% <50.00%> (ø)
test/cmd/txsim/cli.go 57.66% <57.66%> (ø)
test/util/testnode/full_node.go 82.87% <100.00%> (ø)
x/blob/types/test_util.go 70.58% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

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

super dope! can't wait to play around with sequences more

@cmwaters cmwaters merged commit bdeba24 into main Apr 25, 2023
27 checks passed
@cmwaters cmwaters deleted the cal/txsim-cli branch April 25, 2023 13: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.

None yet

4 participants