Skip to content

Commit 1e455bf

Browse files
committed
eth_estimateGas use feeHighBurdenRPC load
1 parent 1351430 commit 1e455bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/peersafe/rpc/handlers/SmartContractHandler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ doEstimateGas(RPC::JsonContext& context)
289289
Json::Value jvResult;
290290
try
291291
{
292+
//This is a high burden interface
293+
context.loadType = Resource::feeHighBurdenRPC;
294+
292295
Schema& appTemp = context.app;
293296
Json::Value jsonParams = context.params;
294297
Json::Value ethParams = jsonParams["realParams"][0u];

0 commit comments

Comments
 (0)