diff --git a/.changelog/v0.49.0/breaking-changes/1014-better-client-id-new.md b/.changelog/v0.49.1/breaking-changes/1014-better-client-id-new.md similarity index 100% rename from .changelog/v0.49.0/breaking-changes/1014-better-client-id-new.md rename to .changelog/v0.49.1/breaking-changes/1014-better-client-id-new.md diff --git a/.changelog/v0.49.0/breaking-changes/837-split-sent-coins-method copy.md b/.changelog/v0.49.1/breaking-changes/837-split-sent-coins-method copy.md similarity index 100% rename from .changelog/v0.49.0/breaking-changes/837-split-sent-coins-method copy.md rename to .changelog/v0.49.1/breaking-changes/837-split-sent-coins-method copy.md diff --git a/.changelog/v0.49.0/breaking-changes/839-add-memo-field-for-token-escrow.md b/.changelog/v0.49.1/breaking-changes/839-add-memo-field-for-token-escrow.md similarity index 100% rename from .changelog/v0.49.0/breaking-changes/839-add-memo-field-for-token-escrow.md rename to .changelog/v0.49.1/breaking-changes/839-add-memo-field-for-token-escrow.md diff --git a/.changelog/v0.49.0/breaking-changes/978-identifier-error.md b/.changelog/v0.49.1/breaking-changes/978-identifier-error.md similarity index 100% rename from .changelog/v0.49.0/breaking-changes/978-identifier-error.md rename to .changelog/v0.49.1/breaking-changes/978-identifier-error.md diff --git a/.changelog/v0.49.0/breaking-changes/993-bump-ibc-proto-rs.md b/.changelog/v0.49.1/breaking-changes/993-bump-ibc-proto-rs.md similarity index 100% rename from .changelog/v0.49.0/breaking-changes/993-bump-ibc-proto-rs.md rename to .changelog/v0.49.1/breaking-changes/993-bump-ibc-proto-rs.md diff --git a/.changelog/v0.49.0/breaking-changes/997-minimize-prost-dependency.md b/.changelog/v0.49.1/breaking-changes/997-minimize-prost-dependency.md similarity index 100% rename from .changelog/v0.49.0/breaking-changes/997-minimize-prost-dependency.md rename to .changelog/v0.49.1/breaking-changes/997-minimize-prost-dependency.md diff --git a/.changelog/v0.49.0/features/1008-commitment-proof-bytes-as-ref.md b/.changelog/v0.49.1/features/1008-commitment-proof-bytes-as-ref.md similarity index 100% rename from .changelog/v0.49.0/features/1008-commitment-proof-bytes-as-ref.md rename to .changelog/v0.49.1/features/1008-commitment-proof-bytes-as-ref.md diff --git a/.changelog/v0.49.0/improvements/1005-status-verify-active.md b/.changelog/v0.49.1/improvements/1005-status-verify-active.md similarity index 100% rename from .changelog/v0.49.0/improvements/1005-status-verify-active.md rename to .changelog/v0.49.1/improvements/1005-status-verify-active.md diff --git a/.changelog/v0.49.0/improvements/1011-status-verify-active.md b/.changelog/v0.49.1/improvements/1011-status-verify-active.md similarity index 100% rename from .changelog/v0.49.0/improvements/1011-status-verify-active.md rename to .changelog/v0.49.1/improvements/1011-status-verify-active.md diff --git a/.changelog/v0.49.0/improvements/1017-use-global-paths-in-generated-code.md b/.changelog/v0.49.1/improvements/1017-use-global-paths-in-generated-code.md similarity index 100% rename from .changelog/v0.49.0/improvements/1017-use-global-paths-in-generated-code.md rename to .changelog/v0.49.1/improvements/1017-use-global-paths-in-generated-code.md diff --git a/.changelog/v0.49.0/improvements/992-more-rigorous-cosmwasm-check.md b/.changelog/v0.49.1/improvements/992-more-rigorous-cosmwasm-check.md similarity index 100% rename from .changelog/v0.49.0/improvements/992-more-rigorous-cosmwasm-check.md rename to .changelog/v0.49.1/improvements/992-more-rigorous-cosmwasm-check.md diff --git a/.changelog/v0.49.0/improvements/993-streamline-msg-trait.md b/.changelog/v0.49.1/improvements/993-streamline-msg-trait.md similarity index 100% rename from .changelog/v0.49.0/improvements/993-streamline-msg-trait.md rename to .changelog/v0.49.1/improvements/993-streamline-msg-trait.md diff --git a/.changelog/v0.49.0/improvements/996-custom-chain-id-deserialization.md b/.changelog/v0.49.1/improvements/996-custom-chain-id-deserialization.md similarity index 100% rename from .changelog/v0.49.0/improvements/996-custom-chain-id-deserialization.md rename to .changelog/v0.49.1/improvements/996-custom-chain-id-deserialization.md diff --git a/.changelog/v0.49.0/summary.md b/.changelog/v0.49.1/summary.md similarity index 100% rename from .changelog/v0.49.0/summary.md rename to .changelog/v0.49.1/summary.md diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 50c7ca721b..7887221fb2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,10 +27,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - name: Cache cargo dependencies - uses: Swatinem/rust-cache@v2 - name: Install cargo-release run: cargo install cargo-release + - name: Cache cargo dependencies + uses: Swatinem/rust-cache@v2 - name: Publish crates (dry run) run: cargo release --workspace --no-push --no-tag --no-publish --exclude ibc-derive env: @@ -43,14 +43,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - ref: ${{ github.event.ref }} - - name: Cache cargo dependencies - uses: Swatinem/rust-cache@v2 - name: Install cargo-release run: cargo install cargo-release + - name: Cache cargo dependencies + uses: Swatinem/rust-cache@v2 - name: Publish crates - run: cargo release --workspace --no-push --no-tag --exclude ibc-derive --execute + run: cargo release --workspace --no-push --no-tag --exclude ibc-derive --allow-branch HEAD --execute env: CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }} @@ -62,8 +60,6 @@ jobs: contents: write steps: - uses: actions/checkout@v4 - with: - ref: ${{ github.event.ref }} - uses: taiki-e/create-gh-release-action@v1 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d343d327ba..2feef2028f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -47,6 +47,22 @@ jobs: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'" + check-features: + name: Check features + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - uses: actions/checkout@v4 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - name: Install cargo-hack + uses: taiki-e/install-action@cargo-hack + - uses: Swatinem/rust-cache@v2 + - name: Run cargo hack + run: cargo hack check --workspace --feature-powerset --exclude-features default + nightly_fmt: runs-on: ubuntu-latest steps: @@ -60,62 +76,64 @@ jobs: with: command: fmt args: --all -- --check - - doc_all_features: + + clippy_all_features: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable + components: clippy override: true - - uses: actions-rs/cargo@v1 + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/clippy-check@v1 with: - command: doc - args: --all-features --release - - doc_no_default_features: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features --all-targets + + clippy_no_default_features: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable + components: clippy override: true - - uses: actions-rs/cargo@v1 + - uses: Swatinem/rust-cache@v1 + - uses: actions-rs/clippy-check@v1 with: - command: doc - args: --no-default-features --release + token: ${{ secrets.GITHUB_TOKEN }} + args: --no-default-features --lib - clippy_all_features: + doc_all_features: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable - components: clippy override: true - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/clippy-check@v1 + - uses: actions-rs/cargo@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features --all-targets - - clippy_no_default_features: + command: doc + args: --all-features --release + + doc_no_default_features: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: stable - components: clippy override: true - uses: Swatinem/rust-cache@v1 - - uses: actions-rs/clippy-check@v1 + - uses: actions-rs/cargo@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --no-default-features --lib + command: doc + args: --no-default-features --release test-stable: runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 98f8b067ec..e160061feb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## v0.49.0 +## v0.49.1 *January 3, 2024* diff --git a/Cargo.toml b/Cargo.toml index d4df501c3d..39f779901a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ exclude = [ ] [workspace.package] -version = "0.49.0" +version = "0.49.1" license = "Apache-2.0" edition = "2021" rust-version = "1.64" @@ -58,33 +58,33 @@ serde_json = { package = "serde-json-wasm", version = "1.0.0", default- subtle-encoding = { version = "0.5", default-features = false } # ibc dependencies -ibc = { version = "0.49.0", path = "./ibc", default-features = false } -ibc-core = { version = "0.49.0", path = "./ibc-core", default-features = false } -ibc-clients = { version = "0.49.0", path = "./ibc-clients", default-features = false } -ibc-apps = { version = "0.49.0", path = "./ibc-apps", default-features = false } -ibc-primitives = { version = "0.49.0", path = "./ibc-primitives", default-features = false } +ibc = { version = "0.49.1", path = "./ibc", default-features = false } +ibc-core = { version = "0.49.1", path = "./ibc-core", default-features = false } +ibc-clients = { version = "0.49.1", path = "./ibc-clients", default-features = false } +ibc-apps = { version = "0.49.1", path = "./ibc-apps", default-features = false } +ibc-primitives = { version = "0.49.1", path = "./ibc-primitives", default-features = false } ibc-derive = { version = "0.5.0", path = "./ibc-derive" } -ibc-core-client = { version = "0.49.0", path = "./ibc-core/ics02-client", default-features = false } -ibc-core-connection = { version = "0.49.0", path = "./ibc-core/ics03-connection", default-features = false } -ibc-core-channel = { version = "0.49.0", path = "./ibc-core/ics04-channel", default-features = false } -ibc-core-host = { version = "0.49.0", path = "./ibc-core/ics24-host", default-features = false } -ibc-core-handler = { version = "0.49.0", path = "./ibc-core/ics25-handler", default-features = false } -ibc-core-router = { version = "0.49.0", path = "./ibc-core/ics26-routing", default-features = false } -ibc-client-tendermint = { version = "0.49.0", path = "./ibc-clients/ics07-tendermint", default-features = false } -ibc-app-transfer = { version = "0.49.0", path = "./ibc-apps/ics20-transfer", default-features = false } +ibc-core-client = { version = "0.49.1", path = "./ibc-core/ics02-client", default-features = false } +ibc-core-connection = { version = "0.49.1", path = "./ibc-core/ics03-connection", default-features = false } +ibc-core-channel = { version = "0.49.1", path = "./ibc-core/ics04-channel", default-features = false } +ibc-core-host = { version = "0.49.1", path = "./ibc-core/ics24-host", default-features = false } +ibc-core-handler = { version = "0.49.1", path = "./ibc-core/ics25-handler", default-features = false } +ibc-core-router = { version = "0.49.1", path = "./ibc-core/ics26-routing", default-features = false } +ibc-client-tendermint = { version = "0.49.1", path = "./ibc-clients/ics07-tendermint", default-features = false } +ibc-app-transfer = { version = "0.49.1", path = "./ibc-apps/ics20-transfer", default-features = false } -ibc-core-client-context = { version = "0.49.0", path = "./ibc-core/ics02-client/context", default-features = false } -ibc-core-client-types = { version = "0.49.0", path = "./ibc-core/ics02-client/types", default-features = false } -ibc-core-channel-types = { version = "0.49.0", path = "./ibc-core/ics04-channel/types", default-features = false } -ibc-core-connection-types = { version = "0.49.0", path = "./ibc-core/ics03-connection/types", default-features = false } -ibc-core-commitment-types = { version = "0.49.0", path = "./ibc-core/ics23-commitment/types", default-features = false } -ibc-core-host-cosmos = { version = "0.49.0", path = "./ibc-core/ics24-host/cosmos", default-features = false } -ibc-core-host-types = { version = "0.49.0", path = "./ibc-core/ics24-host/types", default-features = false } -ibc-core-handler-types = { version = "0.49.0", path = "./ibc-core/ics25-handler/types", default-features = false } -ibc-core-router-types = { version = "0.49.0", path = "./ibc-core/ics26-routing/types", default-features = false } -ibc-client-tendermint-types = { version = "0.49.0", path = "./ibc-clients/ics07-tendermint/types", default-features = false } -ibc-app-transfer-types = { version = "0.49.0", path = "./ibc-apps/ics20-transfer/types", default-features = false } +ibc-core-client-context = { version = "0.49.1", path = "./ibc-core/ics02-client/context", default-features = false } +ibc-core-client-types = { version = "0.49.1", path = "./ibc-core/ics02-client/types", default-features = false } +ibc-core-channel-types = { version = "0.49.1", path = "./ibc-core/ics04-channel/types", default-features = false } +ibc-core-connection-types = { version = "0.49.1", path = "./ibc-core/ics03-connection/types", default-features = false } +ibc-core-commitment-types = { version = "0.49.1", path = "./ibc-core/ics23-commitment/types", default-features = false } +ibc-core-host-cosmos = { version = "0.49.1", path = "./ibc-core/ics24-host/cosmos", default-features = false } +ibc-core-host-types = { version = "0.49.1", path = "./ibc-core/ics24-host/types", default-features = false } +ibc-core-handler-types = { version = "0.49.1", path = "./ibc-core/ics25-handler/types", default-features = false } +ibc-core-router-types = { version = "0.49.1", path = "./ibc-core/ics26-routing/types", default-features = false } +ibc-client-tendermint-types = { version = "0.49.1", path = "./ibc-clients/ics07-tendermint/types", default-features = false } +ibc-app-transfer-types = { version = "0.49.1", path = "./ibc-apps/ics20-transfer/types", default-features = false } ibc-proto = { version = "0.39.1", default-features = false } diff --git a/ci/cw-check/Cargo.lock b/ci/cw-check/Cargo.lock index 5f536b35f2..db9fd1b489 100644 --- a/ci/cw-check/Cargo.lock +++ b/ci/cw-check/Cargo.lock @@ -610,7 +610,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-app-transfer-types", "ibc-core", @@ -619,7 +619,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -634,14 +634,14 @@ dependencies = [ [[package]] name = "ibc-apps" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-app-transfer", ] [[package]] name = "ibc-core" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -655,7 +655,7 @@ dependencies = [ [[package]] name = "ibc-core-channel" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-channel-types", "ibc-core-client", @@ -669,7 +669,7 @@ dependencies = [ [[package]] name = "ibc-core-channel-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -690,7 +690,7 @@ dependencies = [ [[package]] name = "ibc-core-client" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-client-context", "ibc-core-client-types", @@ -702,7 +702,7 @@ dependencies = [ [[package]] name = "ibc-core-client-context" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -718,7 +718,7 @@ dependencies = [ [[package]] name = "ibc-core-client-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -736,7 +736,7 @@ dependencies = [ [[package]] name = "ibc-core-commitment-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -752,7 +752,7 @@ dependencies = [ [[package]] name = "ibc-core-connection" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-client", "ibc-core-connection-types", @@ -763,7 +763,7 @@ dependencies = [ [[package]] name = "ibc-core-connection-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -782,7 +782,7 @@ dependencies = [ [[package]] name = "ibc-core-handler" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -796,7 +796,7 @@ dependencies = [ [[package]] name = "ibc-core-handler-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -818,7 +818,7 @@ dependencies = [ [[package]] name = "ibc-core-host" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -835,7 +835,7 @@ dependencies = [ [[package]] name = "ibc-core-host-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -848,7 +848,7 @@ dependencies = [ [[package]] name = "ibc-core-router" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -861,7 +861,7 @@ dependencies = [ [[package]] name = "ibc-core-router-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -878,7 +878,7 @@ dependencies = [ [[package]] name = "ibc-derive" -version = "0.4.0" +version = "0.5.0" dependencies = [ "darling", "proc-macro2", @@ -888,7 +888,7 @@ dependencies = [ [[package]] name = "ibc-primitives" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", diff --git a/ci/no-std-check/Cargo.lock b/ci/no-std-check/Cargo.lock index 5b6bbc27a1..40f4a67b21 100644 --- a/ci/no-std-check/Cargo.lock +++ b/ci/no-std-check/Cargo.lock @@ -1213,7 +1213,7 @@ dependencies = [ [[package]] name = "ibc" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-apps", "ibc-clients", @@ -1225,7 +1225,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-app-transfer-types", "ibc-core", @@ -1234,7 +1234,7 @@ dependencies = [ [[package]] name = "ibc-app-transfer-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1247,14 +1247,14 @@ dependencies = [ [[package]] name = "ibc-apps" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-app-transfer", ] [[package]] name = "ibc-client-tendermint" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-client-tendermint-types", "ibc-core-client", @@ -1269,7 +1269,7 @@ dependencies = [ [[package]] name = "ibc-client-tendermint-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "displaydoc", "ibc-core-client-types", @@ -1285,14 +1285,14 @@ dependencies = [ [[package]] name = "ibc-clients" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-client-tendermint", ] [[package]] name = "ibc-core" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -1306,7 +1306,7 @@ dependencies = [ [[package]] name = "ibc-core-channel" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-channel-types", "ibc-core-client", @@ -1320,7 +1320,7 @@ dependencies = [ [[package]] name = "ibc-core-channel-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1338,7 +1338,7 @@ dependencies = [ [[package]] name = "ibc-core-client" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-client-context", "ibc-core-client-types", @@ -1350,7 +1350,7 @@ dependencies = [ [[package]] name = "ibc-core-client-context" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1366,7 +1366,7 @@ dependencies = [ [[package]] name = "ibc-core-client-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1381,7 +1381,7 @@ dependencies = [ [[package]] name = "ibc-core-commitment-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1394,7 +1394,7 @@ dependencies = [ [[package]] name = "ibc-core-connection" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-client", "ibc-core-connection-types", @@ -1405,7 +1405,7 @@ dependencies = [ [[package]] name = "ibc-core-connection-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1421,7 +1421,7 @@ dependencies = [ [[package]] name = "ibc-core-handler" -version = "0.48.2" +version = "0.49.1" dependencies = [ "ibc-core-channel", "ibc-core-client", @@ -1435,7 +1435,7 @@ dependencies = [ [[package]] name = "ibc-core-handler-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1454,7 +1454,7 @@ dependencies = [ [[package]] name = "ibc-core-host" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1471,7 +1471,7 @@ dependencies = [ [[package]] name = "ibc-core-host-cosmos" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1493,7 +1493,7 @@ dependencies = [ [[package]] name = "ibc-core-host-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1503,7 +1503,7 @@ dependencies = [ [[package]] name = "ibc-core-router" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", @@ -1516,14 +1516,13 @@ dependencies = [ [[package]] name = "ibc-core-router-types" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", "ibc-core-host-types", "ibc-primitives", "ibc-proto", - "ics23", "serde", "subtle-encoding", "tendermint", @@ -1531,7 +1530,7 @@ dependencies = [ [[package]] name = "ibc-derive" -version = "0.4.0" +version = "0.5.0" dependencies = [ "darling", "proc-macro2", @@ -1541,7 +1540,7 @@ dependencies = [ [[package]] name = "ibc-primitives" -version = "0.48.2" +version = "0.49.1" dependencies = [ "derive_more", "displaydoc", diff --git a/ibc-apps/ics20-transfer/types/src/error.rs b/ibc-apps/ics20-transfer/types/src/error.rs index f4b06aee52..2ef3f732ac 100644 --- a/ibc-apps/ics20-transfer/types/src/error.rs +++ b/ibc-apps/ics20-transfer/types/src/error.rs @@ -11,8 +11,6 @@ use ibc_core::host::types::identifiers::{ChannelId, PortId}; use ibc_core::primitives::prelude::*; use uint::FromDecStrErr; -use crate::Amount; - #[derive(Display, Debug)] pub enum TokenTransferError { /// context error: `{0}` @@ -21,8 +19,8 @@ pub enum TokenTransferError { InvalidIdentifier(IdentifierError), /// insufficient funds: tried to send `{send_attempt}`, sender only has `{available_funds}` InsufficientFunds { - send_attempt: Amount, - available_funds: Amount, + send_attempt: String, + available_funds: String, }, /// destination channel not found in the counterparty of port_id `{port_id}` and channel_id `{channel_id}` DestinationChannelNotFound {