File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,7 @@ pub async fn block_ptr(
633633/// Initialize the subgraph's block pointer. If the block pointer in
634634/// `latest_ethereum_block` is set already, do nothing. If it is still
635635/// `null`, set it to `start_ethereum_block` from `subgraph_manifest`
636- pub fn initialize_block_ptr ( conn : & mut PgConnection , site : & Site ) -> Result < ( ) , StoreError > {
636+ pub async fn initialize_block_ptr ( conn : & mut PgConnection , site : & Site ) -> Result < ( ) , StoreError > {
637637 use head as h;
638638 use subgraph_manifest as m;
639639
Original file line number Diff line number Diff line change @@ -1692,7 +1692,7 @@ impl DeploymentStore {
16921692 // deployed subgraphs so that we respect the 'startBlock' setting
16931693 // the first time the subgraph is started
16941694 conn. transaction_async ( |conn| {
1695- async { crate :: deployment:: initialize_block_ptr ( conn, & dst. site ) } . scope_boxed ( )
1695+ crate :: deployment:: initialize_block_ptr ( conn, & dst. site ) . scope_boxed ( )
16961696 } )
16971697 . await ?;
16981698 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments