Skip to content

Commit 6e802b8

Browse files
committed
2 parents 4197772 + ab93c80 commit 6e802b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/entropy/debug-callback-failures.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Retrieve the `/v1/chains/$CHAIN_ID/revelations/$SEQUENCE_NUMBER` endpoint from t
5656
```bash copy
5757
curl https://fortuna.dourolabs.app/v1/chains/$CHAIN_ID/revelations/$SEQUENCE_NUMBER
5858
```
59+
N.B. The chain ID is the string name of the chain and not the EVM chain ID. The chain ids are available [here](https://fortuna.dourolabs.app/docs/#/crate%3A%3Aapi/chain_ids)
5960

6061
This endpoint will return the provider's revelation as a hexadecimal value, such as:
6162

@@ -77,7 +78,7 @@ export PROVIDER_REVELATION=0x5d4bfa3abeaf15fe8b7771c74c0e3e210096015632831460870
7778
Finally, submit the transaction to invoke `revealWithCallback`:
7879

7980
```bash copy
80-
cast send $ENTROPY_ADDRESS 'revealWithCallback(address, uint64, bytes32, bytes32)' $ENTROPY_ADDRESS $SEQUENCE_NUMBER $USER_RANDOM_NUMBER $PROVIDER_REVELATION
81+
cast send $ENTROPY_ADDRESS 'revealWithCallback(address, uint64, bytes32, bytes32)' $PROVIDER_ADDRESS $SEQUENCE_NUMBER $USER_RANDOM_NUMBER $PROVIDER_REVELATION
8182
```
8283

8384
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.

0 commit comments

Comments
 (0)