After https://github.com/IntersectMBO/cardano-ledger/issues/4061 the voting power of SPOs is not directly related to their staking power, since proposal deposits count towards the stake reward account where they will be returned. This means that epoch_stake doesn't properly depict the spo voting power. A new table can be introduced, which includes pool_hash_id, lovelace ammount and epoch can be introduced. The spo voting power can be extracted as the result of the drep pulser.
After https://github.com/IntersectMBO/cardano-ledger/issues/4061 the voting power of SPOs is not directly related to their staking power, since proposal deposits count towards the stake reward account where they will be returned. This means that
epoch_stake
doesn't properly depict the spo voting power. A new table can be introduced, which includes pool_hash_id, lovelace ammount and epoch can be introduced. The spo voting power can be extracted as the result of the drep pulser.