Commit Graph

22 Commits

Author SHA1 Message Date
Alexander Peters
957b38e0a5 Integrate wasmvm v1.2.0 (#1161)
* Bump wasmvm version

* Bump wasm test contracts

* Encode weighted votes

* Encode instantiate2

* Handle code info query; better wasmvm errors

* Fix readme

* Make linter happy

* add non cgo build

* Review comments

* Bump wasmvm to release version

Co-authored-by: jhernandezb <contact@jhernandez.me>
2023-01-25 10:01:26 +01:00
GNaD13
bfb4bc08ef Add weighted operations run simulation (#1055)
* add WeightedOperations msg update admin

* add check contract info condition

* add fnc simulate migrate

* add weights operations migrate contract

* fix simulation msg update admin

* add simulation.NewWeightedOperation

* add sml msg clear admin

* fix lint

* remove msg migrate

* change admin to use test account

* add migrate

* add new contract for simulation migrate

* correct return log

* Polish SimulateMsgMigrateContract

Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2022-11-02 09:54:15 +01:00
Alexander Peters
0e41c8cc1c Better wasmvm 1.1 integration test (#988)
* Add cosmwasm_1_1 cability, bump reflect contract, supply query integration test

* Review feedback
2022-09-09 08:36:00 +02:00
Alexander Peters
e714fdf3b4 Charge gas to unzip wasm code (#898)
* Charge gas for unzip wasm code

* Add uncompress test

* Apply review feedback

* Add testcase to uncompress spec
2022-08-31 16:17:03 +02:00
Alexander Peters
2a9c5c1ea5 Fix wasm simulations (#870)
* Fix wasm simulations + make functions compatible with tgrade

* Fix lint issues

* Fix simulation setup

* Make simulations store msg pass

* Use default values params to make operations succeed

* Normalize wasm store

* Add simulations to circleci config

* Run simulation in temp dir

* Store sim logs

* Increase circleci machine type

* Extract reflect contract api into helper

* Add execute msg to simulations

* Embed refect wasm contract

Co-authored-by: Pino' Surace <pino.surace@live.it>
2022-05-31 10:07:16 +02:00
Simon Warta
2afcdb4ae9 Upgrade wasmvm to v1.0.0-beta 2021-10-11 16:40:45 +02:00
Alexander Peters
62e976a551 Upgrade wasmvm-v1.0.0-soon2 (#628)
* Upgrade wasmvm-v1.0.0-soon2

* Improve comment on DefaultGasMultiplier

Co-authored-by: Simon Warta <simon@warta.it>
2021-10-07 14:11:37 +02:00
Ethan Frey
f93461daf4 Use v1.0.0-soon contracts 2021-09-22 19:09:59 +02:00
Alex Peters
0e4916996e Download cosmwasm contracts 2021-08-11 14:25:43 +02:00
Ethan Frey
a579455fdb Update ibc reflect contract from CosmWasm PR 1046 2021-08-11 11:00:39 +02:00
Ethan Frey
095ba8cb2f update test contracts to cosmwasm v0.16.0 2021-08-05 18:53:07 +02:00
Ethan Frey
b25956d0a1 Use v0.16.0-rc5 contracts 2021-07-28 23:04:02 +02:00
Ethan Frey
77a38e25ef Contracts to v0.16.0-rc4, wasmvm to v0.16.0-rc2 2021-07-22 15:53:40 +02:00
Ethan Frey
d1f4ae398c Update to cosmwasm 0.16.0-rc3 contracts, with some fixes 2021-07-21 22:05:45 +02:00
Ethan Frey
e23ee1765a Bump wasmvm and testdata to v0.16.0-rc1 2021-07-21 21:12:07 +02:00
Alex Peters
b0b1fa88bc Upgrade wasmvm v0.15.x 2021-07-07 09:53:03 +02:00
Ethan Frey
0576bab625 Update deps, contracts, and Dockerfile to v0.14.0 2021-05-03 17:11:46 +02:00
Alexander Peters
3d4b3d184f Upgrade to wasmvm v0.14.0-rc1 (#508)
* Upgrade to wasmvm v0.14.0-rc1

* Update contracts from cosmwasm#910, re-enable test

* Fix parsing in query type

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2021-04-30 08:26:41 +02:00
Ethan Frey
846611bcd2 Update to wasmvm v0.14.0-beta5 (#504)
* Bump deps and contracts to v0.14.0-beta5

* Add admin field/variants to WasmMsg handling

* Compiles

* Update usage of IBC Timeout in tests

* Minor doc/test/Dockerfile updates

Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2021-04-28 14:35:48 +02:00
Ethan Frey
9ebeb859cf Update to wasmvm 0.14.0-beta4 (#499)
* Update deps and test contracts to v0.14.0-beta4

* Update to new DistributionMsg, StakingQuery

* Fix existing tests

* Add test for single Validator query
2021-04-27 08:24:38 +02:00
Ethan Frey
39856bf028 Deps and contracts to v0.14.0-beta3 2021-04-12 21:27:11 +02:00
Alexander Peters
d9142662c1 Remove internal package (#464)
* Move internal subfolders up

* Fix broken imports and fmt
2021-03-19 09:52:01 +01:00