massa icon indicating copy to clipboard operation
massa copied to clipboard

execute_read_only... endpoints has 2 usages

Open AurelienFT opened this issue 10 months ago • 0 comments

Context

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

  • Calling read_only functions to gather informations on a smart-contract
  • Simulate an operation gather the changes it make in the network and the gas used

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.

AurelienFT avatar Apr 11 '24 08:04 AurelienFT