Currently, session in SubstrateRollupClient is not exported, we can not use it directly in our code like following way while it is a common feature requirement when we want to access rollup storage like a KV storage.
let client = SubstrateRollupClient(...);
client.session.get(b"pending_tasks".to_vec()).unwrap();
client.session.put(b"free_accounts".to_vec(), free_accounts);
client.session.put(b"pending_tasks".to_vec(), pending_tasks);
Currently, session in
SubstrateRollupClient
is not exported, we can not use it directly in our code like following way while it is a common feature requirement when we want to access rollup storage like a KV storage.