Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
bfd5b9c
ci: pin release Linux builds to ubuntu-22.04 for glibc compatibility
trevormil Apr 13, 2026
79d146f
chore(deps): bump github.com/hashicorp/go-getter from 1.7.9 to 1.8.6 …
dependabot[bot] Apr 15, 2026
6996b9d
chore(deps): bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 …
dependabot[bot] Apr 17, 2026
9b88102
chore(deps): bump github.com/aws/aws-sdk-go-v2/aws/protocol/eventstre…
dependabot[bot] Apr 18, 2026
2f37ee7
chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 (#71)
dependabot[bot] Apr 19, 2026
365db70
fix(tokenization): bound AltTimeChecks v29 fields in ValidateBasic (#73)
trevormil Apr 19, 2026
55ba30b
fix(tokenization): pool->intermediate swaps rejected by prioritizatio…
trevormil Apr 19, 2026
3ec1825
feat(tokenization): add v29 proto definitions for address lists, appr…
trevormil Apr 20, 2026
0b360ad
feat(upgrades): introduce v30 upgrade with new migration logic and up…
trevormil Apr 20, 2026
858870d
rm maps and anchor
trevormil Apr 20, 2026
d709eba
refactor(cli): consolidate command structure and update installation …
trevormil Apr 20, 2026
227342c
feat(v30): re-derive collection addresses with tokenization module na…
trevormil Apr 20, 2026
cab7c8a
chore(v30): regenerate openapi.yml
trevormil Apr 20, 2026
335092d
docs(tokenization): document shared-escrow drain safety for backed pa…
trevormil Apr 22, 2026
6e2d8cb
fix(tokenization): MsgCreateCollection silently dropped ValidTokenIds…
trevormil Apr 24, 2026
1467199
install.sh: print PATH hint when bitbadges-cli isn't on PATH (#81)
trevormil Apr 26, 2026
266a4a3
docs(install): use https://install.bitbadges.io short URL (#82)
trevormil Apr 26, 2026
ecf0e92
fix(tokenization): persist next-dynamic-store-id when defaulting from…
trevormil Apr 26, 2026
67ae8a0
install: ship `bb` symlink alongside bitbadgeschaind
trevormil May 2, 2026
596cf08
chain(cli): note auth subcmd in forwarder doc
trevormil May 2, 2026
4f23a01
Merge pull request #85 from BitBadges/feat/agent-ux-push
trevormil May 2, 2026
28d6647
chain(cli): drop auth from forwarder doc — SIWBB no longer in SDK
trevormil May 2, 2026
f5fb3c6
Merge pull request #87 from BitBadges/chore/drop-auth-from-cli-doc
trevormil May 2, 2026
73001b1
cmd: add sign-arbitrary ADR-36 offline signer (#88)
trevormil May 3, 2026
e3d6247
feat(tokenization): inclusive protocol fees (#0335) (#80)
trevormil May 3, 2026
305217f
chain(cli): scrub forwarder help text for flat CLI redesign (#0376) (…
trevormil May 3, 2026
1e79792
WIP feat: SDK v0.54 + cosmos/evm v0.7.0-beta.0 — blocked on PFM/ibc-g…
trevormil May 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ jobs:
build-linux-windows:
name: Build Linux & Windows
needs: test
runs-on: ubuntu-latest
# Pinned to 22.04 (glibc 2.35) so release binaries run on Ubuntu 22.04+,
# Debian 12+, RHEL 9+. ubuntu-latest (24.04, glibc 2.39) breaks older hosts.
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -171,12 +173,12 @@ jobs:

**One-liner:**
```bash
curl -fsSL https://raw.githubusercontent.com/BitBadges/bitbadgeschain/master/install.sh | sh
curl -fsSL https://install.bitbadges.io | sh
```

**Testnet:**
```bash
curl -fsSL https://raw.githubusercontent.com/BitBadges/bitbadgeschain/master/install.sh | sh -s -- --testnet
curl -fsSL https://install.bitbadges.io | sh -s -- --testnet
```

**SDK CLI:**
Expand Down
56 changes: 26 additions & 30 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ import (
_ "cosmossdk.io/api/cosmos/tx/config/v1" // import for side-effects
clienthelpers "cosmossdk.io/client/v2/helpers"
"cosmossdk.io/depinject"
"cosmossdk.io/log"
storetypes "cosmossdk.io/store/types"
_ "cosmossdk.io/x/circuit" // import for side-effects
circuitkeeper "cosmossdk.io/x/circuit/keeper"
_ "cosmossdk.io/x/evidence" // import for side-effects
evidencekeeper "cosmossdk.io/x/evidence/keeper"
feegrantkeeper "cosmossdk.io/x/feegrant/keeper"
_ "cosmossdk.io/x/feegrant/module" // import for side-effects
txsigning "cosmossdk.io/x/tx/signing"
_ "cosmossdk.io/x/upgrade" // import for side-effects

upgradekeeper "cosmossdk.io/x/upgrade/keeper"
"cosmossdk.io/log/v2"
storetypes "github.com/cosmos/cosmos-sdk/store/v2/types"
_ "github.com/cosmos/cosmos-sdk/contrib/x/circuit" // import for side-effects
circuitkeeper "github.com/cosmos/cosmos-sdk/contrib/x/circuit/keeper"
_ "github.com/cosmos/cosmos-sdk/x/evidence" // import for side-effects
evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper"
feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper"
_ "github.com/cosmos/cosmos-sdk/x/feegrant/module" // import for side-effects
txsigning "github.com/cosmos/cosmos-sdk/x/tx/signing"
_ "github.com/cosmos/cosmos-sdk/x/upgrade" // import for side-effects

upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
abci "github.com/cometbft/cometbft/abci/types"
dbm "github.com/cosmos/cosmos-db"
"github.com/cosmos/cosmos-sdk/baseapp"
Expand All @@ -44,8 +44,6 @@ import (
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
_ "github.com/cosmos/cosmos-sdk/x/consensus" // import for side-effects
consensuskeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper"
_ "github.com/cosmos/cosmos-sdk/x/crisis" // import for side-effects
crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper"
_ "github.com/cosmos/cosmos-sdk/x/distribution" // import for side-effects
distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"

Expand All @@ -55,8 +53,7 @@ import (
govclient "github.com/cosmos/cosmos-sdk/x/gov/client"
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
groupkeeper "github.com/cosmos/cosmos-sdk/x/group/keeper"
_ "github.com/cosmos/cosmos-sdk/x/group/module" // import for side-effects
// x/group removed in v0.54 (moved to Cosmos Enterprise)
_ "github.com/cosmos/cosmos-sdk/x/mint" // import for side-effects
mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper"
_ "github.com/cosmos/cosmos-sdk/x/params" // import for side-effects
Expand All @@ -71,22 +68,22 @@ import (
packetforward "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v10/packetforward"
packetforwardkeeper "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v10/packetforward/keeper"
packetforwardtypes "github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v10/packetforward/types"
_ "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts" // import for side-effects
icacontrollerkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/controller/keeper"
icahostkeeper "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/host/keeper"
porttypes "github.com/cosmos/ibc-go/v10/modules/core/05-port/types"
ibckeeper "github.com/cosmos/ibc-go/v10/modules/core/keeper"
_ "github.com/cosmos/ibc-go/v11/modules/apps/27-interchain-accounts" // import for side-effects
icacontrollerkeeper "github.com/cosmos/ibc-go/v11/modules/apps/27-interchain-accounts/controller/keeper"
icahostkeeper "github.com/cosmos/ibc-go/v11/modules/apps/27-interchain-accounts/host/keeper"
porttypes "github.com/cosmos/ibc-go/v11/modules/core/05-port/types"
ibckeeper "github.com/cosmos/ibc-go/v11/modules/core/keeper"

sdkmempool "github.com/cosmos/cosmos-sdk/types/mempool"
evmante "github.com/cosmos/evm/ante"
antetypes "github.com/cosmos/evm/ante/types"
evmmempool "github.com/cosmos/evm/mempool"
erc20keeper "github.com/cosmos/evm/x/erc20/keeper"
feemarketkeeper "github.com/cosmos/evm/x/feemarket/keeper"
transferkeeper "github.com/cosmos/ibc-go/v10/modules/apps/transfer/keeper"
precisebank "github.com/cosmos/evm/x/precisebank"
precisebankkeeper "github.com/cosmos/evm/x/precisebank/keeper"
precisebanktypes "github.com/cosmos/evm/x/precisebank/types"
transferkeeper "github.com/cosmos/ibc-go/v11/modules/apps/transfer/keeper"
precisebank "github.com/cosmos/evm/contrib/x/precisebank"
precisebankkeeper "github.com/cosmos/evm/contrib/x/precisebank/keeper"
precisebanktypes "github.com/cosmos/evm/contrib/x/precisebank/types"
evmkeeper "github.com/cosmos/evm/x/vm/keeper"
evmtypes "github.com/cosmos/evm/x/vm/types"
"github.com/ethereum/go-ethereum/common"
Expand Down Expand Up @@ -143,13 +140,13 @@ type App struct {
SlashingKeeper slashingkeeper.Keeper
MintKeeper mintkeeper.Keeper
GovKeeper *govkeeper.Keeper
CrisisKeeper *crisiskeeper.Keeper
// CrisisKeeper removed in v0.54 (moved to contrib)
UpgradeKeeper *upgradekeeper.Keeper
ParamsKeeper paramskeeper.Keeper
AuthzKeeper authzkeeper.Keeper
EvidenceKeeper evidencekeeper.Keeper
FeeGrantKeeper feegrantkeeper.Keeper
GroupKeeper groupkeeper.Keeper

CircuitBreakerKeeper circuitkeeper.Keeper

// IBC
Expand Down Expand Up @@ -284,13 +281,12 @@ func New(
&app.SlashingKeeper,
&app.MintKeeper,
&app.GovKeeper,
&app.CrisisKeeper,
&app.UpgradeKeeper,
&app.ParamsKeeper,
&app.AuthzKeeper,
&app.EvidenceKeeper,
&app.FeeGrantKeeper,
&app.GroupKeeper,

&app.CircuitBreakerKeeper,
&app.TokenizationKeeper,
&app.ManagerSplitterKeeper,
Expand Down Expand Up @@ -395,7 +391,7 @@ func New(
}
/**** Module Options ****/

app.ModuleManager.RegisterInvariants(app.CrisisKeeper)
// Crisis invariants removed in v0.54

// create the simulation manager and define the order of the modules for deterministic simulations
overrideModules := map[string]module.AppModuleSimulation{
Expand Down
43 changes: 12 additions & 31 deletions app/app_config.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package app

import (
"time"

gammtypes "github.com/bitbadges/bitbadgeschain/x/gamm/types"
poolmanagertypes "github.com/bitbadges/bitbadgeschain/x/poolmanager/types"
_ "github.com/bitbadges/bitbadgeschain/x/sendmanager/module"
Expand All @@ -13,15 +11,13 @@ import (
authmodulev1 "cosmossdk.io/api/cosmos/auth/module/v1"
authzmodulev1 "cosmossdk.io/api/cosmos/authz/module/v1"
bankmodulev1 "cosmossdk.io/api/cosmos/bank/module/v1"
circuitmodulev1 "cosmossdk.io/api/cosmos/circuit/module/v1"
circuitmodulev1 "github.com/cosmos/cosmos-sdk/contrib/api/cosmos/circuit/module/v1"
consensusmodulev1 "cosmossdk.io/api/cosmos/consensus/module/v1"
crisismodulev1 "cosmossdk.io/api/cosmos/crisis/module/v1"
distrmodulev1 "cosmossdk.io/api/cosmos/distribution/module/v1"
evidencemodulev1 "cosmossdk.io/api/cosmos/evidence/module/v1"
feegrantmodulev1 "cosmossdk.io/api/cosmos/feegrant/module/v1"
genutilmodulev1 "cosmossdk.io/api/cosmos/genutil/module/v1"
govmodulev1 "cosmossdk.io/api/cosmos/gov/module/v1"
groupmodulev1 "cosmossdk.io/api/cosmos/group/module/v1"
mintmodulev1 "cosmossdk.io/api/cosmos/mint/module/v1"
paramsmodulev1 "cosmossdk.io/api/cosmos/params/module/v1"
slashingmodulev1 "cosmossdk.io/api/cosmos/slashing/module/v1"
Expand All @@ -31,28 +27,26 @@ import (
vestingmodulev1 "cosmossdk.io/api/cosmos/vesting/module/v1"

"cosmossdk.io/core/appconfig"
circuittypes "cosmossdk.io/x/circuit/types"
evidencetypes "cosmossdk.io/x/evidence/types"
"cosmossdk.io/x/feegrant"
upgradetypes "cosmossdk.io/x/upgrade/types"
circuittypes "github.com/cosmos/cosmos-sdk/contrib/x/circuit/types"
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
"github.com/cosmos/cosmos-sdk/x/feegrant"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
"github.com/cosmos/cosmos-sdk/runtime"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
"github.com/cosmos/cosmos-sdk/x/authz"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
consensustypes "github.com/cosmos/cosmos-sdk/x/consensus/types"
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
"github.com/cosmos/cosmos-sdk/x/group"
minttypes "github.com/cosmos/cosmos-sdk/x/mint/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
icatypes "github.com/cosmos/ibc-go/v10/modules/apps/27-interchain-accounts/types"
ibctransfertypes "github.com/cosmos/ibc-go/v10/modules/apps/transfer/types"
ibcexported "github.com/cosmos/ibc-go/v10/modules/core/exported"
icatypes "github.com/cosmos/ibc-go/v11/modules/apps/27-interchain-accounts/types"
ibctransfertypes "github.com/cosmos/ibc-go/v11/modules/apps/transfer/types"
ibcexported "github.com/cosmos/ibc-go/v11/modules/core/exported"

tokenizationmodulev1 "github.com/bitbadges/bitbadgeschain/api/tokenization/module"
_ "github.com/bitbadges/bitbadgeschain/x/tokenization/module" // import for side-effects
Expand All @@ -70,10 +64,9 @@ import (

erc20types "github.com/cosmos/evm/x/erc20/types"
feemarkettypes "github.com/cosmos/evm/x/feemarket/types"
precisebanktypes "github.com/cosmos/evm/x/precisebank/types"
precisebanktypes "github.com/cosmos/evm/contrib/x/precisebank/types"
evmtypes "github.com/cosmos/evm/x/vm/types"

"google.golang.org/protobuf/types/known/durationpb"
// this line is used by starport scaffolding # stargate/app/moduleImport
)

Expand All @@ -90,7 +83,6 @@ var (
slashingtypes.ModuleName,
govtypes.ModuleName,
minttypes.ModuleName,
crisistypes.ModuleName,
ibcexported.ModuleName,
genutiltypes.ModuleName,
evidencetypes.ModuleName,
Expand All @@ -102,7 +94,6 @@ var (
paramstypes.ModuleName,
upgradetypes.ModuleName,
vestingtypes.ModuleName,
group.ModuleName,
consensustypes.ModuleName,
circuittypes.ModuleName,
// chain modules
Expand Down Expand Up @@ -153,11 +144,10 @@ var (

endBlockers = []string{
// cosmos sdk modules
crisistypes.ModuleName,
banktypes.ModuleName, // REQUIRED for v0.54 - must be first for BlockSTM support
govtypes.ModuleName,
stakingtypes.ModuleName,
feegrant.ModuleName,
group.ModuleName,
genutiltypes.ModuleName,
// ibc modules
ibcexported.ModuleName,
Expand Down Expand Up @@ -306,13 +296,7 @@ var (
Name: minttypes.ModuleName,
Config: appconfig.WrapAny(&mintmodulev1.Module{}),
},
{
Name: group.ModuleName,
Config: appconfig.WrapAny(&groupmodulev1.Module{
MaxExecutionPeriod: durationpb.New(time.Second * 1209600),
MaxMetadataLen: 255,
}),
},
// x/group removed in v0.54 (moved to Cosmos Enterprise)
{
Name: feegrant.ModuleName,
Config: appconfig.WrapAny(&feegrantmodulev1.Module{}),
Expand All @@ -321,10 +305,7 @@ var (
Name: govtypes.ModuleName,
Config: appconfig.WrapAny(&govmodulev1.Module{}),
},
{
Name: crisistypes.ModuleName,
Config: appconfig.WrapAny(&crisismodulev1.Module{}),
},
// x/crisis removed in v0.54 (moved to contrib, no longer actively maintained)
{
Name: consensustypes.ModuleName,
Config: appconfig.WrapAny(&consensusmodulev1.Module{}),
Expand Down
2 changes: 1 addition & 1 deletion app/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
evmkeeper "github.com/cosmos/evm/x/vm/keeper"
evmtypes "github.com/cosmos/evm/x/vm/types"

storetypes "cosmossdk.io/store/types"
storetypes "github.com/cosmos/cosmos-sdk/store/v2/types"

servertypes "github.com/cosmos/cosmos-sdk/server/types"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down
2 changes: 1 addition & 1 deletion app/evm_mempool.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package app
import (
"fmt"

"cosmossdk.io/log"
"cosmossdk.io/log/v2"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
Expand Down
2 changes: 1 addition & 1 deletion app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"log"

storetypes "cosmossdk.io/store/types"
storetypes "github.com/cosmos/cosmos-sdk/store/v2/types"
cmtproto "github.com/cometbft/cometbft/proto/tendermint/types"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down
2 changes: 1 addition & 1 deletion app/gamm.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package app

import (
"cosmossdk.io/core/appmodule"
storetypes "cosmossdk.io/store/types"
storetypes "github.com/cosmos/cosmos-sdk/store/v2/types"
cdctypes "github.com/cosmos/cosmos-sdk/codec/types"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
"github.com/cosmos/cosmos-sdk/types/module"
Expand Down
Loading