llamanodes / web3-proxy

Fast loadbalancing and caching proxy for Ethereum or chains with similar JSON-RPC methods
https://llamanodes.com
GNU General Public License v3.0
153 stars 34 forks source link

Add Rust Code to Match Latest Method Types & CU Consumption #157

Closed LlamaMB closed 1 year ago

LlamaMB commented 1 year ago

Summary: Ensure our method type's listed here are (1) supported and have the corresponding (2) CUs attached to them. Context:

1. Our current list: https://github.com/llamanodes/web3-proxy/blob/devel/web3_proxy/src/compute_units.rs

2. What we need to add to the above list:

Polygon & Ethereum ---Specially all OtterScan Methods and corresponding CU's   ots_getInternalOperations ots_hasCode ots_getTransactionError ots_traceTransaction ots_getBlockDetails ots_getBlockDetailsByHash ots_getBlockTransactions ots_searchTransactionsBefore ots_searchTransactionsAfter ots_getTransactionBySenderAndNonce ots_getContractCreator