Skip to content

Conversation

@open-junius
Copy link
Contributor

Description

Set the default start call duration as 0, to avoid the long waiting.

Related Issue(s)

  • Closes #[issue number]

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

Breaking Change

If this PR introduces a breaking change, please provide a detailed description of the impact and the migration path for existing applications.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run ./scripts/fix_rust.sh to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)

Please include any relevant screenshots or GIFs that demonstrate the changes made.

Additional Notes

Please provide any additional information or context that may be helpful for reviewers.

@open-junius open-junius changed the title init solution set default start call time as 0 Jan 13, 2026
@open-junius open-junius self-assigned this Jan 13, 2026
@open-junius open-junius added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Jan 13, 2026
@ibraheem-abe
Copy link
Contributor

We should merge this in so localnet fastblocks also have the new 0 period for the start call.

@open-junius
Copy link
Contributor Author

We should merge this in so localnet fastblocks also have the new 0 period for the start call.
Thanks for your PR, I will merge it into this one.

// 7 * 24 * 60 * 60 / 12 = 7 days
pub const InitialStartCallDelay: u64 = prod_or_fast!(7 * 24 * 60 * 60 / 12, 10);
// 0 days
pub const InitialStartCallDelay: u64 = prod_or_fast!(0, 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since both values are equal, you can just use 0 here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sense, thanks! I will rebase my other PR and put the change from comment there

@open-junius open-junius merged commit ed87b94 into devnet-ready Jan 14, 2026
168 of 169 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants