From ff1f6814c8d2f58be0c97fdd540571e82dd984ca Mon Sep 17 00:00:00 2001 From: Jeesun Kim <3912060+jeesunikim@users.noreply.github.com> Date: Mon, 13 Jan 2025 09:52:40 -0800 Subject: [PATCH] extend ttl should use readOnly --- .../build/guides/transactions/simulateTransaction-Deep-Dive.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/guides/transactions/simulateTransaction-Deep-Dive.mdx b/docs/build/guides/transactions/simulateTransaction-Deep-Dive.mdx index 1a9972528..6cf435090 100644 --- a/docs/build/guides/transactions/simulateTransaction-Deep-Dive.mdx +++ b/docs/build/guides/transactions/simulateTransaction-Deep-Dive.mdx @@ -269,7 +269,7 @@ export async function simulateRestorationIfNeeded( txParams.txBuilderOptions, ) .setSorobanData( - new SorobanDataBuilder().setReadWrite([ledgerKey]).build(), + new SorobanDataBuilder().setReadOnly([ledgerKey]).build(), ) .addOperation( Operation.extendFootprintTtl({