File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,13 +31,10 @@ fn finalization_get_path(base: String, query: &IndexQuery) -> String {
3131 format ! ( "{base}/finalization/{}" , query. serialize( ) )
3232}
3333
34- /// Block backfill endpoint used by the chain backfiller.
3534fn block_upload_path ( base : String ) -> String {
3635 format ! ( "{base}/block" )
3736}
3837
39- /// Block reads still go through this path. `Latest` and `Index` return certified
40- /// data; digest lookups may return a block body recovered by the backfiller.
4138fn block_get_path ( base : String , query : & Query ) -> String {
4239 format ! ( "{base}/block/{}" , query. serialize( ) )
4340}
@@ -188,7 +185,7 @@ impl<S: Strategy> Client<S> {
188185 }
189186
190187 pub async fn block_upload ( & self , block : Block ) -> Result < ( ) , Error > {
191- // Upload the block body without a notarization/finalization wrapper.
188+ // Upload a block ( without a certificate)
192189 let result = self
193190 . http_client
194191 . post ( block_upload_path ( self . uri . clone ( ) ) )
You can’t perform that action at this time.
0 commit comments