-
Notifications
You must be signed in to change notification settings - Fork 688
Description
What happened?
When trying to submit a bundle of transactions where one of them contains MsgRecvPacket
messages (as this one), it's not possible, as ValidateBidTx fails with an error that looks like:
invalid bid tx bid=1000000ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4 bid_height=40695925 bidder=osmo1... err="invalid bid tx; failed to execute bundled transaction: failed to verify header: invalid header: new header has a time from the future 2025-07-27 13:43:02.511761015 +0000 UTC (now: 0001-01-01 00:00:00 +0000 UTC; max clock drift: 30s) [cosmos/ibc-go/[email protected]/modules/light-clients/07-tendermint/update.go:117]"
I think the root of this is the context used to run the AnteHandler lacking the current time or last block time in it's header, as it's being built without that field here, hence the default Time value of 0001-01-01 00:00:00 +0000 UTC
from the error.
This causes the protocol to lose potential earnings from bids, as bids are rejected during validation, and MEV is extracted nearly for free by bots generating vanity addresses to snipe them (#9395 ).
Osmosis Version
29.0.0
How to reproduce?
Submit a MsgAuctionBid
where the Transactions
bundle contains a transaction with a MsgRecvPacket
message inside.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status