stride
stride copied to clipboard
Unnecessary ICA transactions in every epoch.
Background
k.SetWithdrawalAddress(ctx) in x/stakeibc/keeper/hooks.go is called every STRIDE EPOCH
I think it is unnecessary and it could cause tx fee leaks.
Suggested Design
- SetWithdrawalAddress(ctx) function needs to be executed only once when the host zone is registered at first. please let me know if there is any other reason why it should be called every epoch.
Hey @jongseokleedev, you’re absolutely right, this has been in our backlog for a bit. Can you say more about the fee leakage? Was that more from the perspective of the relayer?
Hi @sampocs , I'm not sure if it was the proper word to describe this issue as leakage, I just wanted to say that it could cause more tx fees from the perspective of the relayer due to unnecessary Txs. is this code written as a workaround for a specific issue? I was wondering background history of this code.
It's just legacy code that's been in there for awhile. Should be resolved in either of the next two upgrades