Skip to content

iavlx: default ReaderUpdateInterval option breaks compatibility with cosmos/evm #25513

@technicallyty

Description

@technicallyty

in ethereum, there is a FeeHistory RPC that supports EIP 1559 transactions for dynamic fee setting. this RPC queries blocks in a range (i.e latest -> latest-100). With the default setting of ReaderUpdateInterval = 100, I was observing the query failing to serve version 2 with the chain at height 3-7 (hard to pin point exactly what height) in Cosmos/EVM.

We should change this default, or find other ways to support historical queries from relatively close versions.

possible solution: store recent roots in commit_tree.

Metadata

Metadata

Assignees

Labels

iavlissues pertaining to the iavl package

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions