Commit Graph

225 Commits

Author SHA1 Message Date
Alexander Peters
42758d3a13 Rename features to availableCapabilities (#993)
* Rename features to availableCapabilities as in wasmvm

* Review feedback
2022-09-09 09:22:31 +02:00
Alexander Peters
0e41c8cc1c Better wasmvm 1.1 integration test (#988)
* Add cosmwasm_1_1 cability, bump reflect contract, supply query integration test

* Review feedback
2022-09-09 08:36:00 +02:00
Alexander Peters
110d6d784c Merge pull request #991 from CosmWasm/990_test
Test contract history order
2022-09-09 08:06:27 +02:00
Alexander Peters
1c4a5bd3df Merge pull request #974 from CosmWasm/945_access_config_anyof
Introduce new AccessType to allow a set of addresses
2022-09-08 15:21:28 +02:00
Alex Peters
f9912e9333 Test contract history order 2022-09-08 14:48:57 +02:00
xingqiang.yuan
e63e63b0f4 fix bug of contract history 2022-09-08 16:49:42 +08:00
larry
b8c1d76a9a Add query for the total supply of a coin (#903)
* add bank supply query

* remove a local dev dependency
2022-09-07 16:53:55 +02:00
Alex Peters
2567927d09 Parse any of address in CLI; more tests 2022-09-07 15:46:27 +02:00
Alex Peters
089076d065 Formatting only 2022-09-07 12:02:53 +02:00
Alex Peters
a40a10643d Upgrade to wasmvm v1.1.0 2022-09-07 10:28:30 +02:00
jhernandezb
cc9e74075c change default behavior to always pin 2022-09-06 08:13:41 -06:00
jhernandezb
881d0aca94 add pin code flag to store code proposal 2022-09-05 10:32:22 -06:00
jhernandezb
e54d56e95f add params query 2022-08-31 10:58:42 -06:00
Alexander Peters
e714fdf3b4 Charge gas to unzip wasm code (#898)
* Charge gas for unzip wasm code

* Add uncompress test

* Apply review feedback

* Add testcase to uncompress spec
2022-08-31 16:17:03 +02:00
Alexander Peters
b62b7ac94a Merge pull request #905 from shiki-tak/remove-unnecessary-err-check
Remove unnecessary error check
2022-08-24 11:44:56 +02:00
Jacob Gadikian
4875db2055 depracte-ioutil (#934) 2022-08-24 10:21:16 +02:00
Alex Peters
20fb936205 Fix keeper test 2022-08-24 08:54:57 +02:00
Alexander Peters
9d63bc061c Merge pull request #901 from CosmWasm/access_config
Restrict code access config modifications
2022-08-23 17:03:31 +02:00
Alexander Peters
00082a25b8 Make app keepers public (#951)
* use ecosystem convention for keeper names in app.go

* fix linting

* Revert variable renaming

* Deprecate attribute access helper

* Formatting only

* Replace usage of deprecated test helper

* Address linter report

Co-authored-by: faddat <jacobgadikian@gmail.com>
2022-08-23 17:01:04 +02:00
Ethan Frey
f14c46988a Merge pull request #900 from CosmWasm/migration_fix
Prevent migration to a restricted code
2022-08-15 16:53:06 +02:00
Ethan Frey
c25550d775 put sorting fix next to event filtering 2022-07-29 08:42:47 +02:00
Ethan Frey
a697c70650 Code cleanup suggested by @peterbourgon 2022-07-29 08:34:23 +02:00
Alex Lynham
393f49e5cb Fix imports 2022-07-29 08:31:56 +02:00
Alex Lynham
e08c8a37c8 Add sorting fix from terra devs 2022-07-29 08:31:56 +02:00
Ethan Frey
f5804fc57d Merge pull request #917 from CosmWasm/v0.27.0-dont-pass-non-wasm-events-to-reply
Don't pass non-wasm events to reply()
2022-07-29 08:27:47 +02:00
Ethan Frey
ce1cf7446d Fix tests in keeper 2022-07-29 08:12:07 +02:00
Assaf Morami
9671a21430 Oops 2022-07-28 12:53:28 +03:00
Assaf Morami
ee44cc06d0 Don't pass non-wasm events to reply()
Output events are not part of consensus and can be non-deterministic
2022-07-28 12:52:06 +03:00
shiki.takahashi
29340b692a Remove unnecessary error check 2022-07-19 16:24:34 +09:00
Alex Peters
e5ff7c195a Restrict code access config modifications 2022-07-08 14:28:45 +02:00
Alex Peters
ffd8a3c871 Prevent migration to a restricted code 2022-07-08 13:13:21 +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
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