Commit Graph

117 Commits

Author SHA1 Message Date
Tomasz Kulik 276870dc9d
feat: IBCv2 WriteAcknowledgement handler (#2173)
* feat: Async ack support for IBCv2
* chore: Refactoring
2025-05-22 18:17:56 +02:00
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
Tomasz Kulik 59da7ea377
fix: Remove unused IBC msg handler - IBCv2 msgs are translated by encoders and handled by Cosmos SDK 2025-04-14 19:06:43 +02:00
Jan Woźniak c8b9fb747e
Add E2E test for IBC2SendMsg (#2165) 2025-04-09 18:22:59 +02:00
Tomasz Kulik d86eb34fb3
chore: Remove unused channel keeper from IBCv1 msg handler (#2190) 2025-03-27 12:15:56 +01:00
Tomasz Kulik ef8de68fa7
feat: Add IBCv2 receive packet entrypoint call 2025-03-12 07:52:01 +01:00
Tomasz Kulik 2b4efde8d7
feat: Replace ibc-go 9.0.2 with release/10.0.x (#2125) 2025-02-19 17:02:03 +01:00
Tomasz Kulik ccb04a2b09
chore: Add tests for messages execution order (#2052) 2025-01-07 12:41:14 +01:00
Christoph Otter d824a11666
Fix typos 2024-11-12 19:29:45 +07:00
autofix-ci[bot] e7860b775c
[autofix.ci] apply automated fixes 2024-11-11 18:55:55 +07:00
Christoph Otter d9ac3b808b
Add VMConfig 2024-11-07 21:45:12 +07:00
Christoph Otter 5da6acd313
Rename WasmConfig to NodeConfig 2024-11-07 21:45:12 +07:00
Christoph Otter 2815f22122
Remove ptr function 2024-11-07 21:45:12 +07:00
Christoph Otter fce405c7a9
Add test for wasm limits 2024-11-07 21:45:12 +07:00
Tomasz Kulik 60ed81c12d
feat: Add conditional migrate calling (#1966) 2024-11-04 10:00:31 +01:00
Tomasz Kulik c0f32e5678
Update wasmvm to 2.2.0-rc.2 2024-10-25 17:46:41 +02:00
Pino' Surace 02354c6f41
Handle discount in setup costs for in memory cache contracts (#1987)
* Start work on setup costs for in memory cache contracts

* Format

* Clean up

* Handle discount in reply

* Fix some tests

* Fix comments

* Add tests

* Add log warning + fix tests

* Update doc comment

Co-authored-by: Christoph Otter <chris@confio.gmbh>

---------

Co-authored-by: Christoph Otter <chris@confio.gmbh>
2024-09-26 09:51:27 +02:00
dependabot[bot] 8946a3222a
Bump github.com/CosmWasm/wasmvm/v2 from 2.1.0 to 2.1.2 (#1953)
* Bump github.com/CosmWasm/wasmvm/v2 from 2.1.0 to 2.1.2

Bumps [github.com/CosmWasm/wasmvm/v2](https://github.com/CosmWasm/wasmvm) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/CosmWasm/wasmvm/releases)
- [Changelog](https://github.com/CosmWasm/wasmvm/blob/main/CHANGELOG.md)
- [Commits](https://github.com/CosmWasm/wasmvm/compare/v2.1.0...v2.1.2)

---
updated-dependencies:
- dependency-name: github.com/CosmWasm/wasmvm/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Dockefile

* Fix gas

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pino' Surace <pino.surace@live.it>
2024-08-12 10:30:58 +02:00
Christoph Otter d793a43cb2
Add cosmwasm_2_1 capability 2024-07-05 14:41:53 +02:00
Christoph Otter be0fbf333e
Simplify migrate version handling 2024-07-04 12:37:51 +02:00
Christoph Otter 93c3bffa09
Add tests for migrate version 2024-07-04 12:08:05 +02:00
Christoph Otter 55cf4f683f
Add async ack prototype 2024-07-01 14:33:38 +02:00
Christoph Otter 4baa1d65ab
Fix gas values 2024-06-27 18:21:26 +02:00
pinosu 60375abf50
Fix Amino JSON representation (#1844)
* Fix Amino JSON representation

* Update amino encoding
2024-04-11 14:57:51 +02:00
Christoph Otter ad93ad3dda
Add contract error integration test 2024-03-04 12:15:27 +01:00
Christoph Otter f41bb6f9dc
Fix costValidate 2024-02-26 18:44:27 +01:00
Christoph Otter d94360cb90 Do not redact contract errors 2024-02-21 10:44:07 +01:00
Christoph Otter 97694f1c22 Add extra error for wasmvm errors 2024-02-20 18:03:39 +01:00
Christoph Otter 1037fc8f9e Use updated reflect contract 2024-02-15 17:13:58 +01:00
Christoph Otter d4e6417dc7 Adjust to nested results 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
Simon Warta 3206540319 Adapt tests to gas value changes 2024-01-27 16:12:03 +01:00
pinosu e65480838a
Add msg update contract label (#1640)
* Add msg update contract label

* fix tests
2023-09-28 10:49:44 +02: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
pinosu 09b50085cd
Remove legacy gov proposal dependencies (#1587)
* Remove legacy gov proposal dependencies

* Fix comments

* Fix lint

* Update files

* Fix lint

* Fix lint
2023-09-07 15:13:19 +02:00
Alexander Peters 0f82c95b6d
Linter only (#1609)
* Linter only

* Bump linter version
2023-09-07 13:04:28 +02:00
Alexander Peters 3d9d92c770
Wasmvm 1.4 upgrade (#1590)
* Start wasmvm 1.4 upgrade

* Checksum lowercase

* Start distribution query tests

* Use wasmvm 1.4.0

* Implement remaining distribution queries

* Update test

* Update to burner v1.4; minor updates

* Add dec coin test

* Fix merge conflict
2023-09-07 09:14:51 +02:00
Pino' Surace ffcfa8dfa0 Remove Wasmer references 2023-09-04 17:01:29 +02:00
Pino' Surace baf335762f Add unit test for gas calculation 2023-08-29 12:27:02 +02:00
Jacob Gadikian dc970c4f34
marshaler to codec (#1545)
* marshaler to codec

* Update tests/e2e/ibc_fees_test.go

Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>

* Update tests/e2e/ibc_fees_test.go

Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>

* fix a few remaining issues

---------

Co-authored-by: pinosu <95283998+pinosu@users.noreply.github.com>
2023-08-04 14:31:03 +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
Alexander Peters fe3afd5200
Test coin metadata query (#1520)
* Test coin metadata query; contract updates

* Update tests and contracts
2023-07-19 15:12:07 +02:00
pinosu 1a5a2d96e5
Upgrade to wasmvm 1.3.0-rc.0 (#1486)
* Upgrade to wasmvm 1.3.0-rc.0

* Fix comments
2023-07-06 13:07:48 +02:00
Alexander Peters 63f73d3e6c
Gov authorization propagation for sub-messages (#1482)
* Add gov authorization propagation for sub-messages

* Minor update
2023-07-06 11:42:01 +02:00
Alex Peters b2214cf2d9
Ensure history position does not conflict 2023-06-27 18:27:04 +02:00
pinosu e6d451bf9d
Add migration for AccessConfig (#1395)
* Add migration for AccessConfig

* Add more tests

* Make migration more resilient and remove "old" types

* cleanup legacy types

* fix comments
2023-05-26 13:08:48 +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