Ditutup

GETH Node - Build Custom Golang Tracer

I am currently running a GETH node on BSC. Using one of the inbuilt "debug_traceCall" function, specifically the "callTracer". However it's very limited in its capacity. The main issue is it only returns internal contract call information and does not provide the state change from the execution of these trace calls.

The desired custom trace_call I wish to develop would allow for multiple batched trace_calls to be submitted on the current block, it would then return the state change of impacted contracts that the trace_called transactions interacted with, it.

(Similar to parity's trace calls stateDiff feature)

[login to view URL]

I am looking for a Golang engineer to build a custom tracer for my node called "multiTraceCallWithReserves".

debug_multiTraceCallWithReserves(pendingTransactions, targetContractAddresses)

What it does?

Receives a batch of pending transactions to trace. These will run similar to the existing callTracer method which unfurls internal calls, looking for targetContractAddresses. If the unfurled traced call interacts with an address found with-in the targetContractAddresses array then we query the getReserve() public method on this matched contract address and store its value.

param: pendingTransactions - An array of transactions objects we wish to run a trace on to determine if they interact with any targetContractAddresses.

param: targetContractAddresses - An array of addresses used to filter through traced transaction calls and return relevant state changes to the target contract.

storage object: stateDiffMap - If a traced call interacts with any of the addresses in the targetContractAddresses array, then we should store the changed state of the filtered contract.

stateDiffMap is returned at the end of the trace execution

Notes:

Traced calls that interact with addresses matched from the targetContractAddresses array on multiple occasions should reflect the stateDiff of all traces completed sequentially.

Traces should happen in natural mining order as to ensure the most accurate stateDiffMap is returned.

Filtering of unnecessary state must be well optimised to ensure execution time is extremely quick (Goal is 100ms-1000ms).

Looking for someone who has strong experience with Golang, Ethereum & Geth Nodes.

Go-Ethereum Javascript Tracers:

[login to view URL]

Go-Ethereum Golang Tracers:

[login to view URL]

Deliverables

Custom GETH tracer that run 100-400 pending transactions on the current pending block, capture traced state changes of specific contract addresses and return the changes as a hash map. Speed critical tracing and with +1000 filter addresses to monitor in trace calls.

Kemahiran: Ethereum, Golang

Lihat lagi: build custom usb drive case, build custom grid dnn, build custom software, build custom templates constant contact, build custom isapi filter, build custom checkout page, build custom weather api, build custom navigation slideshowpro, build custom php cms website, build custom customer satisfaction, want build custom train layout, sharepoint build custom alert, build custom iphone app, build custom constant contact template, build custom net nuke module, build custom controls flex, build custom clone, build custom flash plaer, build custom application using php joomla

Tentang Majikan:
( 0 ulasan ) Santa Clara, United States

ID Projek: #31590877

3 pekerja bebas membida secara purata $497 untuk pekerjaan ini

aliafeez982

Hi! Hope you are doing great! I just saw your request and really interested in working on it. But i am still confused about few things. If you are interested, kindly contact me, few questions needs to be answered befor Lagi

$500 USD dalam 7 hari
(1 Ulasan)
0.0
egorcrieg2

My name is Egor and I am an experienced and professional Javascript developer. My specialization is the creation of back-end and front-end parts for websites and web applications, as well as blockchain development of a Lagi

$500 USD dalam 10 hari
(0 Ulasan)
0.0
JackPatrick

Hello, I am a senior blockchain and Cryptocurrency developer with experience of 7+ years. I have expertise in __ React.js, Golong, Java, JavaScript, C#, C++, Node.js, python, solidity and I can develop Frontend/Backe Lagi

$490 USD dalam 7 hari
(0 Ulasan)
0.0