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>
This commit is contained in:
Alexander Peters
2022-05-31 10:07:16 +02:00
committed by GitHub
parent 34e078346b
commit 2a9c5c1ea5
15 changed files with 499 additions and 220 deletions

View File

@@ -116,6 +116,19 @@ jobs:
cd ./benchmarks
go test -bench .
simulations:
executor: golang
parallelism: 1
resource_class: large
steps:
- checkout
- run:
name: Run simulations
command: |
make test-sim-multi-seed-short
- store_artifacts:
path: /tmp
upload-coverage:
executor: golang
steps:
@@ -218,3 +231,6 @@ workflows:
- benchmark:
requires:
- test-cover
- simulations:
requires:
- setup-dependencies