Skip to content

Commit 07b5a04

Browse files
authored
core/tracing: fix copy/paste error+comments in reason listing (#30431)
Signed-off-by: Guillaume Ballet <[email protected]>
1 parent f544fc3 commit 07b5a04

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/tracing/hooks.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,14 @@ const (
300300
GasChangeCallStorageColdAccess GasChangeReason = 13
301301
// GasChangeCallFailedExecution is the burning of the remaining gas when the execution failed without a revert.
302302
GasChangeCallFailedExecution GasChangeReason = 14
303-
// GasChangeWitnessContractInit is the amount charged for adding to the witness during the contract creation initialization step
303+
// GasChangeWitnessContractInit flags the event of of adding to the witness during the contract creation initialization step
304304
GasChangeWitnessContractInit GasChangeReason = 15
305-
// GasChangeWitnessContractCreation is the amount charged for adding to the witness during the contract creation finalization step
305+
// GasChangeWitnessContractCreation flags the event of adding to the witness during the contract creation finalization step
306306
GasChangeWitnessContractCreation GasChangeReason = 16
307-
// GasChangeWitnessCodeChunk is the amount charged for touching one or more contract code chunks
307+
// GasChangeWitnessCodeChunk flags the event of adding one or more contract code chunks to the witness
308308
GasChangeWitnessCodeChunk GasChangeReason = 17
309-
// GasChangeWitnessContractCollisionCheck the amount charged for checking a contract collision
310-
GasChangeWitnessContractCollisionCheck GasChangeReason = 17
309+
// GasChangeWitnessContractCollisionCheck flags the event of adding to the witness when checking for contract address collision
310+
GasChangeWitnessContractCollisionCheck GasChangeReason = 18
311311

312312
// GasChangeIgnored is a special value that can be used to indicate that the gas change should be ignored as
313313
// it will be "manually" tracked by a direct emit of the gas change event.

0 commit comments

Comments
 (0)