Skip to content

Commit c4f605a

Browse files
committed
fix adapter, blob to blobs
1 parent 7f4b1ca commit c4f605a

File tree

3 files changed

+499
-54
lines changed

3 files changed

+499
-54
lines changed

sugondat-da-adapter/src/service.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl sov_rollup_interface::services::da::DaService for DaProvider {
123123
continue;
124124
};
125125
let Ok(Some(submit_blob_extrinsic)) =
126-
ext.as_extrinsic::<sugondat_subxt::sugondat::blob::calls::types::SubmitBlob>()
126+
ext.as_extrinsic::<sugondat_subxt::sugondat::blobs::calls::types::SubmitBlob>()
127127
else {
128128
// Not a submit blob extrinsic, skip.
129129
continue;
@@ -139,7 +139,7 @@ impl sov_rollup_interface::services::da::DaService for DaProvider {
139139
transactions.push(types::BlobTransaction::new(address, blob_data));
140140
}
141141

142-
let address = sugondat_subxt::sugondat::blob::storage::StorageApi.blob_list();
142+
let address = sugondat_subxt::sugondat::blobs::storage::StorageApi.blob_list();
143143
let blobs = client
144144
.storage()
145145
.at(hash)
@@ -208,7 +208,7 @@ impl sov_rollup_interface::services::da::DaService for DaProvider {
208208
let client = client.client().await?;
209209

210210
let extrinsic = sugondat_subxt::sugondat::tx()
211-
.blob()
211+
.blobs()
212212
.submit_blob(namespace_id, BoundedVec(blob));
213213

214214
let from = dev::alice();

sugondat-subxt/gen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
subxt codegen --url ws://localhost:9944/ | rustfmt --edition=2021 --emit=stdout > src/gen.rs
3+
subxt codegen --url ws://localhost:9988/ | rustfmt --edition=2021 --emit=stdout > src/gen.rs

0 commit comments

Comments
 (0)