Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Jan 12, 2025
1 parent 87242c5 commit a78be47
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,11 @@ func testStakeTokenPos01(t *testing.T) {
std.TestSkipHeights(2)
CollectReward(1, false)
// FIXME
// 247 라인에서 1블록 스킵하면 CollectReward 정상 동작
// 2 블로 이상 스킵하면 insufficientBalance 패닉 발생
// 251 라인에서 1블록 스킵하면 CollectReward 정상 동작, 그러나 2 블록 이상 스킵하면 insufficientBalance 패닉 발생
// 터미널에 출력되는 로그 보면 unClaimableReward가 10702054 로 계산되고 있음 (이게 원인인듯)
// > 스테이킹 포지션 변동 없이 그냥 블록만 증가시켰는데 갑자기 unclaimable이 저만큼 잡혀서 부족한걸로 추정 됨
// >>>>>>>>>>>> internalUnClaimable : 10702054 , externalUnClaimable : map{}
// unClaimableInternal : 1070205

// std.TestSkipHeights(1) // 1 block for 70% warm up
// CollectReward(1, false)
})
}

Expand Down

0 comments on commit a78be47

Please sign in to comment.