-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(script): show the broadcasted transactions when verbose>=4 (#9655)
* feat(script): add --dry-run Signed-off-by: jsvisa <delweng@gmail.com> * feat(script): implement the tx print Signed-off-by: jsvisa <delweng@gmail.com> * no newline if no args Signed-off-by: jsvisa <delweng@gmail.com> * clippy Signed-off-by: jsvisa <delweng@gmail.com> * add --dry-run --broadcast testcase Signed-off-by: jsvisa <delweng@gmail.com> * lossy stdout test Signed-off-by: jsvisa <delweng@gmail.com> * feat(script): print txs if --dry-run Signed-off-by: jsvisa <delweng@gmail.com> * feat(script): make dry-run as the default behavior Signed-off-by: jsvisa <delweng@gmail.com> * fix Signed-off-by: jsvisa <delweng@gmail.com> * use writeln instead of push_str Signed-off-by: jsvisa <delweng@gmail.com> * implment UIfmt for TransactionMaybeSigned Signed-off-by: jsvisa <delweng@gmail.com> * dryrun: use UIfmt instead Signed-off-by: jsvisa <delweng@gmail.com> * dryrun: print contract only if call Signed-off-by: jsvisa <delweng@gmail.com> * use [..] to test Signed-off-by: jsvisa <delweng@gmail.com> * update testcase Signed-off-by: jsvisa <delweng@gmail.com> * feat(script): --dry-run --resume Signed-off-by: jsvisa <delweng@gmail.com> * no long input Signed-off-by: jsvisa <delweng@gmail.com> * no double newline Signed-off-by: jsvisa <delweng@gmail.com> Revert "no double newline" This reverts commit 6337995e4735b7cb2965962d6a7cd29addf367f7. Signed-off-by: jsvisa <delweng@gmail.com> wip Signed-off-by: jsvisa <delweng@gmail.com> * print transaction if -vvvv Signed-off-by: jsvisa <delweng@gmail.com> * Revert "update testcase" This reverts commit ed5201c. Signed-off-by: jsvisa <delweng@gmail.com> * update test for -vvvv broadcast Signed-off-by: jsvisa <delweng@gmail.com> * no dryrun module Signed-off-by: jsvisa <delweng@gmail.com> * test Signed-off-by: jsvisa <delweng@gmail.com> --------- Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
- Loading branch information
1 parent
36393fb
commit 9ac89d4
Showing
4 changed files
with
231 additions
and
2 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