Commit Graph

102 Commits

Author SHA1 Message Date
Alex Peters
ccb2fdd0b6 Make contract addresses predictable 2022-09-09 12:42:41 +02:00
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
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
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
743c1c34e0 Prevent empty addresses list 2022-09-07 12:01:29 +02:00
Alex Peters
2674c53d7b Introduce AccessTypeAnyOfAddresses 2022-09-07 12:01:29 +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
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
Alex Peters
e5ff7c195a Restrict code access config modifications 2022-07-08 14:28:45 +02:00
Simon Warta
2390ea15a0 Create query stack size limit 2022-05-19 10:35:27 +02:00
Ethan Frey
76a5053fa6 Expose ibc v3 entry points 2022-05-16 15:42:59 +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
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
a89083261c fix missing gov registration type 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
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
vuong
f5bba58741 update ChannelKeeper for ibc v3 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
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
8ca55b78fc Merge pull request #822 from CosmWasm/move-const-label-to-var
Make MaxLabelSize a var not const
2022-04-27 21:01:11 +02:00
Simon Warta
1e892acd36 Make IsJSONObjectWithTopLevelKey public 2022-04-27 17:00:03 +02:00
Simon Warta
8fc4714a0b Add and test JSON object matcher 2022-04-27 17:00:03 +02:00
Ethan Frey
fbae4e86b4 Make MaxLabelSize a var not const 2022-04-27 15:40:54 +02:00
Alex Lynham
190b8cc306 Add ExecuteContractProposal test 2022-04-21 22:46:51 +01:00
Alex Lynham
64e1fca042 Add a basic validation test 2022-04-17 22:56:09 +01:00
Alex Lynham
e86a13d838 Add missing sudo and execute to codec 2022-04-17 22:29:30 +01: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
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
Ira Miller
e03c7f4f88 Relaxed address strength restrictions for legacy 20 byte addresses (#772)
* Use the length of contractAddr to support variable length addresses

* Add contract address len to index

* Add changelog entry

* Add tests to assure old address length is still supported

Co-authored-by: Carlton Hanna <channa@figure.com>
2022-03-03 18:16:02 +01:00
Alexander Peters
e0e6cc4b55 Merge pull request #752 from loloicci/missing-colon
Add missing colons in String of some proposals
2022-02-15 12:24:12 +01:00
loloicci
bc1087db2c add missing colons in String of some proposals 2022-02-10 22:32:17 +09:00
pinosu
07153801fc Add cosmwasm project prefix to REST query paths (#743)
* Add cosmwasm project prefix to REST query paths
2022-02-08 08:34:04 +01:00
Alex Peters
f8d25eb930 Update IBC protobufs 2022-01-28 11:58:05 +01:00
Ethan Frey
fb568e3ef7 Allow sending tokens along with governance wasm_execute proposal 2022-01-24 21:18:29 +01:00
Ethan Frey
6a2a9d0bfa fix tests 2022-01-24 20:23:20 +01:00
Ethan Frey
0a96e26fba Remove RunAs from Migrate proposal 2022-01-24 20:00:01 +01:00
Ethan Frey
53a44eb4d7 Wire up proposal handlers 2022-01-24 19:54:26 +01:00
Ethan Frey
d227112cc3 Registered new proposal types 2022-01-24 19:54:26 +01:00
Ethan Frey
6bd6ffe90b Compile proto files 2022-01-24 19:54:26 +01:00