diff --git a/examples/stable_memory/test/tests.ts b/examples/stable_memory/test/tests.ts index daef4b0852..08c7d0c5d9 100644 --- a/examples/stable_memory/test/tests.ts +++ b/examples/stable_memory/test/tests.ts @@ -2,9 +2,9 @@ import { Test } from 'azle/test'; import { _SERVICE } from './dfx_generated/stable_memory/stable_memory.did'; import { ActorSubclass } from '@dfinity/agent'; -const PAGE_SIZE = 65_536; -const MAX_STABLE_MEM_PAGES = 65_536; -const MAX_STABLE64_MEM_PAGES = 1_048_576n; +const PAGE_SIZE = 65_536; // This should currently remain constant +const MAX_STABLE_MEM_PAGES = 65_536; // This will always remain constant +const MAX_STABLE64_MEM_PAGES = 1_572_864n; // (# Gib * 2^30) / PAGE_SIZE const STABLE_BYTES_SIZE = 655_360; export function getTests(