caelum0x 226774ead1 feat: add tokenfactory autocli, 3 missing migrations, oracle whitelist param
- tokenfactory/module/autocli.go: documents Osmosis-compat constraint
- clawchain/privacy/tokenfactory: migrations.go with Migrator + Migrate1to2
- oracle: extended UpdateParam to handle whitelist (comma-separated denoms)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:03:58 +03:00

21 lines
421 B
Go

package keeper
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
// Migrator is a struct for handling in-place store migrations.
type Migrator struct {
keeper Keeper
}
// NewMigrator returns a new Migrator.
func NewMigrator(k Keeper) Migrator {
return Migrator{keeper: k}
}
// Migrate1to2 migrates from version 1 to 2.
func (m Migrator) Migrate1to2(_ sdk.Context) error {
return nil // no-op: initial version
}