-
Notifications
You must be signed in to change notification settings - Fork 210
/
init.go
25 lines (21 loc) · 1.01 KB
/
init.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Package v0_15_0
// nolint revive
package v0_15_0
import (
av1beta2 "github.com/akash-network/akash-api/go/node/audit/v1beta2"
cv1beta2 "github.com/akash-network/akash-api/go/node/cert/v1beta2"
dv1beta2 "github.com/akash-network/akash-api/go/node/deployment/v1beta2"
ev1beta2 "github.com/akash-network/akash-api/go/node/escrow/v1beta2"
mv1beta2 "github.com/akash-network/akash-api/go/node/market/v1beta2"
pv1beta2 "github.com/akash-network/akash-api/go/node/provider/v1beta2"
utypes "github.com/akash-network/node/upgrades/types"
)
func init() {
utypes.RegisterUpgrade(upgradeName, initUpgrade)
utypes.RegisterMigration(av1beta2.ModuleName, 1, newAuditMigration)
utypes.RegisterMigration(cv1beta2.ModuleName, 1, newCertMigration)
utypes.RegisterMigration(dv1beta2.ModuleName, 1, newDeploymentMigration)
utypes.RegisterMigration(mv1beta2.ModuleName, 1, newMarketMigration)
utypes.RegisterMigration(pv1beta2.ModuleName, 1, newProviderMigration)
utypes.RegisterMigration(ev1beta2.ModuleName, 1, newEscrowMigration)
}