Skip to content

Commit

Permalink
delete ForkLogicFunc type
Browse files Browse the repository at this point in the history
  • Loading branch information
alchemist-ti committed Jun 23, 2023
1 parent 43ca655 commit d5425d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions app/upgrades/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ type Fork struct {
UpgradeHeight int64

// Function that runs some custom state transition code at the beginning of a fork.
BeginForkLogic ForkLogicFunc
BeginForkLogic func(ctx sdk.Context, keppers *keepers.AppKeepers, mm *module.Manager)
}

// ForkLogicFunc defines a function that is run at the beginning of a fork.
type ForkLogicFunc = func(ctx sdk.Context, keppers *keepers.AppKeepers, mm *module.Manager)
```
5 changes: 1 addition & 4 deletions app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,5 @@ type Fork struct {
UpgradeHeight int64

// Function that runs some custom state transition code at the beginning of a fork.
BeginForkLogic ForkLogicFunc
BeginForkLogic func(ctx sdk.Context, keppers *keepers.AppKeepers, mm *module.Manager)
}

// ForkLogicFunc defines a function that is run at the beginning of a fork.
type ForkLogicFunc = func(ctx sdk.Context, keppers *keepers.AppKeepers, mm *module.Manager)

0 comments on commit d5425d0

Please sign in to comment.