ape icon indicating copy to clipboard operation
ape copied to clipboard

feat: `provider.batch_requests()` low-level implementation

Open antazoey opened this issue 1 year ago • 2 comments

What I did

implements batch requets at the provider level, not sure about a more top level API yet (maybe something like multicall?)

fixes: #2472

How I did it

How to verify it

Checklist

  • [ ] All changes are completed
  • [ ] Change is covered in tests
  • [ ] Documentation is complete

antazoey avatar Jan 21 '25 17:01 antazoey

I had been looking at this issue, and I'm curious. What is the reason for using JSON and the requests library instead of using batch requests from web3.py? https://web3py.readthedocs.io/en/v7.7.0/web3.main.html#batch-requests

0xthedance avatar Jan 27 '25 09:01 0xthedance

What is the reason for using JSON and the requests library instead of using batch requests from web3.py? https://web3py.readthedocs.io/en/v7.7.0/web3.main.html#batch-requests

Thanks for pointing this out, let me look into it.

antazoey avatar Jan 27 '25 19:01 antazoey

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label, add a comment, or make a new commit, otherwise this PR will be closed in 5 days.

github-actions[bot] avatar Jul 01 '25 02:07 github-actions[bot]

This pull request is considered stale because it has been open 30 days with no activity. Remove stale label, add a comment, or make a new commit, otherwise this PR will be closed in 5 days.

github-actions[bot] avatar Aug 01 '25 02:08 github-actions[bot]

This PR was closed because it has been inactive for 35 days.

github-actions[bot] avatar Aug 07 '25 02:08 github-actions[bot]