-
Notifications
You must be signed in to change notification settings - Fork 30
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
Detaching the custom wasm proto part of lbm-sdk #623
Labels
Comments
5 tasks
5 tasks
This was referenced Aug 29, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Modify
cosmwasm/wasm
proto files in proto directory to be same ascosmwasm/wasmd
(https://github.com/CosmWasm/wasmd/tree/main/proto/cosmwasm/wasm/v1)And detaching custom
wasm
's proto part.Problem Definition
We changed
x/wasm
's proto path from #617 to the same ascosmwasm/wasmd
's proto path.StoreCodeAndInstantiateContract
tx is not exist in originalcosmwasm/wasmd
's path, but it exists in wasm proto. https://github.com/line/lbm-sdk/blob/9ba6ea37c656a09697e49f81a62e78326f0455f0/proto/cosmwasm/wasm/v1/tx.proto#L18-L19This causes compatibility issues with
cosmwasm/wasmd
.So we need to detaching lbm-sdk's custom wasm proto part including
StoreCodeAndInstantiateContract
.Proposal
detaching
StoreCodeAndInstantiateContract
from wasm's tx.proto.replace contract blacklist function
ContractInfo
struct of wasm's type.proto to origin.ContractStatus
ofContractInfo
.genesis
proto inlbm/wasm/v1
. this genesis is similar withwasmd
's genesis, but add the black list function instead ofContractStatue
ofContractInfo
struct.add the proposals to add or remove contract black list.
add contract black list query API.
For Admin Use
The text was updated successfully, but these errors were encountered: