Commit Graph

700 Commits

Author SHA1 Message Date
Alex Peters f6ca36f1de
Remove obsolete ibc callback 2022-06-01 12:08:56 +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 2390ea15a0 Create query stack size limit 2022-05-19 10:35:27 +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 76a5053fa6 Expose ibc v3 entry points 2022-05-16 15:42:59 +02:00
Simon Warta 4851278090 Use wasmvm import consistently 2022-05-16 14:19:06 +02:00
Simon Warta 53e735d76e Adapt codebase to new IBC3ChannelOpenResponse return value 2022-05-16 14:17:19 +02:00
Simon Warta 5809ca2843 Use LibwasmvmVersion from wasmvm root 2022-05-16 14:07:51 +02:00
Ethan Frey 27d30513b2 Add a few more tests as requested in review 2022-05-10 16:25:11 +02:00
Ethan Frey a67dae70b7 Enforce permission less permissive than default 2022-05-10 16:09:35 +02:00
Ethan Frey c2ec9092d0 Add compare logic for stricter AccessConfig 2022-05-10 16:09:35 +02:00
Ethan Frey bff3aff95b Run new "make format" 2022-05-09 22:34:26 +02:00
jhernandezb 3ade8159b6 update proto field name 2022-05-09 11:35:37 -06:00
jhernandezb ac6876f657 fix error message 2022-05-09 11:35:37 -06:00
jhernandezb 30f05722f1 address code review comments 2022-05-09 11:35:37 -06:00
jhernandezb a89083261c fix missing gov registration type 2022-05-09 11:35:37 -06:00
jhernandezb 86c61efe70 add code-info query command 2022-05-09 11:35:37 -06:00
jhernandezb bf9c6e2ce6 Add handlers 2022-05-09 11:35:37 -06:00
jhernandezb 931bffeef9 add to docs 2022-05-09 11:35:37 -06:00
jhernandezb 01157fa914 add tests 2022-05-09 11:35:37 -06:00
jhernandezb 7c0763e57b add to EnableAllProposals 2022-05-09 11:35:37 -06:00
jhernandezb cd76a61bcf update UpdateInstantiateConfigProposal proto definition 2022-05-09 11:35:37 -06:00
jhernandezb 72710effca add UpdateInstantiateConfig gov proposal 2022-05-09 11:35:37 -06:00
Alexander Peters 5bb0673264
Proto updates (#847)
* Bump ibc protos to v3

* Bump tendermint protos to v0.34.19

* Fix proofs path

* Format all
2022-05-09 16:32:13 +02:00
Jorge Hernandez 25c8ac63da
Add libwasm-version query command (#846)
* add vm-version query command

* update command name
2022-05-09 10:44:01 +02:00
Alexander Peters 96a9b5a303
Bump wasmvm to v1.0.0-rc.0 (#844)
* Bump wasmvm to v1.0.0-rc.0

* Fix linter warning

* Replace deprecated types

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-05-06 14:54:02 +02:00
Alex Peters f1273864c9
Minor godoc update 2022-05-06 10:34:47 +02:00
Jorge Hernandez cd3c9ddddb
Add instantiate permission to CodeInfoResponse (#836)
* Add instantiate permission to CodeInfoResponse

* add query code info test

* add codes query response test
2022-05-05 15:20:51 +02:00
Alex Peters 59adaa2529
Fix contract path in simulations 2022-05-04 12:22:55 +02:00
Ethan Frey 7704459ad8 Add comments 2022-05-04 10:44:13 +02:00
Ethan Frey b4c36e4d7a Fix reflect test 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 f79a46b396 update test 2022-05-04 10:34:16 +02:00
vuong f5bba58741 update ChannelKeeper for ibc v3 2022-05-04 10:34:15 +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 fe347c6b1a
Merge pull request #835 from CosmWasm/remove_duplicated_testdata
Delete duplicate testdata from simulation
2022-05-04 10:30:29 +02:00
Ethan Frey 1253c8e360 Merge branch 'main' into add-state-sync 2022-05-04 10:18:53 +02:00
Pino' Surace eb392a4b34 Delete duplicate testdata from simulation 2022-05-03 16:06:59 +02:00
Alex Peters a5695eeda1
Fix linter warnings 2022-05-03 14:34:20 +02:00
Alex Peters 297a646c95
Minor test update 2022-05-03 14:05:27 +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
Jorge Hernandez fb2d2f2ab9
Add instantiate-nobody flag to cli store cmd (#827)
* add instantiate-nobody flag to cli store cmd

* add flag to genesis store cmd

* update flag description
2022-05-03 09:33:46 +02:00
Jorge Hernandez 591ff72868
fix: allow no admin in instantiation through proposal (#828)
* fix: allow no admin in instantiation through proposal

* add test for invalid amin address
2022-05-02 15:59:40 +02:00
Alexander Peters bfb4d31fca
Consolidate MaxWasmSize constraints into a single var (#826)
* Convert MaxWasmSize to var

Also removes redundant maxWasmSize param

* Convert MaxWasmSize to int

* Update CHANGELOG

* Complete max wasm size changes

* Update compile flags

Co-authored-by: Cole Brown <bigswim@gmail.com>
2022-04-29 18:54:06 +02:00
Ethan Frey cdcb18d3ad Cleanup from Simon's comments 2022-04-28 20:55:01 +02:00
Ethan Frey a154a9a124 SRemove loading history until I can fix tests here 2022-04-28 15:43:52 +02:00
Ethan Frey 7663d6ffdd Cannot commit in my test cases to load from proper height 2022-04-28 15:39:16 +02:00