Commit Graph

39 Commits

Author SHA1 Message Date
Tomasz Kulik adea2f982e
feat: Add support for IBCv2 Send entry point (#2252)
* feat: Add support for IBCv2 Send entry point

* chore: Update tests

* chore: Update

* chore: Changelog

* fix: Fix ContractInfo IBCv2 port ID insertion
2025-05-16 16:38:29 +02:00
Tomasz Kulik d3f6f431a4
chore: Bump wasmvm 2.2.3 -> 3.0.0-ibc2.0 2025-04-29 17:33:37 +02:00
Christoph Otter ba6af3ff2f
Make wasm keeper handle async ack storing 2024-07-02 10:25:23 +02:00
Christoph Otter d4e6417dc7 Adjust to nested results 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
Simon Warta 3206540319 Adapt tests to gas value changes 2024-01-27 16:12:03 +01:00
Alexander Peters cd66f786b2
SDK upgrade to v0.50 (branch) (#1611)
* Start implementation

* Add implementation + some e2e test

* Fix lint

* Squashed: sdk upgrade to v0.50

* rebuild protos with newer proto builder

(cherry picked from commit fd8f4c1d0d2163f0a504356c16cd2d250f6218f3)

* update ibc-go

(cherry picked from commit fb8667960fbeedb7d242baa644572986a154d4b6)

* bump cosmos-sdk and ibc in the v50 branch (#1616)

* tidy

* upgade ibc

* remove the toolchain command

* Bump sdk version

* Use correct bech32 prefix

* Bump SDK

* Enable fraud system test again

* Fix genesis param name

* Fix import/export simulations

* set log level for benchmarks

(cherry picked from commit 1cfb93008c596db62d22aba882f37a469546bfb9)

* Apply review comments

* Remove gov beta1 helpers

* Bump sdk version to latest in branch

* Fix linter

* Setup mergify for main

* Update mergify for better branch name

---------

Co-authored-by: Pino' Surace <pino.surace@live.it>
Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
2023-09-25 10:42:35 +02: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
Pino' Surace ffcfa8dfa0 Remove Wasmer references 2023-09-04 17:01:29 +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
Jacob Gadikian 7500f5d625
chore: lint main with latest golangci-lint (#1419)
* bump golang and linter in ci

* cleanup lints

* use go 1.19

* don't use depguard, it causes problems with golangci-lint v1.53.1
2023-06-06 08:17:35 +02:00
mergify[bot] 626966841e
Apply review feedback (backport #1376) (#1384)
* Apply review feedback (#1376)

* Apply review feedback

* Better test name

* Add contract integration test

* Better doc in test and minor refactoring

(cherry picked from commit 29481db56145dab3ba6e29fedd99010a617326de)

* Set correct test chain id

---------

Co-authored-by: Alexander Peters <alpe@users.noreply.github.com>
2023-05-10 10:51:57 +02:00
Alex Peters 7cd5893ef3
Redesign IBC on packet recv error/ result.Err handling 2023-04-21 11:29:24 +02:00
pinosu 5edfd6c74d
Update OnRecvPacket method to panic when an error is returned (#1298)
by the VM
2023-03-29 13:16:02 +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
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 53e735d76e Adapt codebase to new IBC3ChannelOpenResponse return value 2022-05-16 14:17:19 +02:00
Ethan Frey bff3aff95b Run new "make format" 2022-05-09 22:34:26 +02:00
Ethan Frey feeccb666b Mark a whole lot of tests to skip on m1 as they core dump 2022-03-07 22:09:39 +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
Alex Peters 9d57522d67
Upgrade wasmvm to v1.0.0-beta5 2022-01-04 09:51:24 +01:00
fkneeland-figure dd390d7f5f
Go Formatting update (#648)
* make fmt

* changelog update
2021-10-21 14:54:16 +02:00
Ethan Frey 61bf2353cb Last gas fix 2021-10-07 12:34:16 +02:00
Ethan Frey e878842136 Adjust gas prices in tests 2021-10-07 12:26:25 +02:00
Alex Peters e9156be200
Refactor events 2021-08-10 18:19:16 +02:00
Ethan Frey 0fe0b6223a Fix relay tests 2021-07-28 22:15:31 +02:00
Ethan Frey b34290772b Adjust gas prices in tests 2021-07-28 13:06:09 +02:00
Ethan Frey 7d92b4bc13 Fix tests 2021-07-22 15:55:36 +02:00
Ethan Frey fec9153e32 Return custom events from IBC calls as well 2021-07-22 10:24:50 +02:00
Ethan Frey d68f27f4d0 Test for events returned from IBC 2021-07-22 10:24:50 +02:00
Ethan Frey a3be0164fb Keeper tests pass 2021-07-21 21:48:39 +02:00
Alex Peters b0b1fa88bc
Upgrade wasmvm v0.15.x 2021-07-07 09:53:03 +02:00
Alexander Peters c05df881fb
Charge gas for custom event attributes and messages (#539)
* Charge gas for custom event attributes

* Introduce gas register for gas costs

* Review feedback

* Tests and minor updates

* Godoc
2021-06-25 10:00:46 +02:00
Alex Peters 7f5200b9dd
Add cost and api cost options 2021-06-11 11:46:49 +02:00
Alex Peters c637add01c
Remove max gas limit 2021-06-07 10:46:26 +02:00
Alexander Peters 305f13cc0a
Submessage reply can overwrite caller response (#502)
* Reply may overwrite result data

* Fix interface name

* Refacting for tests

* Test response handler

* Fix naked error
2021-04-27 14:00:42 +02:00
Alex Peters 03bf7b0adf
Introduce new interfaces for extendability 2021-03-24 14:11:42 +01: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