Skip to content

Commit

Permalink
Remove source, builder, codehash from tx.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
orkunkl committed Nov 15, 2022
1 parent fe18c5c commit 121a31e
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 207 deletions.
3 changes: 0 additions & 3 deletions docs/proto/proto-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,9 +456,6 @@ MsgStoreCode submit Wasm code to the system
| `sender` | [string](#string) | | Sender is the that actor that signed the messages |
| `wasm_byte_code` | [bytes](#bytes) | | WASMByteCode can be raw or gzip compressed |
| `instantiate_permission` | [AccessConfig](#cosmwasm.wasm.v1.AccessConfig) | | InstantiatePermission access control to apply on contract creation, optional |
| `source` | [string](#string) | | Source is a valid absolute HTTPS URI to the contract's source code, |
| `builder` | [string](#string) | | Builder is the docker image used to build the code deterministically, used for smart contract verification |
| `code_hash` | [bytes](#bytes) | | CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification |



Expand Down
9 changes: 0 additions & 9 deletions proto/cosmwasm/wasm/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,7 @@ message MsgStoreCode {
// InstantiatePermission access control to apply on contract creation,
// optional
AccessConfig instantiate_permission = 5;
// Source is a valid absolute HTTPS URI to the contract's source code,
string source = 6;
// Builder is the docker image used to build the code deterministically, used
// for smart contract verification
string builder = 7;
// CodeHash is the SHA256 sum of the code outputted by builder, used for smart
// contract verification
bytes code_hash = 8;
}

// MsgStoreCodeResponse returns store result data.
message MsgStoreCodeResponse {
// CodeID is the reference to the stored WASM code
Expand Down
248 changes: 53 additions & 195 deletions x/wasm/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 121a31e

Please sign in to comment.