Commit Graph

721 Commits

Author SHA1 Message Date
Alex Peters
dda8cbb84e Remove obsolete cli gov params 2022-08-31 17:27:26 +02: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
60da5c03d6 Ugrade sdk to v0.45.7 (#959)
* 457

* upgrade ci

* go get -> go install

* change denom to new format

* Update config.yml

* Revert "change denom to new format"

This reverts commit e637cf5aa417f5df9b91c196d97de85dcb70db01.

* bump ibc-go to v3.2.x

* Update config.yml

* ibc-go v3.2.0

* Revert ibc-go version upgrade

Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
2022-08-25 10:52:47 +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
shiki.takahashi
72e8b7d40b Remove unnecessary string 2022-07-08 15:55:43 +09:00
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