Skip to content

test: Integration test for RemoveMultistakingBondDenom - #312

Merged
facs95 merged 10 commits into
mainfrom
hieu/remove-ms-token-integrate
Sep 22, 2025
Merged

test: Integration test for RemoveMultistakingBondDenom#312
facs95 merged 10 commits into
mainfrom
hieu/remove-ms-token-integrate

Conversation

@hieuvubk

@hieuvubk hieuvubk commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

integration test for realiotech/multi-staking#153

Test scenario:

  • create rio and rst validator
  • create 2 validator more with an evm token
  • users delegate to both 2 vals
  • submit proposal to remove evm token as multistaking bonded token
  • check undelegation for validator's self delegate and user delegate was created
  • check evm token was returned to user after unbonding period
  • check validator state after unbonding period

@hieuvubk
hieuvubk requested a review from facs95 as a code owner September 15, 2025 08:23
@hieuvubk
hieuvubk requested a review from jiujiteiro September 15, 2025 08:23
Comment thread tests/integration/multistaking_integration_test.go Outdated
redelegateAmount int64 = 200_000
undelegateAmount int64 = 200_000
multistakingBondWeight = "1.0" // 1:1 bond weight
multistakingBondWeight = "11.11" // 1:1 bond weight

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why this change?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

large and not integer weight value, just want to make sure rounding correctly.

@facs95
facs95 merged commit a831c8d into main Sep 22, 2025
14 of 15 checks passed
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.

3 participants