// Code generated by "stringer -type=CodeChangeReason -trimprefix=CodeChange -output gen_code_change_reason_stringer.go"; DO NOT EDIT.

package tracing

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[CodeChangeUnspecified-0]
	_ = x[CodeChangeContractCreation-1]
	_ = x[CodeChangeGenesis-2]
	_ = x[CodeChangeAuthorization-3]
	_ = x[CodeChangeAuthorizationClear-4]
	_ = x[CodeChangeSelfDestruct-5]
	_ = x[CodeChangeRevert-6]
}

const _CodeChangeReason_name = "UnspecifiedContractCreationGenesisAuthorizationAuthorizationClearSelfDestructRevert"

var _CodeChangeReason_index = [...]uint8{0, 11, 27, 34, 47, 65, 77, 83}

func (i CodeChangeReason) String() string {
	idx := int(i) - 0
	if i < 0 || idx >= len(_CodeChangeReason_index)-1 {
		return "CodeChangeReason(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _CodeChangeReason_name[_CodeChangeReason_index[idx]:_CodeChangeReason_index[idx+1]]
}
