(project: SubqueryProject)
| 108 | } |
| 109 | |
| 110 | async onProjectChange(project: SubqueryProject): Promise<void> { |
| 111 | // Only network with chainTypes require to reload |
| 112 | await this.apiService.updateChainTypes(); |
| 113 | this.apiService.updateBlockFetching(); |
| 114 | } |
| 115 | |
| 116 | async getBlockTimestamp(height: number): Promise<Date> { |
| 117 | const block = await getBlockByHeight(this.apiService.api, height); |
nothing calls this directly
no test coverage detected