I want to sum the total amount of gas used in a block.
When I checked, used gas can be retrieved from the node using 'eth_getTransactionReceipt' and 'trace_block' functions.
However, when checking the total of the used gas of the block in the two functions, it was confirmed that the sum of the used gas obtained in each function(eth_getTransactionReceipt, trace_block) was different.
Compared to etherscan, it was equal to the total sum of used gas in receipt of each transaction.
Why is the total sum of used gas in trace_block different? In what cases is gas used other than trace in Ethereum?