Skip to content

(fix/entropy) Typo callback failure guide #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pages/entropy/debug-callback-failures.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Loading