massalabs / massa

The Decentralized and Scaled Blockchain
https://massa.net
5.57k stars 711 forks source link

execute_read_only... endpoints has 2 usages #4677

Open AurelienFT opened 5 months ago

AurelienFT commented 5 months ago

Context

execute_read_only_bytecode and execute_read_only_call are two endpoints that has 2 usages that collide :

Problem

This two use case causes problem of coherence issues. For example we had the issue with the minimal fees that was checked even in the usecase of just a read_only which is a non-sense, but we want to catch a too low fee in case of a simulation to be more close to a real operation.