Skip to content

Commit de1b47e

Browse files
Merge pull request #2954 from pyth-network/ientropy-comments-fix
chore(entropy): redirect to IEntropyv2 for more gas usage
2 parents 536d4a5 + a4a8973 commit de1b47e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ interface IEntropy is EntropyEvents, EntropyEventsV2, IEntropyV2 {
5252
// The address calling this function should be a contract that inherits from the IEntropyConsumer interface.
5353
// The `entropyCallback` method on that interface will receive a callback with the generated random number.
5454
// `entropyCallback` will be run with the provider's default gas limit (see `getProviderInfo(provider).defaultGasLimit`).
55-
// If your callback needs additional gas, please use `requestWithCallbackAndGasLimit`.
55+
// If your callback needs additional gas, please use the function `requestv2` from `IEntropyV2` interface
56+
// with gasLimit as the input parameter.
5657
//
5758
// This method will revert unless the caller provides a sufficient fee (at least `getFee(provider)`) as msg.value.
5859
// Note that excess value is *not* refunded to the caller.

0 commit comments

Comments
 (0)