The signer and aggregator node import the Cardano transactions during the pre-loading phase, even if this type of data is not activated on the network. The expected behavior is to have the preloading triggered only when the aggregator has activated the Cardano transaction signed entity type.
What
Trigger the signer preloading of the Cardano transactions only if the aggregator advertises the CardanoTransactions in the signed entity types in its root route, and the aggregator preloading of the Cardano transactions only if the CardanoTransactions signed entity type is activated.
How
[x] Create a common trait CardanoTransactionsPreloaderActivationState with a async fn is_activated() -> StdResult<bool> function
[x] Use the CardanoTransactionsPreloaderActivationState in the aggregator to check if the preloading can be done before preloading
[x] Use the CardanoTransactionsPreloaderActivationState in the signer to check if the preloading can be done before preloading
Why
The signer and aggregator node import the Cardano transactions during the pre-loading phase, even if this type of data is not activated on the network. The expected behavior is to have the preloading triggered only when the aggregator has activated the Cardano transaction signed entity type.
What
Trigger the signer preloading of the Cardano transactions only if the aggregator advertises the
CardanoTransactions
in the signed entity types in its root route, and the aggregator preloading of the Cardano transactions only if theCardanoTransactions
signed entity type is activated.How
CardanoTransactionsPreloaderActivationState
with aasync fn is_activated() -> StdResult<bool>
functionCardanoTransactionsPreloaderActivationState
in the aggregator to check if the preloading can be done before preloadingCardanoTransactionsPreloaderActivationState
in the signer to check if the preloading can be done before preloading