Skip to content

Commit

Permalink
Merge pull request #1378 from Pylons-tech/fix/bedrock-distribution
Browse files Browse the repository at this point in the history
fixed bedrock distrubution
  • Loading branch information
MikeSofaer authored Nov 11, 2022
2 parents 72b96a1 + 98cda9f commit a5ef45d
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions app/upgrades/v4/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,19 @@ var (
EngineHotWal,
}

TotalUbedrock = math.NewIntFromUint64(1e+15) // 1 bedrock = 1_000_000 ubedrock

// UbedrockDistribute = map[string]math.Int{
// Accounts[0]: math.NewIntFromUint64(150_000_000_000_000),
// Accounts[1]: math.NewIntFromUint64(150_000_000_000_000),
// Accounts[2]: math.ZeroInt(),
// Accounts[3]: math.NewIntFromUint64(20_000_000_000_000),
// Accounts[4]: math.NewIntFromUint64(40_000_000_000_000),
// Accounts[5]: math.NewIntFromUint64(20_000_000_000_000),
// Accounts[6]: math.NewIntFromUint64(619_999_000_000_000),
// Accounts[7]: math.NewIntFromUint64(1_000_000_000),
// }
TotalUbedrock = math.NewIntFromUint64(1_000_000_000_000_000) // 1 bedrock = 1_000_000 ubedrock

UbedrockDistribute = map[string]math.Int{
Accounts[0]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[1]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[0]: math.NewIntFromUint64(150_000_000_000_000),
Accounts[1]: math.NewIntFromUint64(150_000_000_000_000),
Accounts[2]: math.ZeroInt(),
Accounts[3]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[4]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[5]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[6]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[7]: math.NewIntFromUint64(1_000_000_000_000_00),
Accounts[3]: math.NewIntFromUint64(20_000_000_000_000),
Accounts[4]: math.NewIntFromUint64(40_000_000_000_000),
Accounts[5]: math.NewIntFromUint64(20_000_000_000_000),
Accounts[6]: math.NewIntFromUint64(619_999_000_000_000),
Accounts[7]: math.NewIntFromUint64(1_000_000_000),
}

_ = Accounts
_ = TotalUbedrock
_ = UbedrockDistribute
Expand Down

0 comments on commit a5ef45d

Please sign in to comment.