Skip to content

tools/tmbench: Bounds checking for txSize.#2410

Merged
melekes merged 1 commit intotendermint:developfrom
WALL-E:develop
Sep 17, 2018
Merged

tools/tmbench: Bounds checking for txSize.#2410
melekes merged 1 commit intotendermint:developfrom
WALL-E:develop

Conversation

@WALL-E
Copy link
Contributor

@WALL-E WALL-E commented Sep 15, 2018

Fixes #2409

Copy link
Contributor

@ValarDragon ValarDragon left a comment

Choose a reason for hiding this comment

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

untested, but looks good to me!

Thanks for the PR!

@WALL-E
Copy link
Contributor Author

WALL-E commented Sep 16, 2018

update commit: improving test cases

Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

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

Thanks for contributing to Tendermint!

if txSize < 40 {
fmt.Fprintln(
os.Stderr,
"txSize must be greater than or equal to 40.",
Copy link
Contributor

Choose a reason for hiding this comment

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

The size of a transaction must be ...

Users are not aware of txSize (only tm-bench developers know what txSize is!)

@WALL-E
Copy link
Contributor Author

WALL-E commented Sep 17, 2018

@melekes I fixed it

@melekes melekes merged commit c6c0b52 into tendermint:develop Sep 17, 2018
@WALL-E WALL-E deleted the develop branch September 17, 2018 09:57
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.

3 participants