Closed aumetra closed 2 weeks ago
This PR also adds a Nix flake. I can remove it again if it's not wanted in-tree, I just used it to set up a Go development environment quickly. Installing everything manually would have taken me longer, so a few lines of Nix and a nix develop
later made that way quicker
The 2.1.0-rc.1 is released now and merged on main, so this can be updated to that.
@chipshort Rebased on main
Okay, I finally figured it out. I really don't know Go well enough..
Basically, our previous MessagePack library in Go didn't like the new format. But doesn't matter because this new library doesn't care and is actually faster.
Add Go FFI bindings for the new pinned metrics. Uses MessagePack as the encoding format for complex types across the boundary.
Follow-up to https://github.com/CosmWasm/cosmwasm/issues/2034
(This is me whipping out my rusty (haha, funny pun) Go skills from around (if not before) Go 1.11)
TODO: