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

The reader's MaxDepth of 64 has been exceeded Newtonsoft #984

Open
exec009 opened this issue Nov 5, 2023 · 2 comments
Open

The reader's MaxDepth of 64 has been exceeded Newtonsoft #984

exec009 opened this issue Nov 5, 2023 · 2 comments

Comments

@exec009
Copy link

exec009 commented Nov 5, 2023

Nethereum is unable to parse some transactions. For example take a look at this tx

Possible Solution

Increase Newtonsoft max depth. Check this thread

Steps to Reproduce

(new DebugApiService(Client.Client)).TraceTransaction.SendRequestAsync("0x2b415dfbcad1d8c664679325086438441a9424122288133c569069af006c1a09", new Nethereum.Geth.RPC.Debug.DTOs.TraceTransactionOptions() { Tracer = "callTracer" })

Context (Environment)

Tested against 4.17.1 version

@juanfranblanco
Copy link
Member

You can pass as a parameter the settings on the constructor of the rpc client if you need to set a bigger max depth.

@exec009
Copy link
Author

exec009 commented Nov 7, 2023

I see, I'll try to find an example and will give it a try, Thanks

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

No branches or pull requests

2 participants