babylonlabs-io / babylon-contract

CosmWasm smart contracts for Babylon integration
Other
10 stars 6 forks source link

optimisation: using iterator to get base/tip in KVStore #3

Open maurolacy opened 3 months ago

maurolacy commented 3 months ago

@SebastianElvis cloned issue babylonchain/babylon-contract#25 on 2023-05-06:

We can avoid storing base/tip in KVStore again by using iterator

Context: https://www.github.com/babylonchain/babylon-contract/pull/23#discussion_r1179923274