skalenetwork / skaled

Running more than 20 production blockchains, SKALED is Ethereum-compatible, high performance C++ Proof-of-Stake client, tools and libraries. Uses SKALE consensus as a blockchain consensus core. Includes dynamic Oracle. Implements file storage and retrieval as an EVM extension.
https://skale.network
GNU General Public License v3.0
85 stars 40 forks source link

Cleanup state locking and make JSON RPC calls like eth_call faster #1545

Open kladkogex opened 1 year ago

kladkogex commented 1 year ago

Our current State locks are really convoluted and error prone. They can potentially lead to performance degradation.

In particular Also eth_calls interfere with block commit. When there are many eth_call requests, a block can not be committed since they fight for the same state lock.

kladkogex commented 7 months ago

Moving to 2.5 since we do not have time for this in 2.4