Changes default behavior of eth_call and eth_estimateGas to use the "pending" block tag.
Motivation
per discussion in slack channel
Users do not expect to simulate on latest height and timestamp, and will get subtly incorrect outputs when calls read block.height or block.timestamp. Users generally expect the next value when simulating, as they are anticipating submitting a transaction. This changes default client behavior to specify "pending" for those calls
Changes default behavior of
eth_call
andeth_estimateGas
to use the"pending"
block tag.Motivation
per discussion in slack channel
Users do not expect to simulate on latest height and timestamp, and will get subtly incorrect outputs when calls read
block.height
orblock.timestamp
. Users generally expect the next value when simulating, as they are anticipating submitting a transaction. This changes default client behavior to specify"pending"
for those callsPR Checklist