New answers tagged evm
1
It works the same as any other transactions: You can call a view or pure function in a transaction, and the transaction can be mined as usual. It just won't do anything of course, since it's a view or pure function.
0
If you're looking for such a table for the purpose of golfing down contract gas cost, I'd recommend you bookmark protocol_params.go.
It is good for two reasons:
It is the source of truth. The gas costs specified in that file are what a full node really meters.
It lists the important numbers you really need. For example, the usual gas table doesn't show how ...
0
Here's an ethresear.ch thread covering the same topic, for anyone who may stumble upon this question (as I did): https://ethresear.ch/t/clarification-on-how-calldata-persists-on-the-blockchain-and-how-optimistic-rollups-use-it/8136
Some answers from that thread:
(barrywhitehat) Call data is stored as part of the eth chain history. If you want to validate ...
Top 50 recent answers are included
Related Tags
evm × 541solidity × 209
contract-development × 59
opcode × 58
go-ethereum × 57
gas × 46
bytecode × 42
transactions × 26
contract-invocation × 26
contract-design × 24
assembly × 24
blockchain × 23
remix × 23
storage × 18
security × 17
mining × 14
web3js × 13
compilation × 13
yellow-paper × 12
abi × 11
truffle × 9
contract-debugging × 9
delegatecall × 9
contract-deployment × 8
out-of-gas × 8