-
Notifications
You must be signed in to change notification settings - Fork 96
fix: align temporary reject check for included tx from txpool #494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@@ -106,15 +104,13 @@ func (b *Backend) SendTransaction(args evmtypes.TransactionArgs) (common.Hash, e | |||
syncCtx := b.ClientCtx.WithBroadcastMode(flags.BroadcastSync) | |||
rsp, err := syncCtx.BroadcastTx(txBytes) | |||
if rsp != nil && rsp.Code != 0 { | |||
if shouldSkip, msg := HandleBroadcastRawLog(rsp.RawLog, txHash); shouldSkip { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have a local TX tracker here, so we should just be returning the error until we implement that: https://github.com/cosmos/go-ethereum/blob/f70aaa8399ccee429804eecf3fc4c6fd8d9e6cab/eth/api_backend.go#L325-L341
I believe returning the error without a tx tracker is still considered EVM compatible, and we can create a separate issue to add one in.
@mmsqe looks like we have conflicts - thanks for the update |
Description
Closes: #493
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
main
branch