Concordium / concordium-node

The main concordium node implementation.
GNU Affero General Public License v3.0
45 stars 21 forks source link

`GetPoolInfo` returns incorrect commission rates for current payday #1177

Open td202 opened 1 month ago

td202 commented 1 month ago

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