Concordium/concordium-node

`GetPoolInfo` returns incorrect commission rates for current payday

td202 opened this issue · 0 comments

Bug Description
The GetPoolInfo GRPC query reports the active commission rates where it should report the commission rates that apply to the pool in the current payday.

Steps to Reproduce

Change one or more of the commission rates on a validator account. Call GetPoolInfo for the pool, specifying the blockhash of the block that the transaction was in.

concordium-client --grpc-ip service.internal.stagenet.concordium.com raw GetPoolStatus --pool 1 1f20a023a584f3dcfb3284b19d5311c35cb8400b18272c8067391ae7bb03958f

Expected Result
The updated rate should show in the poolInfo section, but the old rate should show in the currentPaydayStatus section.

Actual Result
Both sections show the updated rate.

Versions

  • Software Version: 6.1-6.3
  • OS: all