feat: add get_in_memory_or_storage_by_tx_range
#11414
Merged
get_in_memory_or_storage_by_tx_range
#11414