Skip to content

Commit 02938b0

Browse files
authored
Merge pull request #239 from CosmWasm/update-to-0.10
Update to 0.10
2 parents 6c1f75b + 4ef8a8f commit 02938b0

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99

1010
This repository hosts `Wasmd`, the first implementation of a cosmos zone with wasm smart contracts enabled.
1111

12-
This code was forked from the `cosmos/gaia` repository and the majority of the codebase is the same as `gaia`.
12+
This code was forked from the `cosmos/gaia` repository as a basis and then we added `x/wasm` and cleaned up
13+
many gaia-specific files. However, the `wasmd` binary should function just like `gaiad` except for the
14+
addition of the `x/wasm` module.
1315

1416
**Note**: Requires [Go 1.13+](https://golang.org/dl/)
1517

16-
**Compatibility**: Last merge from `cosmos/gaia` was `090c545347b03e59415a18107a0a279c703c8f40` (Jan 23, 2020)
17-
1818
## Supported Systems
1919

2020
The supported systems are limited by the dlls created in [`go-cosmwasm`](https://github.com/CosmWasm/go-cosmwasm). In particular, **we only support MacOS and Linux**.
@@ -38,16 +38,21 @@ and everything with `v0.7.x` tags is compatible with each other.
3838
We will have a series of minor version updates prior to `v1.0.0`,
3939
where we offer strong backwards compatibility guarantees.
4040

41-
We are currently on `v0.9` and targeting `v0.10` for late July, at which point
42-
we will have feature freeze for the `v1` tag and only perform needed bugfixes
43-
(which may be API breaking).
41+
We released `v0.10` on July 31, 2020, and have a `v1.0` feature freeze now.
42+
We will be performing bug fixes, security patches, and performance improvements,
43+
but the API should be stable and compatible with `v1.0`.
4444

4545
Thank you to all projects who have run this code in your testnets and
4646
given feedback to improve stability.
4747

4848
## Encoding
4949

50-
We use standard cosmos-sdk encoding (amino) for all sdk Messages. However, the message body sent to all contracts, as well as the internal state is encoded using JSON. Cosmwasm allows arbitrary bytes with the contract itself responsible for decodng. For better UX, we often use `json.RawMessage` to contain these bytes, which enforces that it is valid json, but also give a much more readable interface. If you want to use another encoding in the contracts, that is a relatively minor change to wasmd but would currently require a fork. Please open in issue if this is important for your use case.
50+
We use standard cosmos-sdk encoding (amino) for all sdk Messages. However, the message body sent to all contracts,
51+
as well as the internal state is encoded using JSON. Cosmwasm allows arbitrary bytes with the contract itself
52+
responsible for decodng. For better UX, we often use `json.RawMessage` to contain these bytes, which enforces that it is
53+
valid json, but also give a much more readable interface. If you want to use another encoding in the contracts, that is
54+
a relatively minor change to wasmd but would currently require a fork. Please open in issue if this is important for
55+
your use case.
5156

5257
## Quick Start
5358

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/CosmWasm/wasmd
33
go 1.13
44

55
require (
6-
github.com/CosmWasm/go-cosmwasm v0.10.0-alpha4
6+
github.com/CosmWasm/go-cosmwasm v0.10.0
77
github.com/cosmos/cosmos-sdk v0.39.1-0.20200727135228-9d00f712e334
88
github.com/golang/mock v1.4.3 // indirect
99
github.com/google/gofuzz v1.0.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ
99
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
1010
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg=
1111
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4=
12-
github.com/CosmWasm/go-cosmwasm v0.10.0-alpha4 h1:1a3j/vdhnyYvUV+67Hg3GU87M9wn1jR6bReXDwy+TZQ=
13-
github.com/CosmWasm/go-cosmwasm v0.10.0-alpha4/go.mod h1:gAFCwllx97ejI+m9SqJQrmd2SBW7HA0fOjvWWJjM2uc=
12+
github.com/CosmWasm/go-cosmwasm v0.10.0 h1:3DBOiGtLllevLgf8PQO5+hRCKKqYEQJIw6cgaZzr1Ag=
13+
github.com/CosmWasm/go-cosmwasm v0.10.0/go.mod h1:gAFCwllx97ejI+m9SqJQrmd2SBW7HA0fOjvWWJjM2uc=
1414
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
1515
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
1616
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=

0 commit comments

Comments
 (0)