From b1fbecc3643e6b170f3daf28bc66cb16962215c4 Mon Sep 17 00:00:00 2001 From: Nikhil Ranjan Date: Wed, 21 Dec 2022 15:34:39 +0100 Subject: [PATCH] estimated v2 --- packages/apps/public/locales/en/app-contracts.json | 4 ++++ packages/page-contracts/src/Contracts/Call.tsx | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/packages/apps/public/locales/en/app-contracts.json b/packages/apps/public/locales/en/app-contracts.json index b232f962bb02..22cae02e515f 100644 --- a/packages/apps/public/locales/en/app-contracts.json +++ b/packages/apps/public/locales/en/app-contracts.json @@ -68,6 +68,10 @@ "deployment constructor": "deployment constructor", "exec": "exec", "json for either ABI or .contract bundle": "json for either ABI or .contract bundle", + "max ProofSize allowed": "max ProofSize allowed", + "max ProofSize allowed ({{estimatedProofSize}} estimated)": "max ProofSize allowed ({{estimatedProofSize}} estimated)", + "max RefTime allowed (M)": "max RefTime allowed (M)", + "max RefTime allowed (M, {{estimatedRefTime}} estimated)": "max RefTime allowed (M, {{estimatedRefTime}} estimated)", "max gas allowed (M)": "max gas allowed (M)", "max gas allowed (M, {{estimatedMg}} estimated)": "max gas allowed (M, {{estimatedMg}} estimated)", "max read gas": "max read gas", diff --git a/packages/page-contracts/src/Contracts/Call.tsx b/packages/page-contracts/src/Contracts/Call.tsx index bef93a2b06f0..487a2e6d49e2 100644 --- a/packages/page-contracts/src/Contracts/Call.tsx +++ b/packages/page-contracts/src/Contracts/Call.tsx @@ -196,6 +196,13 @@ function Call ({ className = '', contract, messageIndex, onCallResult, onChangeM )} ('The maximum amount of gas to use for this contract call. If the call requires more, it will fail.')} isCall={!message.isMutating} weight={weight}