Skip to content

Connect growth with fund#7

Merged
CrackerakiUA merged 3 commits intomasterfrom
connect_growth_with_fund
Dec 14, 2025
Merged

Connect growth with fund#7
CrackerakiUA merged 3 commits intomasterfrom
connect_growth_with_fund

Conversation

@CrackerakiUA
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 22 to +25
Params collections.Item[types.Params]
RegionMetrics collections.Map[collections.Pair[string, string], types.RegionMetric]
GrowthScores collections.Map[collections.Pair[string, string], types.GrowthScore]
Occupations collections.Map[collections.Pair[string, string], sdkmath.LegacyDec]
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Persist occupation locks through genesis

The new Occupations store added to the growth keeper is not wired into genesis import/export: InitGenesis/ExportGenesis in x/growth/keeper/genesis.go still only serialize params, metrics, and scores. Any occupation values used by fund’s ValidateFundPlan to lock regions will therefore be silently dropped when the chain is exported for an upgrade or test and re-started from that genesis, leaving all regions unlocked even if they were previously above the 50% threshold.

Useful? React with 👍 / 👎.

@CrackerakiUA CrackerakiUA merged commit 537d9d4 into master Dec 14, 2025
1 check passed
@CrackerakiUA CrackerakiUA deleted the connect_growth_with_fund branch December 14, 2025 18:50
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.

1 participant