Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe authored and faddat committed Nov 27, 2021
1 parent 04d1e59 commit 3c55ad7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ compatibility list:

| wasmd | cosmwasm-vm | cosmwasm-std |
| ----- | ----------- | ------------ |
| 0.21 | 1.0.0-beta | 1.0.0-beta |
| 0.20 | 1.0.0-beta | 1.0.0-beta |
| 0.19 | 0.16 | 0.16 |
| 0.18 | 0.16 | 0.16 |
Expand Down Expand Up @@ -183,8 +184,12 @@ Examples:
* [`wasmd`](./Makefile#L50-L55) is a generic, permissionless version using the `cosmos` bech32 prefix

## Genesis Configuration

@alpe we should document all the genesis config for x/wasm even more.
We strongly suggest **to limit the max block gas in the genesis** and not use the default value (`-1` for infinite).
```json
"consensus_params": {
"block": {
"max_gas": "SET_YOUR_MAX_VALUE",
```

Tip: if you want to lock this down to a permisisoned network, the following script can edit the genesis file
to only allow permissioned use of code upload or instantiating. (Make sure you set `app.ProposalsEnabled=true`
Expand Down

0 comments on commit 3c55ad7

Please sign in to comment.