realiotech / realio-network

Realio Network is an EVM compatible blockchain built using the Cosmos SDK and Tendermint consensus engine. It is focused on the issuance and management of digitally native and real-world assets across many chains.
MIT License
39 stars 16 forks source link

Autoclaiming and delegating rewards in one transaction fails #137

Open tombeynon opened 7 months ago

tombeynon commented 7 months ago

Hi Realio!

This issue was raised by a REStake validator - it seems auto-claiming rewards and delegating them in a single transaction is failing under some conditions after the recent update. Usually if a delegator has pending rewards, a single Delegate transaction can be made which will auto-claim the rewards and delegate them in one transaction.

After a recent Realio update, a validator has reported that REStake is failing for them, and the cause seems to be these pending rewards are not available in the Delegate TX. More info is provided on this issue: https://github.com/eco-stake/restake/issues/774

Could anything have changed with this functionality in a recent update?

jiujiteiro commented 6 months ago

@tombeynon missed this somehow.

@GNaD13 @catShaark can you guys help take a look at this?

GNaD13 commented 6 months ago

@tombeynon missed this somehow.

@GNaD13 @catShaark can you guys help take a look at this?

Yeah, we will investigate on this

tombeynon commented 6 months ago

Thanks so much guys! Let me know if I can provide any more detail, appreciate it's a tough one to trace