Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ICRC_Ledger): FI-1558: Set 10Tcycles default value for cycles for archive creation #3653

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mbjorkqvist
Copy link
Member

Set the default value for cycles_for_archive_creation to 10Tcycles.

@github-actions github-actions bot added the feat label Jan 28, 2025
Comment on lines +15 to +17
/// 10 trillion cycles.
pub const DEFAULT_CYCLES_FOR_ARCHIVE_CREATION: u64 = 10_000_000_000_000;

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the same value currently set for SNS ledgers.

@mbjorkqvist mbjorkqvist marked this pull request as ready for review February 4, 2025 15:02
@mbjorkqvist mbjorkqvist requested a review from a team as a code owner February 4, 2025 15:02
}

pub fn test_cycles_for_archive_creation_default_spawns_archive<T>(
ledger_wasm_current_lowinstructionlimits: Vec<u8>,
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this is just a regular wasm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants