edr
edr copied to clipboard
Confusing error message when running in Optimism mode
EDR gives a confusing error message when you don’t have enough balance to pay for the upfront cost of an Op Transaction.
Can we improve the message in this case?
@kanej are you referring to the error:
Error: Sender doesn't have enough funds to send tx. The max upfront cost is: 15714503633392 and the sender's balance is: 227750000000.
Where the shown "sender balance" is the balance after subtracting the L2 cost?
@alcuadrado reported the message - is @Wodann on the right track here?