pub async fn add_fee_accounts_to_state<N: ConnectedNetwork<PubKey>, V: Versions, P: SequencerPersistence>(
consensus: &Arc<RwLock<Consensus<SeqTypes>>>,
view: &<SeqTypes as NodeType>::View,
accounts: &[FeeAccount],
tree: &FeeMerkleTree,
leaf: Leaf2,
) -> Result<()>
Expand description
Add accounts to the in-memory consensus state. We use this during catchup after receiving verified accounts.