This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
asset-conversion pallet: persist a pool account id #14784
Labels
J0-enhancement
An additional feature request.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
A pool account id is computed every time we need it. The computation involves a decoding which in theory might change over time (with some major updates for example).
I can not reason from the code base why should the account id should be compute every time we need it.
Solution
Compute a pool account id on a pool creation and store it in the
Pools
storage asPoolInfo
.The text was updated successfully, but these errors were encountered: