Skip to content

fix(wstaking): allow historical fixed deposit migration rates#1058

Open
modelsbridgeaicom-ship-it wants to merge 1 commit into
openmetaearth:mainfrom
modelsbridgeaicom-ship-it:codex/wstaking-historical-fixed-deposit-rate-933
Open

fix(wstaking): allow historical fixed deposit migration rates#1058
modelsbridgeaicom-ship-it wants to merge 1 commit into
openmetaearth:mainfrom
modelsbridgeaicom-ship-it:codex/wstaking-historical-fixed-deposit-rate-933

Conversation

@modelsbridgeaicom-ship-it

Copy link
Copy Markdown
Contributor

Fixes #933.

Summary

  • keeps migrated fixed deposits on their stored historical rate and interest instead of requiring the destination region's current config rate to match
  • requires only that the destination region still has an active config for each migrated fixed-deposit term
  • adds a focused regression test for historical-rate mismatch plus missing/inactive term rejection

Tests

  • Passed: git diff --check
  • Attempted: ..\..\tools\go\bin\go.exe test .\x\wstaking\keeper -run TestValidateTransferFixedDepositCfg -count=1 -v
    • Blocked by existing upstream dependency compile error in github.com/openmetaearth/ethermint/app/ante/eip712.go: missing secp256k1.RecoverPubkey and secp256k1.VerifySignature.
  • Attempted: ..\..\tools\go\bin\go.exe test .\x\wstaking\types -count=1
    • Blocked by existing MsgIbcTransferFromRegionTreasure fixture failures with blank IBC port/channel identifiers.

@koelzen koelzen added run-ci Trigger CI run and removed run-ci Trigger CI run labels Jun 10, 2026
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.

[BUG BOUNTY] [Medium] [wstaking/KYC] KYC region transfer rejects historical fixed deposits after target rate changes

2 participants