Skip to content

Commit

Permalink
Merge pull request #340 from eosnetworkfoundation/yarkin/enable_batch…
Browse files Browse the repository at this point in the history
…_gas_price

[1.0] Allow batch eth_gasPrice
  • Loading branch information
yarkinwho authored Dec 17, 2024
2 parents eb86f24 + 612f7ed commit f007351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/silkworm
2 changes: 1 addition & 1 deletion peripherals/proxy/eth-jsonrpc-access.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if empty(method) or empty(version) then
return
end
if write_calls ~= nil then
if contains(write_calls, v['method']) then
if contains(write_calls, v['method']) and v['method'] ~= 'eth_gasPrice' then
ngx.log(ngx.ERR, 'batch write calls not allowed')
ngx.exit(ngx.HTTP_BAD_REQUEST)
return
Expand Down

0 comments on commit f007351

Please sign in to comment.