Skip to content

Commit

Permalink
ParisB set as latest
Browse files Browse the repository at this point in the history
  • Loading branch information
e-asphyx committed Apr 24, 2024
1 parent 830b9d1 commit 53b5a0b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol/latest/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package latest

import (
"github.com/ecadlabs/gotez/v2/protocol/core"
latest "github.com/ecadlabs/gotez/v2/protocol/proto_018_Proxford"
latest "github.com/ecadlabs/gotez/v2/protocol/proto_019_PtParisB"
)

var (
Protocol = core.Proto017PtNairob
Protocol = core.Proto019PtParisB
NewRunOperationRequest = latest.NewRunOperationRequest
NewUnsignedOperation = latest.NewUnsignedOperation
NewSignedOperation = latest.NewSignedOperation
Expand Down
7 changes: 7 additions & 0 deletions protocol/proto_019_PtParisB/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ type VDFRevelation = proto_014_PtKathma.VDFRevelation
type DrainDelegate = proto_015_PtLimaPt.DrainDelegate
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 All @@ -41,6 +43,11 @@ type TransferTicket = proto_013_PtJakart.TransferTicket
type SignaturePrefix = proto_016_PtMumbai.SignaturePrefix
type ConsumedGasResult = proto_014_PtKathma.ConsumedGasResult
type Script = proto_012_Psithaca.Script
type DALAttestation = proto_016_PtMumbai.DALAttestation
type DALAttestationContentsAndResult = proto_016_PtMumbai.DALAttestationContentsAndResult
type DALPublishSlotHeader = proto_018_Proxford.DALPublishSlotHeader
type DALPublishSlotHeaderContentsAndResult = proto_018_Proxford.DALPublishSlotHeaderContentsAndResult
type BLSSignaturePrefix = proto_016_PtMumbai.BLSSignaturePrefix

type OperationContents interface {
core.OperationContents
Expand Down
13 changes: 13 additions & 0 deletions protocol/proto_019_PtParisB/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,26 @@ import (
"github.com/ecadlabs/gotez/v2/encoding"
"github.com/ecadlabs/gotez/v2/protocol/core"
"github.com/ecadlabs/gotez/v2/protocol/core/expression"
"github.com/ecadlabs/gotez/v2/protocol/proto_012_Psithaca"
"github.com/ecadlabs/gotez/v2/protocol/proto_012_Psithaca/lazy"
"github.com/ecadlabs/gotez/v2/protocol/proto_013_PtJakart"
"github.com/ecadlabs/gotez/v2/protocol/proto_015_PtLimaPt"
"github.com/ecadlabs/gotez/v2/protocol/proto_016_PtMumbai"
"github.com/ecadlabs/gotez/v2/protocol/proto_018_Proxford"
)

type EpDefault = proto_012_Psithaca.EpDefault
type EpRoot = proto_012_Psithaca.EpRoot
type EpDo = proto_012_Psithaca.EpDo
type EpSetDelegate = proto_012_Psithaca.EpSetDelegate
type EpRemoveDelegate = proto_012_Psithaca.EpRemoveDelegate
type EpDeposit = proto_015_PtLimaPt.EpDeposit
type EpNamed = proto_012_Psithaca.EpNamed
type EpStake = proto_018_Proxford.EpStake
type EpUnstake = proto_018_Proxford.EpUnstake
type EpFinalizeUnstake = proto_018_Proxford.EpFinalizeUnstake
type EpSetDelegateParameters = proto_018_Proxford.EpSetDelegateParameters

type Transaction = proto_018_Proxford.Transaction
type Parameters = proto_018_Proxford.Parameters
type TicketReceipt = proto_015_PtLimaPt.TicketReceipt
Expand Down

0 comments on commit 53b5a0b

Please sign in to comment.