Skip to content

Commit

Permalink
Allow in (0x13) request
Browse files Browse the repository at this point in the history
  • Loading branch information
e-asphyx committed Oct 15, 2024
1 parent f8fe374 commit de17458
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion protocol/proto_019_PtParisB/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ type FailingNoop = proto_012_Psithaca.FailingNoop
type Preattestation = proto_018_Proxford.Preattestation
type InlinedPreattestationContents = proto_018_Proxford.InlinedPreattestationContents
type Attestation = proto_018_Proxford.Attestation
type InlinedAttestationContents = proto_018_Proxford.InlinedAttestationContents
type Reveal = proto_012_Psithaca.Reveal
type Origination = proto_012_Psithaca.Origination
type Delegation = proto_012_Psithaca.Delegation
Expand Down Expand Up @@ -103,6 +102,19 @@ type AttestationWithDAL struct {

func (*AttestationWithDAL) OperationKind() string { return "attestation_with_dal" }

type InlinedAttestationContents interface {
proto_018_Proxford.InlinedAttestationContents
}

func init() {
encoding.RegisterEnum(&encoding.Enum[InlinedAttestationContents]{
Variants: encoding.Variants[InlinedAttestationContents]{
21: (*Attestation)(nil),
23: (*AttestationWithDAL)(nil),
},
})
}

//json:kind=OperationKind()
type DALPublishCommitment struct {
ManagerOperation
Expand Down

0 comments on commit de17458

Please sign in to comment.