roller: make output less loud

This commit is contained in:
yosoyubik 2022-04-15 13:19:10 +02:00
parent cff562b4c6
commit 2eec24ee27
2 changed files with 3 additions and 5 deletions

View File

@ -1346,7 +1346,7 @@
|^ |^
:: print error if there was one :: print error if there was one
:: ::
~? ?=(%| -.result) [dap.bowl %send-error +.p.result] ~? ?=(%| -.result) [dap.bowl %send-error nonce+nonce +.p.result]
:: if this nonce was removed from the queue by a :: if this nonce was removed from the queue by a
:: previous resend-with-higher-gas thread, it's done :: previous resend-with-higher-gas thread, it's done
:: ::
@ -1485,7 +1485,6 @@
?~ wer=(~(get by finding) keccak) ?~ wer=(~(get by finding) keccak)
:: tx not submitted by this roller :: tx not submitted by this roller
:: ::
~& >> "weird tx diff <keccak>"
[~ state] [~ state]
?@ u.wer ?@ u.wer
~? &(?=(%confirmed u.wer) ?=(~ err.diff)) ~? &(?=(%confirmed u.wer) ?=(~ err.diff))

View File

@ -40,16 +40,15 @@
:: if chain expects a different nonce, don't send this transaction :: if chain expects a different nonce, don't send this transaction
:: ::
?. =(nonce expected-nonce) ?. =(nonce expected-nonce)
~& >>> [%unexpected-nonce nonce expected+expected-nonce]
%- pure:m %- pure:m
!> ^- [%.n @tas @t] !> ^- [%.n @tas @t]
:+ %.n :+ %.n
%not-sent %not-sent
?: (lth expected-nonce nonce) ?: (lth expected-nonce nonce)
:: if ahead, it will use the same next-gas-price when resending :: if ahead, use the same next-gas-price when resending
:: ::
%ahead-nonce %ahead-nonce
:: if behind, start out-of-sync flow :: if behind, start out-of-sync flow if batch was not sent before
:: ::
%behind-nonce %behind-nonce
:: if a gas-price of 0 was specified, fetch the recommended one :: if a gas-price of 0 was specified, fetch the recommended one