Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
MissingNO57 committed Oct 7, 2024
1 parent 50e5c8f commit c64237b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
8 changes: 3 additions & 5 deletions app/upgrade_cudos.go
Original file line number Diff line number Diff line change
Expand Up @@ -891,11 +891,9 @@ func handleCommunityPoolBalance(ctx sdk.Context, app *App, genesisData *GenesisD

} else {
// If community pool destination balance is set we move community pool tokens there.
if cudosCfg.config.CommunityPoolBalanceDestAddr != "" {
err = moveGenesisBalance(genesisData, RemainingDistributionBalanceAccount.address, cudosCfg.config.CommunityPoolBalanceDestAddr, communityPoolBalance, "community_pool_balance", manifest, cudosCfg)
if err != nil {
return fmt.Errorf("failed to move community pool balance %w", err)
}
err = moveGenesisBalance(genesisData, RemainingDistributionBalanceAccount.address, cudosCfg.config.CommunityPoolBalanceDestAddr, communityPoolBalance, "community_pool_balance", manifest, cudosCfg)
if err != nil {
return fmt.Errorf("failed to move community pool balance %w", err)
}

}
Expand Down
8 changes: 4 additions & 4 deletions app/upgrade_v_11_4_network_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ var NetworkInfos = map[string]NetworkConfig{
RemainingDistributionBalanceAddr: "cudos1nj49l56x7sss5hqyvfmctxr3mq64whg273g3x5",
ContractDestinationFallbackAddr: "cudos1nj49l56x7sss5hqyvfmctxr3mq64whg273g3x5",

CommissionFetchAddr: "fetch15p3rl5aavw9rtu86tna5lgxfkz67zzr6ed4yhw", // Fetch ecosystem wallet
ExtraSupplyFetchAddr: "fetch1wp8fl6fl4je40cfh2reeyj6cvucve9s6antdav",
VestingCollisionDestAddr: "cudos1nj49l56x7sss5hqyvfmctxr3mq64whg273g3x5",
//CommunityPoolBalanceDestAddr: "cudos1dslwarknhfsw3pfjzxxf5mn28q3ewfectw0gta",
CommissionFetchAddr: "fetch15p3rl5aavw9rtu86tna5lgxfkz67zzr6ed4yhw", // Fetch ecosystem wallet
ExtraSupplyFetchAddr: "fetch1wp8fl6fl4je40cfh2reeyj6cvucve9s6antdav",
VestingCollisionDestAddr: "cudos1nj49l56x7sss5hqyvfmctxr3mq64whg273g3x5",
CommunityPoolBalanceDestAddr: "cudos1dslwarknhfsw3pfjzxxf5mn28q3ewfectw0gta",

SourceChainAddressPrefix: "cudos",

Expand Down

0 comments on commit c64237b

Please sign in to comment.