Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

external RPCDaemon: to use same engine variable logic creation - as in backend.go #12413

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

AskAlexSharov
Copy link
Collaborator

@AskAlexSharov AskAlexSharov commented Oct 22, 2024

I found that external RPCDaemon using custom logic/methods to open engine db and create engine object. Need re-use logic (and don't loose .Accede() when opening databases from external rpcdaemon)

on Gnosis: next request doesn't work if optimize=false and works if optimize=true:

 curl -X POST http://localhost:8549 -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": ["0x7fb21774eed37fa229d59cdf4b991f951aee185066d86b432ed1cc1e29764577"], "id": 293}'

for: #12247

error message is:

WARN[10-22|08:12:17.321] [rpc] served                             conn=127.0.0.1:35698 method=eth_getTransactionReceipt reqid=293 err="getReceipt error: ReceiptGen.GetReceipt: bn=19040024, txnIdx=0, fee cap less than block base fee: address 0x67342Ec1440bFB760Ba9805a7735e0D12Bb9fEc7, gasFeeCap: 0 baseFee: 141015840"

@AskAlexSharov AskAlexSharov changed the title Enable gen.GetReceipt optimization external RPCDaemon: to use same engine variable logic creation - as in backend.go Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants