mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
remove the TODO waiting for the storageHub PR; uncomment the code;
This commit is contained in:
parent
ede641c914
commit
69982e15e1
2 changed files with 11 additions and 14 deletions
|
|
@ -639,11 +639,10 @@ impl ProviderConfigurations {
|
|||
bs_changed = true;
|
||||
}
|
||||
|
||||
// TODO: restore once PR https://github.com/Moonsong-Labs/storage-hub/pull/671 is merged
|
||||
// if let Some(extrinsic_mortality) = self.extrinsic_mortality {
|
||||
// bs_options.extrinsic_mortality = Some(extrinsic_mortality);
|
||||
// bs_changed = true;
|
||||
// }
|
||||
if let Some(extrinsic_mortality) = self.extrinsic_mortality {
|
||||
bs_options.extrinsic_mortality = Some(extrinsic_mortality);
|
||||
bs_changed = true;
|
||||
}
|
||||
|
||||
if let Some(check_for_pending_proofs_period) = self.check_for_pending_proofs_period {
|
||||
bs_options.check_for_pending_proofs_period = Some(check_for_pending_proofs_period);
|
||||
|
|
@ -865,11 +864,10 @@ impl FishermanConfigurations {
|
|||
let mut bs_options = BlockchainServiceOptions::default();
|
||||
let mut bs_changed = false;
|
||||
|
||||
// TODO: restore once PR https://github.com/Moonsong-Labs/storage-hub/pull/671 is merged
|
||||
// if let Some(extrinsic_mortality) = self.fisherman_extrinsic_mortality {
|
||||
// bs_options.extrinsic_mortality = Some(extrinsic_mortality);
|
||||
// bs_changed = true;
|
||||
// }
|
||||
if let Some(extrinsic_mortality) = self.fisherman_extrinsic_mortality {
|
||||
bs_options.extrinsic_mortality = Some(extrinsic_mortality);
|
||||
bs_changed = true;
|
||||
}
|
||||
|
||||
if bs_changed {
|
||||
blockchain_service = Some(bs_options);
|
||||
|
|
|
|||
|
|
@ -1331,11 +1331,10 @@ where
|
|||
// Set the indexer db pool
|
||||
builder.with_indexer_db_pool(Some(db_pool));
|
||||
|
||||
// TODO: restore once PR https://github.com/Moonsong-Labs/storage-hub/pull/671 is merged
|
||||
// Configure blockchain service options for the fisherman
|
||||
// if let Some(c) = fisherman_options.blockchain_service.clone() {
|
||||
// builder.with_blockchain_service_config(c);
|
||||
// }
|
||||
if let Some(c) = fisherman_options.blockchain_service.clone() {
|
||||
builder.with_blockchain_service_config(c);
|
||||
}
|
||||
|
||||
// Spawn the fisherman service
|
||||
builder
|
||||
|
|
|
|||
Loading…
Reference in a new issue