Skip to content

Commit f57e137

Browse files
committed
enable indexing
1 parent db428f9 commit f57e137

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nodes/parachain/src/command.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ macro_rules! construct_async_run {
6969

7070
/// Parse command line arguments into service configuration.
7171
pub(crate) fn run() -> sc_cli::Result<()> {
72-
let cli = Cli::from_args();
72+
let mut cli = Cli::from_args();
73+
74+
// all full nodes should store request/responses, otherwise they'd basically be
75+
// useless without it. https://docs.hyperbridge.network/developers/polkadot/pallet-ismp#offchain-indexing
76+
cli.run.base.offchain_worker_params.indexing_enabled = true;
7377

7478
match &cli.subcommand {
7579
Some(Subcommand::BuildSpec(cmd)) => {

0 commit comments

Comments
 (0)