mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
chore: fix some function names (#1929)
Signed-off-by: zoupingshi <hellocatty@tom.com>
This commit is contained in:
parent
e7cc89a642
commit
8d07d9cb3b
@ -199,7 +199,7 @@ func (p *CommunityCDPRepayDebtProposal) ValidateBasic() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewCommunityCDPRepayDebtProposal creates a new community pool cdp debt repay proposal.
|
// NewCommunityCDPWithdrawCollateralProposal creates a new community pool cdp debt repay proposal.
|
||||||
func NewCommunityCDPWithdrawCollateralProposal(
|
func NewCommunityCDPWithdrawCollateralProposal(
|
||||||
title string,
|
title string,
|
||||||
description string,
|
description string,
|
||||||
|
@ -96,7 +96,7 @@ func (suite *invariantTestSuite) SetupValidState() {
|
|||||||
suite.NoError(err)
|
suite.NoError(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// RegisterRoutes implements sdk.InvariantRegistry
|
// RegisterRoute implements sdk.InvariantRegistry
|
||||||
func (suite *invariantTestSuite) RegisterRoute(moduleName string, route string, invariant sdk.Invariant) {
|
func (suite *invariantTestSuite) RegisterRoute(moduleName string, route string, invariant sdk.Invariant) {
|
||||||
_, exists := suite.invariants[moduleName]
|
_, exists := suite.invariants[moduleName]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user