From 87c783cd85907dd464762a428b3c035f7dc10d29 Mon Sep 17 00:00:00 2001 From: nidhi-singh02 Date: Thu, 14 Aug 2025 13:33:53 +0400 Subject: [PATCH 1/2] redirect to IEntropyv2 for more gas use --- target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol b/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol index 38e14248cc..30c2a0ea92 100644 --- a/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol +++ b/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol @@ -52,7 +52,7 @@ interface IEntropy is EntropyEvents, EntropyEventsV2, IEntropyV2 { // The address calling this function should be a contract that inherits from the IEntropyConsumer interface. // The `entropyCallback` method on that interface will receive a callback with the generated random number. // `entropyCallback` will be run with the provider's default gas limit (see `getProviderInfo(provider).defaultGasLimit`). - // If your callback needs additional gas, please use `requestWithCallbackAndGasLimit`. + // If your callback needs additional gas, please use `requestv2` of `IEntropyV2` interface. // // This method will revert unless the caller provides a sufficient fee (at least `getFee(provider)`) as msg.value. // Note that excess value is *not* refunded to the caller. From a4a8973eacc6d53501e023e750aa2954c425ddb8 Mon Sep 17 00:00:00 2001 From: nidhi-singh02 Date: Thu, 14 Aug 2025 13:48:07 +0400 Subject: [PATCH 2/2] modify comment --- target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol b/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol index 30c2a0ea92..728d627237 100644 --- a/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol +++ b/target_chains/ethereum/entropy_sdk/solidity/IEntropy.sol @@ -52,7 +52,8 @@ interface IEntropy is EntropyEvents, EntropyEventsV2, IEntropyV2 { // The address calling this function should be a contract that inherits from the IEntropyConsumer interface. // The `entropyCallback` method on that interface will receive a callback with the generated random number. // `entropyCallback` will be run with the provider's default gas limit (see `getProviderInfo(provider).defaultGasLimit`). - // If your callback needs additional gas, please use `requestv2` of `IEntropyV2` interface. + // If your callback needs additional gas, please use the function `requestv2` from `IEntropyV2` interface + // with gasLimit as the input parameter. // // This method will revert unless the caller provides a sufficient fee (at least `getFee(provider)`) as msg.value. // Note that excess value is *not* refunded to the caller.