Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
upgrade furnance
Browse files Browse the repository at this point in the history
  • Loading branch information
taryune committed Feb 26, 2024
1 parent 4026ea7 commit 57bb714
Show file tree
Hide file tree
Showing 29 changed files with 99,591 additions and 14,024 deletions.
14 changes: 7 additions & 7 deletions api/mycel/furnace/v1beta1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion api/mycel/furnace/v1beta1/tx.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

363 changes: 183 additions & 180 deletions api/mycel/registry/v1beta1/tx.pulsar.go

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import (
_ "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts" // import for side-effects
_ "github.com/cosmos/ibc-go/v8/modules/apps/29-fee" // import for side-effects
_ "github.com/mycel-domain/mycel/x/epochs/module"
_ "github.com/mycel-domain/mycel/x/furnace/module"

dbm "github.com/cosmos/cosmos-db"
capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper"
Expand Down Expand Up @@ -80,8 +81,9 @@ import (
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"

"github.com/mycel-domain/mycel/docs"
// Epochs
// Mycel Modules
epochsmodulekeeper "github.com/mycel-domain/mycel/x/epochs/keeper"
furnacemodulekeeper "github.com/mycel-domain/mycel/x/furnace/keeper"
)

const (
Expand Down Expand Up @@ -147,9 +149,9 @@ type App struct {
// WasmKeeper wasmkeeper.Keeper

// Mycel modules
EpochsKeeper epochsmodulekeeper.Keeper
FurnaceKeeper furnacemodulekeeper.Keeper
// RegistryKeeper registrymodulekeeper.Keeper
EpochsKeeper epochsmodulekeeper.Keeper
// FurnaceKeeper furnacemodulekeeper.Keeper

// sm is the simulation manager
sm *module.SimulationManager
Expand Down Expand Up @@ -290,7 +292,7 @@ func New(
// &app.WasmKeeper,
// Mycel Keepers
&app.EpochsKeeper,
// &app.FurnaceKeeper,
&app.FurnaceKeeper,
// &app.RegistryKeeper,
// this line is used by starport scaffolding # stargate/app/keeperDefinition
); err != nil {
Expand Down
23 changes: 14 additions & 9 deletions app/app_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,15 @@ import (
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

appparams "github.com/mycel-domain/mycel/app/params"

// Mycel modules
// Epochs
epochsmodulev1 "github.com/mycel-domain/mycel/api/mycel/epochs/module/v1"
appparams "github.com/mycel-domain/mycel/app/params"
epochsmoduletypes "github.com/mycel-domain/mycel/x/epochs/types"
// Furnace
furnacemodulev1 "github.com/mycel-domain/mycel/api/mycel/furnace/module/v1"
furnacemoduletypes "github.com/mycel-domain/mycel/x/furnace/types"
)

var (
Expand Down Expand Up @@ -103,7 +108,7 @@ var (

// Mycel modules
epochsmoduletypes.ModuleName,
// furnacemoduletypes.ModuleName,
furnacemoduletypes.ModuleName,
// registrymoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/initGenesis
}
Expand Down Expand Up @@ -132,7 +137,7 @@ var (
// wasmtypes.ModuleName,
// Mycel modules
epochsmoduletypes.ModuleName,
// furnacemoduletypes.ModuleName,
furnacemoduletypes.ModuleName,
// registrymoduletypes.ModuleName,

// this line is used by starport scaffolding # stargate/app/beginBlockers
Expand All @@ -156,7 +161,7 @@ var (
// wasmtypes.ModuleName,
// Mycel modules
epochsmoduletypes.ModuleName,
// furnacemoduletypes.ModuleName,
furnacemoduletypes.ModuleName,
// registrymoduletypes.ModuleName,
// this line is used by starport scaffolding # stargate/app/endBlockers
}
Expand Down Expand Up @@ -317,13 +322,13 @@ var (
{
Name: epochsmoduletypes.ModuleName,
Config: appconfig.WrapAny(&epochsmodulev1.Module{
HooksOrder: []string{},
HooksOrder: []string{furnacemoduletypes.ModuleName},
}),
},
// {
// Name: furnacemoduletypes.ModuleName,
// Config: appconfig.WrapAny(&furnacemodulev1.Module{}),
// },
{
Name: furnacemoduletypes.ModuleName,
Config: appconfig.WrapAny(&furnacemodulev1.Module{}),
},
// {
// Name: registrymoduletypes.ModuleName,
// Config: appconfig.WrapAny(&registrymodulev1.Module{}),
Expand Down
Loading

0 comments on commit 57bb714

Please sign in to comment.