(&self, program_hash: Hash)
| 82 | Fut: Future<Output = anyhow::Result<Option<Box<[u8]>>>> + Send, |
| 83 | { |
| 84 | async fn lookup(&self, program_hash: Hash) -> anyhow::Result<Option<Box<[u8]>>> { |
| 85 | self(program_hash).await |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | pub type ProgramStorage = Arc<dyn ExternalStorage>; |