This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Propagate transaction pool error to submit_at
in OffchainSubmitTransaction
#11953
Labels
J2-unconfirmed
Issue might be valid, but it’s not yet known.
Hey, I've been using the
SubmitTransaction::submit_unsigned_transaction
API, and whenever it fails, I just get a log like that:(offchain call) Error submitting a transaction to the pool: Transaction pool error
.I feel like it would be useful to propagate this error to
submit_at
inOffchainSubmitTransaction
, and from there - toframe_system::offchain::SubmitTransaction::submit_transaction
, since we basically get no info about the error from the logs.The text was updated successfully, but these errors were encountered: