You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* (x/nft) [#24575](https://github.com/cosmos/cosmos-sdk/pull/24575) Deprecate the `x/nft` module in the Cosmos SDK repository. This module will not be maintained to the extent that our core modules will and will be kept in a [legacy repo](https://github.com/cosmos/cosmos-legacy).
Copy file name to clipboardExpand all lines: x/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,6 @@ capabilities of your blockchain or further specialize it.
34
34
*[Authz](./authz/README.md) - Authorization for accounts to perform actions on behalf of other accounts.
35
35
*[Epochs](./epochs/README.md) - Registration so SDK modules can have logic to be executed at the timed tickers.
36
36
*[Feegrant](./feegrant/README.md) - Grant fee allowances for executing transactions.
37
-
*[NFT](./nft/README.md) - NFT module implemented based on [ADR43](https://docs.cosmos.network/main/architecture/adr-043-nft-module.html).
38
37
*[ProtocolPool](./protocolpool/README.md) - Extended management of community pool functionality.
39
38
40
39
## Deprecated Modules
@@ -44,6 +43,7 @@ in an upcoming release of the Cosmos SDK per our [release process](https://githu
44
43
45
44
*[Crisis](./crisis/README.md) - *Deprecated* halting the blockchain under certain circumstances (e.g. if an invariant is broken).
46
45
*[Params](./params/README.md) - *Deprecated* Globally available parameter store.
46
+
*[NFT](./nft/README.md) - *Deprecated* NFT module implemented based on [ADR43](https://docs.cosmos.network/main/architecture/adr-043-nft-module.html). This module will be moved to the `cosmos-sdk-legacy` repo for use.
47
47
*[Group](./group/README.md) - *Deprecated* Allows for the creation and management of on-chain multisig accounts. This module will be moved to the `cosmos-sdk-legacy` repo for legacy use.
48
48
49
49
To learn more about the process of building modules, visit the [building modules reference documentation](https://docs.cosmos.network/main/building-modules/intro).
Copy file name to clipboardExpand all lines: x/nft/README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ sidebar_position: 1
4
4
5
5
# `x/nft`
6
6
7
+
⚠️ **DEPRECATED**: This package is deprecated and will be removed in the next major release. The `x/nft` module will be moved to a separate repo `github.com/cosmos/cosmos-sdk-legacy`.
Copy file name to clipboardExpand all lines: x/nft/keeper/keeper.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,10 @@
1
+
// Deprecated: This package is deprecated and will be removed in the next major release. The `x/nft` module will be moved to a separate repo `github.com/cosmos/cosmos-sdk-legacy`.
1
2
package keeper
2
3
3
4
import (
4
5
"cosmossdk.io/core/address"
5
6
store "cosmossdk.io/core/store"
6
-
"cosmossdk.io/x/nft"
7
+
"cosmossdk.io/x/nft"//nolint:staticcheck // deprecated and to be removed
Copy file name to clipboardExpand all lines: x/nft/keys.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
// Deprecated: This package is deprecated and will be removed in the next major release. The `x/nft` module will be moved to a separate repo `github.com/cosmos/cosmos-sdk-legacy`.
Copy file name to clipboardExpand all lines: x/nft/module/autocli.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
+
// Deprecated: This package is deprecated and will be removed in the next major release. The `x/nft` module will be moved to a separate repo `github.com/cosmos/cosmos-sdk-legacy`.
1
2
package module
2
3
3
4
import (
4
5
"fmt"
5
6
6
7
autocliv1 "cosmossdk.io/api/cosmos/autocli/v1"
7
8
nftv1beta1 "cosmossdk.io/api/cosmos/nft/v1beta1"
8
-
"cosmossdk.io/x/nft"
9
+
"cosmossdk.io/x/nft"//nolint:staticcheck // deprecated and to be removed
Copy file name to clipboardExpand all lines: x/nft/simulation/decoder.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
+
// Deprecated: This package is deprecated and will be removed in the next major release. The `x/nft` module will be moved to a separate repo `github.com/cosmos/cosmos-sdk-legacy`.
1
2
package simulation
2
3
3
4
import (
4
5
"bytes"
5
6
"fmt"
6
7
7
-
"cosmossdk.io/x/nft"
8
-
"cosmossdk.io/x/nft/keeper"
8
+
"cosmossdk.io/x/nft"//nolint:staticcheck // deprecated and to be removed
9
+
"cosmossdk.io/x/nft/keeper"//nolint:staticcheck // deprecated and to be removed
0 commit comments