Skip to content

bounty distribution for v0.2.14 and devshard v3#1446

Open
mtvnastya wants to merge 2 commits into
upgrade-v0.2.14from
bounty-v0.2.14
Open

bounty distribution for v0.2.14 and devshard v3#1446
mtvnastya wants to merge 2 commits into
upgrade-v0.2.14from
bounty-v0.2.14

Conversation

@mtvnastya

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings July 14, 2026 04:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a v0.2.14 upgrade step to distribute a set of hardcoded bounty payments (in IBC USDT) by executing withdrawals from the community sale CosmWasm contract during the upgrade handler.

Changes:

  • Adds a hardcoded bounty recipient list (addresses + USDT amounts) for v0.2.14 / devshard v3 work.
  • Implements distributeBountyRewards to execute withdraw_ibc messages on the community sale contract for each recipient.
  • Hooks bounty distribution into the v0.2.14 upgrade handler flow before module migrations.

Comment on lines +167 to +169
if err := distributeBountyRewards(ctx, k); err != nil {
return nil, err
}

func distributeBountyRewards(ctx context.Context, k keeper.Keeper) error {
if len(bountyRewards) == 0 {
k.Logger().Info("No bounty rewards to distribute")
Signed-off-by: mtvnastya <mtvnastya@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants