Doing this call in block 1 (before the smartcontract deployment) I still get the same estimation.
The correct behaviour should be: If the contract was already created, the gas estimation is the result of the execution.
If the contract wasn't created, the result is the cost of send a regular tx with value 0 and some data to store in the ledger
Bug estimating gas.
Doing this call in block 1 (before the smartcontract deployment) I still get the same estimation. The correct behaviour should be: If the contract was already created, the gas estimation is the result of the execution. If the contract wasn't created, the result is the cost of send a regular tx with value 0 and some data to store in the ledger