-
Notifications
You must be signed in to change notification settings - Fork 450
/
actiontype_string.go
38 lines (32 loc) · 1.08 KB
/
actiontype_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Code generated by "stringer -type=actionType"; DO NOT EDIT.
package agreement
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[noop-0]
_ = x[ignore-1]
_ = x[broadcast-2]
_ = x[relay-3]
_ = x[disconnect-4]
_ = x[broadcastVotes-5]
_ = x[verifyVote-6]
_ = x[verifyPayload-7]
_ = x[verifyBundle-8]
_ = x[ensure-9]
_ = x[stageDigest-10]
_ = x[rezero-11]
_ = x[attest-12]
_ = x[assemble-13]
_ = x[repropose-14]
_ = x[checkpoint-15]
}
const _actionType_name = "noopignorebroadcastrelaydisconnectbroadcastVotesverifyVoteverifyPayloadverifyBundleensurestageDigestrezeroattestassemblereproposecheckpoint"
var _actionType_index = [...]uint8{0, 4, 10, 19, 24, 34, 48, 58, 71, 83, 89, 100, 106, 112, 120, 129, 139}
func (i actionType) String() string {
if i >= actionType(len(_actionType_index)-1) {
return "actionType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _actionType_name[_actionType_index[i]:_actionType_index[i+1]]
}