From dfa5d61ddb692a8b1aec90e03545d8bbfc3c09f6 Mon Sep 17 00:00:00 2001 From: Matias Romeo Date: Tue, 10 Dec 2024 23:09:55 -0300 Subject: [PATCH 1/2] Bump 1.0.4 version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b68eeff..916ae46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,7 +20,7 @@ include(cmake/conan.cmake) set(VERSION_MAJOR 1) set(VERSION_MINOR 0) -set(VERSION_PATCH 3) +set(VERSION_PATCH 4) #set(VERSION_SUFFIX rc4) if(VERSION_SUFFIX) From 612f7eda8d5e2e404bf199746deea092a61e9500 Mon Sep 17 00:00:00 2001 From: yarkin Date: Mon, 16 Dec 2024 13:19:11 +0800 Subject: [PATCH 2/2] Allow batch eth_gasPrice --- external/silkworm | 2 +- peripherals/proxy/eth-jsonrpc-access.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/silkworm b/external/silkworm index 00bb2a5..ed47133 160000 --- a/external/silkworm +++ b/external/silkworm @@ -1 +1 @@ -Subproject commit 00bb2a577a4c32a9ba1a71abe5d22e00133f6b4f +Subproject commit ed47133f0c106c430ff530a8466ff7fcf47541b9 diff --git a/peripherals/proxy/eth-jsonrpc-access.lua b/peripherals/proxy/eth-jsonrpc-access.lua index 516d92e..832e856 100644 --- a/peripherals/proxy/eth-jsonrpc-access.lua +++ b/peripherals/proxy/eth-jsonrpc-access.lua @@ -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