Summary
Pool fee adjustments take one epoch longer to become effective than stake changes. Pooltool does display the current effective fee and change marker correctly most of the time, but not consistently so.
TBD: what pooltool actually shows needs to be validated, possibly pooltool visualizes at the current time the fee which will be effective if the delegator delegated right now? In this case the assumptions are wrong
Steps to reproduce
Steps to reproduce the behavior:
Create pool, set variable fee to Y and make sure it is tracked by pooltool.io
Change variable fee to X>Y in epoch n-1 and back to Y in epoch n.
Visit pooltool and track pool variable fee display in epoch n-1, n, n+1, n+2, n+3
See error at least in epoch n, instead of displaying Y with an up arrow, pooltool already displays X with no change notification whatsoever
Expected behavior
Pooltool always shows the current effective variable fee with change indications if something will change in an upcoming epoch
In epoch n-1 pooltool shows variable fee Y with an up arrow
In epoch n pooltool shows variable fee Y with an up arrow
In epoch n+1 pooltool shows variable fee Y with an up arrow
In epoch n+2 pooltool shows variable fee X with a down arrow
In epoch n+3 pooltool shows variable fee Y (with no change arrow if no other change was submitted in between)
Screenshots and attachments
This is in epoch n, fee was changed to X=4% in epoch n-1 and to Y=0% in epoch n:
-> Not-expected behavior
This is also epoch n, about middle of epoch:
-> Not-expected behavior, change in-between an epoch
This is epoch n+1
-> Not-expected behavior, in epoch n+2 the effective variable fee changes to X, it shows Y without any change indicator
Additional context
I believe in epoch n+1 and following pooltool does display this correctly, I will track this and update this issue epoch by epoch if I learn more.
Area Variable fee column
Summary Pool fee adjustments take one epoch longer to become effective than stake changes. Pooltool does display the current effective fee and change marker correctly most of the time, but not consistently so. TBD: what pooltool actually shows needs to be validated, possibly pooltool visualizes at the current time the fee which will be effective if the delegator delegated right now? In this case the assumptions are wrong
Steps to reproduce Steps to reproduce the behavior:
Expected behavior Pooltool always shows the current effective variable fee with change indications if something will change in an upcoming epoch In epoch n-1 pooltool shows variable fee Y with an up arrow In epoch n pooltool shows variable fee Y with an up arrow In epoch n+1 pooltool shows variable fee Y with an up arrow In epoch n+2 pooltool shows variable fee X with a down arrow In epoch n+3 pooltool shows variable fee Y (with no change arrow if no other change was submitted in between)
Screenshots and attachments This is in epoch n, fee was changed to X=4% in epoch n-1 and to Y=0% in epoch n: -> Not-expected behavior
This is also epoch n, about middle of epoch: -> Not-expected behavior, change in-between an epoch
This is epoch n+1 -> Not-expected behavior, in epoch n+2 the effective variable fee changes to X, it shows Y without any change indicator
Additional context I believe in epoch n+1 and following pooltool does display this correctly, I will track this and update this issue epoch by epoch if I learn more.