Skip to content

refactor: use reflect.TypeFor#2380

Merged
pinosu merged 1 commit intoCosmWasm:mainfrom
rocksload:main
Feb 19, 2026
Merged

refactor: use reflect.TypeFor#2380
pinosu merged 1 commit intoCosmWasm:mainfrom
rocksload:main

Conversation

@rocksload
Copy link
Copy Markdown
Contributor

Try to use better api reflect.TypeFor instead of reflect.TypeOf when we have known the type.

More info golang/go#60088

Signed-off-by: rocksload <rocksload@outlook.com>
@rocksload
Copy link
Copy Markdown
Contributor Author

@DariuszDepta @pinosu Hi. If there's anything need I to do, please feel free to let me know.

Copy link
Copy Markdown
Contributor

@pinosu pinosu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pinosu pinosu merged commit e34c8e9 into CosmWasm:main Feb 19, 2026
1 check passed
2xburnt added a commit to burnt-labs/wasmd that referenced this pull request Apr 1, 2026
* Bump cosmos-sdk to v0.53.6 (CosmWasm#2436)

* chore(deps): bump cosmossdk.io/collections from 1.3.1 to 1.4.0 (CosmWasm#2438)

Bumps [cosmossdk.io/collections](https://github.com/cosmos/cosmos-sdk) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@log/v1.3.1...log/v1.4.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/collections
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump cosmossdk.io/errors from 1.0.2 to 1.1.0 (CosmWasm#2439)

Bumps [cosmossdk.io/errors](https://github.com/cosmos/cosmos-sdk) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@store/v1.0.2...log/v1.1.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/errors
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Fix Typos and Wording in Docs and Comments (CosmWasm#2411)

* Update doc.go

* Update README.md

* Update UPGRADING.md

* Update README.md

* Update INTEGRATION.md

* docs: update EVENTS.md validation rules (CosmWasm#2430)

* test: remove redundant TxContractsDecorator setup (CosmWasm#2440)

Signed-off-by: Ocheretovich Oksana <ocheretovich@gmail.com>

* refactor: use reflect.TypeFor (CosmWasm#2380)

Signed-off-by: rocksload <rocksload@outlook.com>

* chore(deps): bump filippo.io/edwards25519 in /tests/system (CosmWasm#2443)

Bumps [filippo.io/edwards25519](https://github.com/FiloSottile/edwards25519) from 1.1.0 to 1.1.1.
- [Commits](FiloSottile/edwards25519@v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: filippo.io/edwards25519
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump filippo.io/edwards25519 from 1.1.0 to 1.1.1 (CosmWasm#2442)

Bumps [filippo.io/edwards25519](https://github.com/FiloSottile/edwards25519) from 1.1.0 to 1.1.1.
- [Commits](FiloSottile/edwards25519@v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: filippo.io/edwards25519
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump github.com/ethereum/go-ethereum from 1.16.8 to 1.17.0 (CosmWasm#2441)

Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum) from 1.16.8 to 1.17.0.
- [Release notes](https://github.com/ethereum/go-ethereum/releases)
- [Commits](ethereum/go-ethereum@v1.16.8...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
  dependency-version: 1.17.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump go.opentelemetry.io/otel/sdk from 1.39.0 to 1.40.0 (CosmWasm#2445)

Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.39.0...v1.40.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.40.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove static major check (CosmWasm#2449)

* fix

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Ocheretovich Oksana <ocheretovich@gmail.com>
Signed-off-by: rocksload <rocksload@outlook.com>
Co-authored-by: Pino' Surace <95283998+pinosu@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: viktorking7 <140458814+viktorking7@users.noreply.github.com>
Co-authored-by: Tom <tomsdysons@gmail.com>
Co-authored-by: Ocheretovich <ocheretovich@gmail.com>
Co-authored-by: rocksload <rocksload@outlook.com>
Co-authored-by: Pino' Surace <pino.surace@live.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants