Commit Graph

1589 Commits

Author SHA1 Message Date
Alexander Peters
0e0910ebdf Merge pull request #842 from CosmWasm/810_comment
Minor godoc update
2022-05-06 12:14:44 +02:00
Alexander Peters
31697cbe03 Merge pull request #841 from CosmWasm/changelog
Update changelog
2022-05-06 12:14:26 +02:00
Alex Peters
f1273864c9 Minor godoc update 2022-05-06 10:34:47 +02:00
Alex Peters
0a0cb8a53e Update changelog 2022-05-06 10:31:48 +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
bef8a318d8 Merge pull request #837 from CosmWasm/interchain-accounts
Initial ICA integration
2022-05-04 22:10:52 +02:00
Ethan Frey
38932b7149 Remove controller, host-only mode 2022-05-04 21:53:02 +02:00
Alexander Peters
df4397bb61 Merge pull request #838 from CosmWasm/sim_ops_reflect
Fix contract path in simulations
2022-05-04 15:27:29 +02:00
Alex Peters
59adaa2529 Fix contract path in simulations 2022-05-04 12:22:55 +02:00
Ethan Frey
4fb675e24f Initial ICA integration, missing auth setup 2022-05-04 11:42:43 +02:00
Ethan Frey
7b78b7eaa1 Merge pull request #824 from CosmWasm/minimal-ibcv3-upgrade
Minimal ibcv3 upgrade
2022-05-04 11:01:29 +02:00
Ethan Frey
7704459ad8 Add comments 2022-05-04 10:44:13 +02:00
Ethan Frey
b6a796313c go fmt for the linter 2022-05-04 10:34:16 +02:00
Ethan Frey
b4c36e4d7a Fix reflect test 2022-05-04 10:34:16 +02:00
Ethan Frey
cd2e949cfa Proper wiring of ibc transfer module 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
f2c2a58669 Merge pull request #823 from CosmWasm/add-state-sync
Add state sync support
2022-05-04 10:30:18 +02:00
Ethan Frey
1253c8e360 Merge branch 'main' into add-state-sync 2022-05-04 10:18:53 +02:00
Ethan Frey
cb2e8f2ea6 Merge pull request #834 from CosmWasm/add-state-sync_integration
Add snapshotter integration tests and minor cleanup
2022-05-03 21:25:11 +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
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
Ethan Frey
f789aed907 properly register the snapshot manager 2022-04-27 21:01:28 +02:00
Ethan Frey
abfadced9d Rough draft of the restore method using multistore 2022-04-27 21:01:28 +02:00
Ethan Frey
870bba8c27 Make snapshot from keeper 2022-04-27 21:01:28 +02:00
Assaf Morami
3080845986 Add WasmSnapshotter
This helps state sync to track the WASM files too, as they're not in IAVL
2022-04-27 21:01:28 +02:00