Commit Graph

18 Commits

Author SHA1 Message Date
Tomasz Kulik d3f6f431a4
chore: Bump wasmvm 2.2.3 -> 3.0.0-ibc2.0 2025-04-29 17:33:37 +02:00
Christoph Otter cdb72b1d28
Make validateAddress cheaper if canonicalization fails (#2193) 2025-04-09 15:59:47 +02:00
Christoph Otter f41bb6f9dc
Fix costValidate 2024-02-26 18:44:27 +01:00
Christoph Otter e982aabcc0
Apply suggestions from code review
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
2024-02-26 16:55:23 +01:00
Christoph Otter 6d7c91c145 Remove unnecessary conversion 2024-02-15 14:42:07 +01:00
Christoph Otter ec2c70bf72 Fix address validation 2024-02-15 14:30:37 +01:00
Christoph Otter 54670c4990 Add ValidateAddress impl 2024-02-15 14:30:37 +01:00
Christoph Otter c7ba88f81d Adjust to type changes and renamings 2024-02-15 14:30:37 +01:00
Christoph Otter b1c5bfb230 Update to wasmvm 2.0.0-rc.1 2024-02-15 14:30:37 +01:00
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
Alex Peters c88b8194cb
Fix typos 2023-01-27 10:12:18 +01:00
Alexander Peters b8319aa334
Upgrade to cosmos-sdk v0.45.0 (#717)
* Upgrade to cosmos-sdk v0.44.5

* Upgrade to sdk v0.45.0-rc1

* Fix local test deploy scripts

* Bump to v0.45.0 final release

* Fixed replace to 0.45.0 not rc1

* Fix changed import path since rc1

Co-authored-by: Ethan Frey <ethanfrey@users.noreply.github.com>
2022-01-20 12:47:01 +01:00
fkneeland-figure 57517b0c33
Add golangci lint check on pull requests (#645)
* added golangci lint check on pull requests

* changelog update

* updated to use circleci instead of github actions

* testing a golang change

* added workflow

* updated how we find the golangci command in the make file

* using orb for golangci

* Added golangci install make command

* use docker image for golangci

* stop using make in circleci

* reverted golang change to trigger ci

* gofmt

* make fmt

* fixed a few things

* updated version on golintci

* fixed all the lint errors

* check version

* skipped wrongly failing lint

* Revert generated file changes

* fix import grouping, return errors on failures, initialization of arrays revert

* fixed a few lint errors

* addressed more code review comments

* updated with error check

* increased timeout for golangci-lint

* dont format autogenerated files

Co-authored-by: Carlton Hanna <channa@figure.com>
2021-10-25 09:09:47 +02:00
Piotr Husiatyński b2fc913398
Keeper tests (#590)
* More keeper tests

x/wasm/keeper tests are extended to test various input validation.
Keeper input is validated before passing to the keeper method when used
within wasmd application. We cannot ensure such validation when this
keeper is used outside of wasmd application. To keep it safe, fully
validate keeper methods input.

hackatom.wasm is loaded into memory during initialization to avoid
reading file in each test separately. Once migrated to go 1.16, embed
package should be used instead.

Run goimport on certain files.

Some comments fixed or removed.

* ensure that creator address is not nil
2021-08-27 15:37:07 +02:00
Alex Peters b0b1fa88bc
Upgrade wasmvm v0.15.x 2021-07-07 09:53:03 +02:00
Alex Peters 7f5200b9dd
Add cost and api cost options 2021-06-11 11:46:49 +02:00
Alexander Peters d9142662c1
Remove internal package (#464)
* Move internal subfolders up

* Fix broken imports and fmt
2021-03-19 09:52:01 +01:00