Skip to content

Commit

Permalink
Merge branch 'main' into CNS-291-fixation-library-implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Feb 26, 2023
2 parents d89b8fb + db75830 commit 00bfd15
Show file tree
Hide file tree
Showing 37 changed files with 1,223 additions and 61,499 deletions.
12 changes: 11 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,17 @@ const (
)

// Upgrades add here future upgrades (upgrades.Upgrade)
var Upgrades = []upgrades.Upgrade{upgrades.Upgrade_0_4_0, upgrades.Upgrade_0_4_3, upgrades.Upgrade_0_4_4, upgrades.Upgrade_0_4_5, v0_5_0.Upgrade, v0_5_1.Upgrade, v0_5_2.Upgrade, upgrades.Upgrade_0_6_0}
var Upgrades = []upgrades.Upgrade{
upgrades.Upgrade_0_4_0,
upgrades.Upgrade_0_4_3,
upgrades.Upgrade_0_4_4,
upgrades.Upgrade_0_4_5,
v0_5_0.Upgrade,
v0_5_1.Upgrade,
v0_5_2.Upgrade,
upgrades.Upgrade_0_6_0,
upgrades.Upgrade_0_6_0_RC3,
}

// this line is used by starport scaffolding # stargate/wasm/app/enabledProposals

Expand Down
10 changes: 10 additions & 0 deletions app/upgrades/empty_upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,13 @@ var Upgrade_0_6_0 = Upgrade{
}, // create CreateUpgradeHandler in upgrades.go below
StoreUpgrades: store.StoreUpgrades{}, // StoreUpgrades has 3 fields: Added/Renamed/Deleted any module that fits these description should be added in the way below
}

var Upgrade_0_6_0_RC3 = Upgrade{
UpgradeName: "v0.6.0-RC3", // upgrade name defined few lines above
CreateUpgradeHandler: func(m *module.Manager, c module.Configurator, bapm BaseAppParamManager, lk *keepers.LavaKeepers) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
return m.RunMigrations(ctx, c, vm)
}
}, // create CreateUpgradeHandler in upgrades.go below
StoreUpgrades: store.StoreUpgrades{}, // StoreUpgrades has 3 fields: Added/Renamed/Deleted any module that fits these description should be added in the way below
}
32 changes: 16 additions & 16 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,37 @@ build:
main: "cmd/lavad"
accounts:
- name: alice
coins: ["200000000000ulava"]
coins: ["50000000000000ulava"]
- name: bob
coins: ["10000ulava"]
coins: ["50000000000000ulava"]
- name: user1
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: user2
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: user3
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: user4
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer1
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer2
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer3
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer4
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer5
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer6
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer7
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer8
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer9
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
- name: servicer10
coins: ["200000000ulava"]
coins: ["50000000000000ulava"]
validator:
name: alice
staked: "100000000000ulava"
Expand Down
Loading

0 comments on commit 00bfd15

Please sign in to comment.