Skip to content

Commit 6f84c70

Browse files
committed
Address comments
1 parent 3411d80 commit 6f84c70

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pages/entropy/best-practices.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33
## Limit gas usage on the callback
44

5-
Since the entropy providers limit the gas usage on the callbacks,
6-
it is important to keep the callback function as simple as possible
7-
so that the gas usage is predictable and below the limits.
8-
This will ensure consistent performance and avoid potential issues with the callback.
5+
Keeping the callback function simple is crucial because the entropy providers limit gas usage.
6+
This ensures gas usage is predictable and consistent, avoiding potential issues with the callback.
97

108
For example, if you want to use entropy to generate a random number for each player in a round of game,
119
you need to make sure that the callback function works for the maximum number of players that can be in each round.
@@ -15,7 +13,7 @@ Multiple solutions are possible to address this problem. You can store the rando
1513
either ask users to submit more transactions after the callback to continue the flow or run a background crank service
1614
to submit the necessary transactions.
1715

18-
You can see the gas limits for each chain in [this](./contract-addresses) page.
16+
The gas limit for each chain is listed on the [contract addresses](./contract-addresses) page.
1917

2018
## Generating random values within a specific range
2119

0 commit comments

Comments
 (0)