Commit Graph

7 Commits

Author SHA1 Message Date
Pino' Surace 55190164fd
Test integration update (#1975)
* move tests to integration folder

* Update test integration

* Fix lint

* Fix gas in recurse tests

* Extract ibctesting from x/wasm

* more changes (#1976)

* Fix comments and cleanup

---------

Co-authored-by: Marko Baricevic <marko@baricevic.me>
2024-08-30 15:21:35 +02:00
pinosu c5abd338e3
Add gov proposal simulations (#1107)
* Add weights

* Add helper functions to create new proposals

* Add MigrateContractProposal simulation

* Add SudoContractProposal simulation

* Add PinContractProposal simulation

* Add UnpinContractProposal simulation

* Add UpdateInstantiateConfigProposal simulation

* Add StoreAndInstantiateContractProposal simulation

* Comment out failing simulations

* Fix comments
2022-12-09 12:40:34 +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
GNaD13 fe50854f8d
Add simulation for gov (#1064)
* add struct for sim gov

* add proposal for store contract

* change wasm file

* add proposal instantiate contract

* change admin account

* add sim gov proposals Update Admin

* add sim gov execute contract

* fix some bug

* add sim gov clear admin

* add comment

* fix lint
2022-11-01 11:06:53 +01: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
pinosu 23c75b18b8
Add MsgStoreCode and MsgInstantiateContract support to simulations (#831)
* Add MsgStoreCode and MsgInstantiateContract support to simulations

* Check for permissions in codeInfo
2022-05-03 13:46:18 +02:00
Alexander Peters b8319aa334
Upgrade to cosmos-sdk v0.45.0 (#717)
* Upgrade to cosmos-sdk v0.44.5

* Upgrade to sdk v0.45.0-rc1

* Fix local test deploy scripts

* Bump to v0.45.0 final release

* Fixed replace to 0.45.0 not rc1

* Fix changed import path since rc1

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-01-20 12:47:01 +01:00