Right now I'm iterating over a map (not a big_map) that would have at most 10,000 entries. I know big_map is recommended for a large number of entries, however, I'm testing the limitations of both approaches.
When the map reaches 10,000 entries, it costs to iterate it:
gas: 158403
total cost: 0.106882ꜩ
When the map only had 100 entries, it cost to iterate it:
gas: 4067
total cost: 0.090447ꜩ
At what point would this contract get "gas locked"? Is it when it reaches the following hard cap limits?
"hard_gas_limit_per_operation":"1040000",
"hard_gas_limit_per_block":"5200000"
On the main-net, could bakers reject transactions that use too much gas because the transaction fee doesn't scale in relation to the gas fees?