-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add cosmwasm-std message for community pool #288
Comments
It's compatible with the official wasmvm v1.1.2 and cosmwasm v1.2. However, MsgFundCommunityPool has to be added to wasmvm and cosmwasm |
@inon-man: I wonder If it would makes sense to add it into the terra-bindings and provide it as custom msg. This way we won't need to push it upstream - which probably takes ages to get merged and available for dApp builders on classic? |
I think it is possible and probably the best way to go. |
Ok. I will try to push it upstream in parallel. |
Hi! Happy to add this upstream. In the meantime also note this Anybuf implementation as a workaround for contract devs: |
Hey. Just for the sake of completeness I am adding all the PRs for this feature in this list:
We can backport these features into our downstream repos so they can be used by contract owners as git dependency in their corresponding |
I don't think it would break the consensus? Where do you feel it so from? |
@inon-man: I was thinking: A validator that accepts the message from the mempool and deserializes it correctly will pass it on to be further processed. A validator that not matches against the new DistributionMsg variant would fail to process it. So state for both validators would end up being different. Thus I was believing it breaks consensus... |
@fragwuerdig I think you are right. It's a state breaking change. |
@inon-man does this one needs a migration logic in upgrade? |
@fragwuerdig do you have an example contract on this? |
@nghuyenthevinh2000: I can certainly make one... One that sends its own balance to CP using a permissionless trigger msg. Make an issue and assign me if you like. |
you can find it here: #326 |
We are requesting to add the cosmwasm-std crate so we can implement the necessary bindings into our smart contracts.
Edit by @fragwuerdig
When I understand it correctly you want us to add
MsgFundCommunityPool
to the wasm bindings so you can use it in smart contracts. Which is an excellent idea imho.MsgFundCommunityPool
from the distribution module accordinglyThe text was updated successfully, but these errors were encountered: