HydraDX-node
HydraDX-node copied to clipboard
Fee payment prices fetched on demand
Currently we fetch all payment assets prices on initialize regardless if they are used or not. This is not very efficient, especially with a growing number of assets.
https://github.com/galacticcouncil/HydraDX-node/blob/f617f3c63f24b37586bf79aecee03455e2a90cab/pallets/transaction-multi-payment/src/lib.rs#L81
Price should be populated only if requested by any transaction.