anybody has any idea on which are the possible causes for which querying a smart contract might return 0 while sending a transaction to see that query actually returns the good value?
One cause might be that in a query the caller address is usually not defined :) So if you use get_caller in your contract it will return the contract address instead :)
One cause might be that in a query the caller address is usually not defined :) So if you use get_caller in your contract it will return the contract address instead :)