-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add square sizes flag to the payForMessage cli command (#202)
* add new flags * add celestia flags * use square size in cli wirepayformessage * add square size in app * update test for arbitrary square size * refactor flags * shorten flags file * update nwpfm to receive list of square sizes * add a new test case for list of square sizes * add back square size * unchange abci * refactor parse uint to uint64 * add power of 2 check * add test case for invalid square size * update description flags * move and update powerof2 func * update powerOf2 func * add test to powerOf2 * delete gap * move check power of 2 first * move flag to wirepayformessage * move const FlagSquareSizes to wirepayformessage * add test for invalid square size in pfm ValidateBasic * add 1 more test where change square size to another power of 2 number * change squaresize to 4 to pass the test
- Loading branch information
Showing
6 changed files
with
119 additions
and
4 deletions.
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