Commit Graph

189 Commits

Author SHA1 Message Date
Alex Peters 60ebd838cf
Fix simulation setup 2022-05-13 10:59:31 +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 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 30f05722f1 address code review comments 2022-05-09 11:35:37 -06:00
jhernandezb 01157fa914 add tests 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 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
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
Ethan Frey 5c82f4edd0 Fixups 2022-05-04 10:34:16 +02:00
vuong f79a46b396 update test 2022-05-04 10:34:16 +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 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
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
Ethan Frey d8426fbc1e Updates inspired by @giansalex branch 2022-04-28 15:26:23 +02:00
Ethan Frey 9705a8dc9c Address @giansalex PR comments 2022-04-27 21:45:31 +02:00
Ethan Frey fea9d393f1 Basic tend to end test for no errors 2022-04-27 21:41:27 +02:00
Ethan Frey a5dd494aaa Start testing snapshots 2022-04-27 21:30:32 +02:00
Ethan Frey d2b0fb547b Properly handle when a message not for this extension arrives 2022-04-27 21:01:28 +02:00
Ethan Frey abad37d1e6 Avoid sending duplicate wasm codes over the wire 2022-04-27 21:01:28 +02:00
Ethan Frey f68ef900d3 Fix linting errors 2022-04-27 21:01:28 +02:00
Ethan Frey 4cccddbb37 Put GzipIt and Uncompress logic in a common folder 2022-04-27 21:01:28 +02:00
Ethan Frey 1b3c133fbe Add compression to snapshot wasm bytecode 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
Simon Warta 65729c5c76
Merge pull request #812 from CosmWasm/disable-stargate
Disable stargate queries
2022-04-21 11:07:12 +02:00
Simon Warta 38cf60a168 Remove dead code to make linter happy 2022-04-21 10:55:25 +02:00
Simon Warta 7c7840c32a Disable stargate queries 2022-04-18 10:04:03 +02:00
Alex Peters 45c826a86b
Revisit gov params doc and tests 2022-04-13 11:14:22 +02:00
Alexander Peters 68b4908b78
Unpack contract details from genesis (#802)
* Unpack contract details from genesis

* Address linter warnings
2022-04-12 17:46:44 +02:00
Alexander Peters 64d39c3c11
Merge pull request #799 from CosmWasm/empty_events
Tests some event edge cases
2022-04-06 21:23:10 +02:00
Simon Warta 72062f160e Upgrade wasmvm to v1.0.0-beta10 2022-04-06 14:02:49 +02:00
Alex Peters 1dd874afdc
Add more tests for event edge cases 2022-04-06 11:21:04 +02:00
Alex Peters a543aa53a1
Use callback pattern for contract state iterator 2022-03-25 10:56:21 +01:00
Albert Chon 1c9a1e11b6 fix: close iterators 2022-03-22 19:38:34 -04:00
Ethan Frey f35326ab27 Ensure SystemError is consistently unredacted 2022-03-09 19:50:55 +01:00
Ethan Frey 2bd4041bb8 Skip a few more tests on m1 2022-03-09 15:50:55 +01:00
Ethan Frey 380301da0b Improve how we redact query errors 2022-03-09 15:49:39 +01:00
Ethan Frey 2700e6b03e
Merge pull request #774 from CosmWasm/wasmvm-beta7
Update to wasmvm beta7
2022-03-09 12:28:40 +01:00
Ethan Frey a2512c49e1
Merge pull request #778 from CosmWasm/public_utils
Make type conversion helpers public
2022-03-09 12:27:40 +01:00
Ethan Frey c1a72f7f25
Merge pull request #776 from CosmWasm/limit-stargate-querier
Verify Stargate Queries handles properly
2022-03-09 12:26:39 +01:00
Ethan Frey 4c12353e65 cleanup from PR comments 2022-03-09 12:12:06 +01:00