From e6daa143add4b380516bb2ee5f311ac53f69b1d9 Mon Sep 17 00:00:00 2001 From: Atreay Kukanur <66585295+ATREAY@users.noreply.github.com> Date: Sun, 14 Jan 2024 14:57:10 +0530 Subject: [PATCH 1/2] Update accounts.md --- docs/core-concepts/accounts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core-concepts/accounts.md b/docs/core-concepts/accounts.md index f180423d0..c2081b9bd 100644 --- a/docs/core-concepts/accounts.md +++ b/docs/core-concepts/accounts.md @@ -49,7 +49,7 @@ building block for developing on Solana. - Accounts are used to store data - Each account has a unique address - Accounts have a max size of 10MB (10 Mega Bytes) -- PDA accounts have a max size of 10KB (10 Kilo Bytes) +- PDA accounts have a max size of 10MB (10 Mega Bytes) - PDA accounts can be used to sign on behalf of a program - Accounts size are fixed at creation time, but can be adjusted using [realloc](https://solanacookbook.com/references/programs.html#how-to-change-account-size) - Account data storage is paid with rent From 28882fb23f1b8b019f32517baa93dfde20bf706c Mon Sep 17 00:00:00 2001 From: Atreay Kukanur <66585295+ATREAY@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:42:49 +0000 Subject: [PATCH 2/2] updated the accounts.md --- docs/core-concepts/accounts.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/core-concepts/accounts.md b/docs/core-concepts/accounts.md index c2081b9bd..511944cf8 100644 --- a/docs/core-concepts/accounts.md +++ b/docs/core-concepts/accounts.md @@ -48,8 +48,9 @@ building block for developing on Solana. - Accounts are used to store data - Each account has a unique address -- Accounts have a max size of 10MB (10 Mega Bytes) -- PDA accounts have a max size of 10MB (10 Mega Bytes) +- The current maximum size of the PDA account stands at 10 MB (10 Mega Bytes) +- During initialization, the PDA account size is restricted to a maximum of 10 KB (10 Kilo Bytes) +- With each transaction, the account size can be increased by a maximum of 10 KB (10 Kilo Bytes) - PDA accounts can be used to sign on behalf of a program - Accounts size are fixed at creation time, but can be adjusted using [realloc](https://solanacookbook.com/references/programs.html#how-to-change-account-size) - Account data storage is paid with rent