From b041cb7a96cd819645086fae6f82ce553890ce04 Mon Sep 17 00:00:00 2001 From: Dmytro Kozhevin Date: Fri, 28 Jun 2024 12:22:46 -0400 Subject: [PATCH] Settings upgrades for increasing the maximum Soroban key size to 250 bytes. 200 bytes ended up being too conservative and it's not sufficient to support the built-in Stellar Asset contract allowance (that might need up to 204 bytes/key). --- soroban-settings/pubnet_phase4.json | 7 +++++++ soroban-settings/testnet_settings.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 soroban-settings/pubnet_phase4.json diff --git a/soroban-settings/pubnet_phase4.json b/soroban-settings/pubnet_phase4.json new file mode 100644 index 0000000000..ddc5fa4619 --- /dev/null +++ b/soroban-settings/pubnet_phase4.json @@ -0,0 +1,7 @@ +{ + "updated_entry": [ + { + "contract_data_key_size_bytes": 250 + } + ] +} \ No newline at end of file diff --git a/soroban-settings/testnet_settings.json b/soroban-settings/testnet_settings.json index b0f0370e78..011658dd1a 100644 --- a/soroban-settings/testnet_settings.json +++ b/soroban-settings/testnet_settings.json @@ -507,7 +507,7 @@ ] }, { - "contract_data_key_size_bytes": 200 + "contract_data_key_size_bytes": 250 }, { "contract_data_entry_size_bytes": 65536