Commit Graph

137 Commits

Author SHA1 Message Date
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
Ethan Frey
2b0b1677df Prepare release notes for 0.27 (#860)
* Add warning notes about intertx

* Update CHANGELOG

* Run all tests on m1 as it is stable now
2022-05-17 13:13:57 +02:00
Ethan Frey
663716aec0 Merge pull request #851 from CosmWasm/gofumpt
Gofumpt
2022-05-10 13:35:16 +02:00
Ethan Frey
bff3aff95b Run new "make format" 2022-05-09 22:34:26 +02:00
Ethan Frey
db195f610a Import interTx controller from cosmos/interchain-accounts 2022-05-09 21:40:36 +02:00
Ethan Frey
748d4f7c29 Revert "Remove controller, host-only mode"
This reverts commit 38932b7149.
2022-05-09 21:40:36 +02:00
Ethan Frey
38932b7149 Remove controller, host-only mode 2022-05-04 21:53:02 +02:00
Ethan Frey
4fb675e24f Initial ICA integration, missing auth setup 2022-05-04 11:42:43 +02:00
Ethan Frey
b6a796313c go fmt for the linter 2022-05-04 10:34:16 +02:00
Ethan Frey
b4c36e4d7a Fix reflect test 2022-05-04 10:34:16 +02:00
Ethan Frey
cd2e949cfa Proper wiring of ibc transfer module 2022-05-04 10:34:16 +02:00
Ethan Frey
bd68315e7a Code compiles, but ibc transfer disabled 2022-05-04 10:34:16 +02:00
Ethan Frey
5c82f4edd0 Fixups 2022-05-04 10:34:16 +02:00
vuong
97e067e006 add counterpartyChannelID param to wasm IBCHandler.OnChainOpenAck 2022-05-04 10:34:15 +02:00
Jacob Gadikian
f740dae543 push smol thing to github so can work with Mr. Vuong 2022-05-04 10:34:15 +02:00
Ethan Frey
1253c8e360 Merge branch 'main' into add-state-sync 2022-05-04 10:18:53 +02:00
Alex Peters
a5695eeda1 Fix linter warnings 2022-05-03 14:34:20 +02:00
Alex Peters
6b4accb3b6 Add snapshotter integration tests and minor cleanup 2022-05-03 13:48:30 +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
Ethan Frey
fea9d393f1 Basic tend to end test for no errors 2022-04-27 21:41:27 +02:00
Ethan Frey
f68ef900d3 Fix linting errors 2022-04-27 21:01:28 +02:00
Ethan Frey
9952475228 Move snapshotter to keeper and implement 2022-04-27 21:01:28 +02:00
Ethan Frey
f789aed907 properly register the snapshot manager 2022-04-27 21:01:28 +02:00
Ethan Frey
870bba8c27 Make snapshot from keeper 2022-04-27 21:01:28 +02:00
Assaf Morami
3080845986 Add WasmSnapshotter
This helps state sync to track the WASM files too, as they're not in IAVL
2022-04-27 21:01:28 +02:00
Alex Peters
1a0469cf4c Set end block order 2022-01-27 15:40:54 +01: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
Alexander Peters
efe87743e4 Limit simulation gas (#674)
* Limit simulation gas

* Put parameters on separate lines
2021-11-17 17:20:26 +01:00
Alexander Peters
c18bc4b00e Add linter name and minor golint related updates (#663) 2021-10-25 15:33:21 +02:00
Alexander Peters
465c085e15 Revert error handling on export (#662) 2021-10-25 15:22:42 +02:00
fkneeland-figure
57517b0c33 Add golangci lint check on pull requests (#645)
* added golangci lint check on pull requests

* changelog update

* updated to use circleci instead of github actions

* testing a golang change

* added workflow

* updated how we find the golangci command in the make file

* using orb for golangci

* Added golangci install make command

* use docker image for golangci

* stop using make in circleci

* reverted golang change to trigger ci

* gofmt

* make fmt

* fixed a few things

* updated version on golintci

* fixed all the lint errors

* check version

* skipped wrongly failing lint

* Revert generated file changes

* fix import grouping, return errors on failures, initialization of arrays revert

* fixed a few lint errors

* addressed more code review comments

* updated with error check

* increased timeout for golangci-lint

* dont format autogenerated files

Co-authored-by: Carlton Hanna <channa@figure.com>
2021-10-25 09:09:47 +02:00
fkneeland-figure
dd390d7f5f Go Formatting update (#648)
* make fmt

* changelog update
2021-10-21 14:54:16 +02:00
Ethan Frey
2abbc00baf More bank/cw20 benchmarks (#651)
* Add blocks of 1000 tx

* Increase Block.MasGas for tests/benchmarks

* Add huge initialization
2021-10-19 10:06:52 +02:00
Ethan Frey
dee6b696e6 Initial account creation also creates cw20 balances 2021-10-08 23:47:20 +02:00
Ethan Frey
b36e25db3c Set up cw20 transfer test case 2021-10-08 21:36:11 +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
Alexander Peters
5e88752011 Merge pull request #627 from CosmWasm/upgrade_sdk
Upgrade Cosmos-sdk v0.42.10
2021-10-06 16:52:09 +02:00
Alex Peters
b605a30a14 Upgrade Cosmos-sdk v0.42.10 2021-10-06 16:46:35 +02:00
Alex Peters
23ffdc9dc2 Add capabilities to begin block 2021-10-06 16:35:03 +02:00
Alexander Peters
58f3776f6e Implement tx counter for transaction info (#621)
* Implement tx counter for transaction info

* Count tx before pre-conditions

* Doc update
2021-09-27 21:53:01 +02:00
Ethan Frey
f5dc720926 Important: add iterator feature support 2021-09-22 19:11:49 +02:00
Alex Peters
9ec97b5de9 Handle wasmvm Burn message 2021-04-13 10:27:23 +02:00
Alex Peters
03bf7b0adf Introduce new interfaces for extendability 2021-03-24 14:11:42 +01:00
Alex Peters
6996f72b38 Handle non default ibc tranfer port 2021-03-18 15:31:33 +01:00
Alexander Peters
8e35dc260b Refactor wasm message handlers and query plugin (#460)
* Refactor wasm message handlers

* Add handler plugin tests

* Review feedback

* Add handler and query tests
2021-03-18 15:31:12 +01:00
Alex Peters
60b5100aa6 Fix blocklist 2021-03-11 09:09:53 +01:00
Alex Peters
6c3c1978b7 Pin/Unpin contract 2021-03-07 13:40:13 +01:00
Ethan Frey
0c3460e09f Add stargate support to wasm querier plugins 2021-03-04 15:42:35 +01:00
Leonardo Bragagnolo
d0befd973d Added randomized simulation parameters generation (#389)
* added simulation params

* fixed return types

* implemented full sim test on wasmd

* removed wrong committed github action

* switched to a import export test since i'm introducing params and genesis simulations

* fixed makefile

* Fixed sim test flags not working

* fixed some errors on sim test

* fixed conflicts
still a failure to be solved

* fixed wasm params error

* added missing codec

* Update params.go

removed unused import

* fixed intellij cache errors

* added full app simulation test that pass

* added README.md for sims credits
added me into contributors list

Co-authored-by: riccardo.montagnin <riccardo.montagnin@gmail.com>
2021-02-05 13:19:14 +01:00
Alexander Peters
0f46dee0c4 Implement IBC contract support (#394)
* Implement IBC contract support

* Update changelog

* Adjust tests for new event logic

* Review comment
2021-01-29 11:11:15 +01:00