Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft migration via Stake action for skipped agents #3143

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

OnedgeLee
Copy link
Contributor

@OnedgeLee OnedgeLee commented Jan 21, 2025

Stake 액션을 통해서 마이그레이션에서 누락된 에이전트들에 위임을 진행합니다.
아래의 두 케이스를 커버합니다.

  1. Pledge가 없어 기존 마이그레이션이 실패한 경우
  • LegacyStakeState로 스테이킹 상태를 가지고 있음
  • GuildGold도 존재하지 않고, 위임도 존재하지 않음
  1. 기존 마이그레이션 이후, Stake액션을 통해 StakeStateV3으로 이행하여 GuildGold를 획득하였지만, 위임은 누락된 경우
  • StakeStateV3으로 스테이킹 상태를 가지고 있음
  • GuildGold는 존재하나, 위임이 존재하지 않음

추가: Validator 대상으로 하는 ClaimUnbonded 테스트 코드 검증방법에 오류가 있어 테스트 코드 수정 커밋을 추가하였습니다.

@OnedgeLee OnedgeLee requested review from s2quake and ipdae January 21, 2025 16:44
@OnedgeLee OnedgeLee merged commit c9f098f into release/1.22.0 Jan 22, 2025
26 checks passed
@OnedgeLee OnedgeLee deleted the feat/migrate-undelegated branch January 22, 2025 07:51
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