Add wasmd module (#769)
* Add some initial wasmd in app * Wire up wasm gov,ibc, begin/endblock, genesis * Properly register params spaces * Arm64 not supported by wasmd, windows currently not but soon * Default genesis uses permissioned wasm settings * Pass EnabledProposals as an argument to the app constructor to allow for more configurable tests * Add comment, let CI run * Add wasm support to osmosisd command * Allow setting wasmopts in binary, for eg. telemetry * Add wasmd 0.22.0 to go.sum * Update go.mod * Setting up wasmtest environment * Got minimal store proposal test working * Ensure cannot upload code with message (only proposal) * Add instantiation test * Update app setup from PR comments * Cleanup go.mod
Showing
+474 -38
app/wasmtest/README.md
0 → 100644
app/wasmtest/helpers_test.go
0 → 100644
app/wasmtest/store_run_test.go
0 → 100644
app/wasmtest/testdata/download_releases.sh
0 → 100755
app/wasmtest/testdata/hackatom.wasm
0 → 100644
+ 0
- 0
File added
app/wasmtest/testdata/reflect.wasm
0 → 100644
+ 0
- 0
File added
app/wasmtest/testdata/version.txt
0 → 100644
cmd/osmosisd/cmd/genwasm.go
0 → 100644
... | ... | @@ -3,10 +3,11 @@ module github.com/osmosis-labs/osmosis |
go 1.17 | ||
require ( | ||
github.com/CosmWasm/wasmd v0.22.0 | ||
github.com/cosmos/cosmos-sdk v0.45.0 | ||
github.com/cosmos/go-bip39 v1.0.0 | ||
github.com/cosmos/iavl v0.17.3 | ||
github.com/cosmos/ibc-go/v2 v2.0.0 | ||
github.com/cosmos/ibc-go/v2 v2.0.2 | ||
github.com/gogo/protobuf v1.3.3 | ||
github.com/golang/protobuf v1.5.2 | ||
github.com/gorilla/mux v1.8.0 | ||
... | ... | @@ -22,7 +23,7 @@ require ( |
github.com/tendermint/tendermint v0.34.15 | ||
github.com/tendermint/tm-db v0.6.6 | ||
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa | ||
google.golang.org/grpc v1.42.0 | ||
google.golang.org/grpc v1.43.0 | ||
google.golang.org/protobuf v1.27.1 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) | ||
... | ... | @@ -31,6 +32,7 @@ require ( |
filippo.io/edwards25519 v1.0.0-beta.2 // indirect | ||
github.com/99designs/keyring v1.1.6 // indirect | ||
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect | ||
github.com/CosmWasm/wasmvm v1.0.0-beta5 // indirect | ||
github.com/DataDog/zstd v1.4.5 // indirect | ||
github.com/Workiva/go-datastructures v1.0.53 // indirect | ||
github.com/armon/go-metrics v0.3.10 // indirect | ||
... | ... | @@ -47,13 +49,13 @@ require ( |
github.com/danieljoos/wincred v1.0.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect | ||
github.com/dgraph-io/badger/v2 v2.2007.3 // indirect | ||
github.com/dgraph-io/ristretto v0.0.3 // indirect | ||
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect | ||
github.com/dustin/go-humanize v1.0.0 // indirect | ||
github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b // indirect | ||
github.com/felixge/httpsnoop v1.0.1 // indirect | ||
github.com/fsnotify/fsnotify v1.5.1 // indirect | ||
github.com/gin-gonic/gin v1.7.0 // indirect | ||
github.com/go-kit/kit v0.12.0 // indirect | ||
github.com/go-kit/log v0.2.0 // indirect | ||
github.com/go-logfmt/logfmt v0.5.1 // indirect | ||
... | ... | @@ -61,6 +63,7 @@ require ( |
github.com/gogo/gateway v1.1.0 // indirect | ||
github.com/golang/snappy v0.0.3 // indirect | ||
github.com/google/btree v1.0.0 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/orderedcode v0.0.1 // indirect | ||
github.com/gorilla/handlers v1.5.1 // indirect | ||
github.com/gorilla/websocket v1.4.2 // indirect | ||
... | ... | @@ -90,17 +93,17 @@ require ( |
github.com/pelletier/go-toml v1.9.4 // indirect | ||
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/client_golang v1.11.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.30.0 // indirect | ||
github.com/prometheus/common v0.32.1 // indirect | ||
github.com/prometheus/procfs v0.7.3 // indirect | ||
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect | ||
github.com/rs/cors v1.8.0 // indirect | ||
github.com/rs/zerolog v1.23.0 // indirect | ||
github.com/rs/zerolog v1.26.0 // indirect | ||
github.com/sasha-s/go-deadlock v0.2.1-0.20190427202633-1595213edefa // indirect | ||
github.com/spf13/afero v1.6.0 // indirect | ||
github.com/spf13/jwalterweatherman v1.1.0 // indirect | ||
github.com/spf13/viper v1.10.0 // indirect | ||
github.com/spf13/viper v1.10.1 // indirect | ||
github.com/stretchr/objx v0.3.0 // indirect | ||
github.com/subosito/gotenv v1.2.0 // indirect | ||
github.com/syndtr/goleveldb v1.0.1-0.20200815110645-5c35d600f0ca // indirect | ||
github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c // indirect | ||
... | ... | @@ -111,12 +114,15 @@ require ( |
go.etcd.io/bbolt v1.3.6 // indirect | ||
golang.org/x/crypto v0.0.0-20210915214749-c084706c2272 // indirect | ||
golang.org/x/net v0.0.0-20211005001312-d4b1ae081e3b // indirect | ||
golang.org/x/sys v0.0.0-20211205182925-97ca703d548d // indirect | ||
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 // indirect | ||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
gopkg.in/ini.v1 v1.66.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
nhooyr.io/websocket v1.8.6 // indirect | ||
github.com/dgraph-io/badger/v2 v2.2007.3 // indirect | ||
github.com/prometheus/client_golang v1.12.0 | ||
) | ||
replace ( | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment