[Validation Error] Report why tx failed the buy gas attempt #890
Labels
component: mempool
component: pact-service
The Pact Service, or Pact language updates in general.
good first issue
Good for newcomers
Potentially related to #753
Users often get
when they submit a transaction that fails a dry-run attempt to buy gas.
We should improve this error message to explain why the transaction failed the buy gas check.
Relevant code sections:
Error message specified.
https://github.com/kadena-io/chainweb-node/blob/master/src/Chainweb/Pact/PactService.hs#L675
Error type thrown in
attemptBuyGas
function.https://github.com/kadena-io/chainweb-node/blob/master/src/Chainweb/Mempool/Mempool.hs#L216
The text was updated successfully, but these errors were encountered: