mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
bbb2235ba0
* add initial auction migration from Levi's work * reserve bid_duration field name as well * refactor auction specifc migration code to legacy v0_17 pkg * Add auction migration specific test. Delete v016 migration files. Add makefile target for running migration tests. Co-authored-by: galxy25 <levismschoen@gmail.com>
17 lines
406 B
Go
17 lines
406 B
Go
package types
|
|
|
|
import (
|
|
types "github.com/cosmos/cosmos-sdk/codec/types"
|
|
v017auction "github.com/kava-labs/kava/x/auction/types"
|
|
)
|
|
|
|
func RegisterInterfaces(registry types.InterfaceRegistry) {
|
|
registry.RegisterInterface(
|
|
"kava.auction.v1beta1.GenesisAuction",
|
|
(*v017auction.GenesisAuction)(nil),
|
|
&v017auction.SurplusAuction{},
|
|
&v017auction.DebtAuction{},
|
|
&v017auction.CollateralAuction{},
|
|
)
|
|
}
|