Commit Graph

12 Commits

Author SHA1 Message Date
pinosu dd22204644
Add store code authz (#1591)
* Start implementation

* Add implementation + some e2e test

* Fix lint

* Fix comments

* Add ante handler

* Add cli cmd + more test cases

* Add cli tests

* Add ante handler test

* Add more tests

* Fix comments

* Enable empty permissions for the grant

* Fix lint

* Update version
2023-09-14 13:28:57 +02:00
Jacob Gadikian 8627f85275
style: lint wasmd in the same manner as cosmos-sdk (#1537)
* golangci-lint run ./... --fix

* linting completed

* use the CosmWasm repo as part of the gci config
2023-07-31 15:53:20 +02:00
pinosu 1763477831
Remove check for wasm limit size in state sync (#1471)
* Remove check for wasm limit size in state sync

* Fix comments

* Store original value in variable
2023-07-05 11:33:35 +02:00
mergify[bot] e3699209d7
Use ICS4Wrapper to send raw IBC packets & fix Fee middleware in wasm stack (backport #1375) (#1379)
* Use ICS4Wrapper to send raw IBC packets & fix Fee in wasm stack

(cherry picked from commit 6dfa5cb41c)

# Conflicts:
#	app/app.go
#	x/wasm/keeper/handler_plugin.go
#	x/wasm/keeper/keeper_cgo.go
#	x/wasm/keeper/keeper_test.go
#	x/wasm/keeper/options_test.go
#	x/wasm/keeper/test_common.go

* Fix merge conflicts

* Inline ibc packet sender interface and minor chore

* Rename IBCPacketSender

---------

Co-authored-by: Assaf Morami <assaf.morami@gmail.com>
Co-authored-by: Alex Peters <alpe@users.noreply.github.com>
2023-05-08 18:57:26 +02:00
Alex Peters 5055aac69a
More verbose error message 2023-04-21 12:22:01 +02:00
Simon Warta 4df88042df Add source for Wasm magic number 2023-03-27 13:43:20 +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
Jacob Gadikian 4875db2055
depracte-ioutil (#934) 2022-08-24 10:21:16 +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 bff3aff95b Run new "make format" 2022-05-09 22:34:26 +02:00
Ethan Frey cdcb18d3ad Cleanup from Simon's comments 2022-04-28 20:55:01 +02:00
Ethan Frey 4cccddbb37 Put GzipIt and Uncompress logic in a common folder 2022-04-27 21:01:28 +02:00