From cfd4e085472b6a2223b8e3fc6d2ab9d30c3c3931 Mon Sep 17 00:00:00 2001 From: Aditya Arora Date: Wed, 24 Jul 2024 10:36:12 -0400 Subject: [PATCH] (fix/entropy) Typo callback failure guide --- pages/entropy/debug-callback-failures.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/entropy/debug-callback-failures.mdx b/pages/entropy/debug-callback-failures.mdx index 9ca6111a..ec17a87d 100644 --- a/pages/entropy/debug-callback-failures.mdx +++ b/pages/entropy/debug-callback-failures.mdx @@ -18,8 +18,8 @@ The function has the following signature: function revealWithCallback(address provider, uint64 sequenceNumber, bytes32 userRandomNumber, bytes32 providerRevelation) ``` -This call requires the chain id, contract address and four arguments. -The chain id and contract address can be retrieved from [Contract Addresses](/entropy/contract-addresses). +This call requires the chain ID, contract address, and four arguments. +The chain ID and contract address can be retrieved from [Contract Addresses](/entropy/contract-addresses). Export these values as environment variables for later use: ```bash copy @@ -82,7 +82,7 @@ cast send $ENTROPY_ADDRESS 'revealWithCallback(address, uint64, bytes32, bytes32 You may also need to provide the `-r` with an RPC for your chain, plus an additional argument (such as `--private-key`) to specify the wallet to use to sign the transaction. -## Interpeting the Results +## Interpreting the Results If the transaction succeeds, check how much gas the transaction used. If the gas exceeds the callback gas limit for your chain as shown on [Contract Addresses](/entropy/contract-addresses), please reduce the gas usage to allow the provider to invoke the callback in the future.