Dev Ojha
Dev Ojha
We've tested this gave a speedup on IAVL v1 on Osmosis!
Would really appreciate us doing this!
In support of using that library! Though I think its probably advisable to turn off AVX 512 via build flag, given the SDK workload (https://lemire.me/blog/2018/09/07/avx-512-when-and-how-to-use-these-new-instructions/)
I don't think this is complete. If the child thing out of gas's, you get a panic, no? So we have to catch the panic, and return an error. This...
Thats not true for beginblock/endblock code! And more importantly, CW contracts may appear in things that assume a contract they won't panic. (In swaps, we do catch all panics though)
So the state machine usage of this is massively overpaying: ``` func twapLog(price osmomath.Dec) osmomath.Dec { if price.IsZero() { panic("twap: cannot take logarithm of zero") } return osmomath.BigDecFromDec(price).LogBase2().Dec() } ```...
No idea, I'm down for just like 25k gas for now
Going to close without more context. I don't get why
This isn't forked code correct? If so, imo we should put it in the SDK? (Any change we make here, I'd also want to get into the SDK) The real...
Going to close, with the solution needed is that we need tooling to make an archive node / architecture that makes a separate DB per app version. I am told...