Skip to content

Commit fcfaa98

Browse files
committed
021_Psquebec is latest
1 parent f8b4ee6 commit fcfaa98

16 files changed

+128
-128
lines changed

protocol/block.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/ecadlabs/gotez/v2/protocol/proto_017_PtNairob"
1414
"github.com/ecadlabs/gotez/v2/protocol/proto_018_Proxford"
1515
"github.com/ecadlabs/gotez/v2/protocol/proto_019_PtParisB"
16-
"github.com/ecadlabs/gotez/v2/protocol/proto_021_PsquebeC"
16+
"github.com/ecadlabs/gotez/v2/protocol/proto_021_PsQuebec"
1717
)
1818

1919
type BlockInfo interface {
@@ -32,8 +32,8 @@ type BlockHeaderInfo interface {
3232

3333
func NewBlockInfo(proto *tz.ProtocolHash) (BlockInfo, error) {
3434
switch *proto {
35-
case core.Proto021PsquebeC:
36-
return new(proto_021_PsquebeC.BlockInfo), nil
35+
case core.Proto021PsQuebec:
36+
return new(proto_021_PsQuebec.BlockInfo), nil
3737
case core.Proto019PtParisB, core.Proto020PsParisC:
3838
return new(proto_019_PtParisB.BlockInfo), nil
3939
case core.Proto018Proxford:
@@ -57,8 +57,8 @@ func NewBlockInfo(proto *tz.ProtocolHash) (BlockInfo, error) {
5757

5858
func NewBlockHeaderInfo(proto *tz.ProtocolHash) (BlockHeaderInfo, error) {
5959
switch *proto {
60-
case core.Proto021PsquebeC:
61-
return new(proto_021_PsquebeC.BlockHeaderInfo), nil
60+
case core.Proto021PsQuebec:
61+
return new(proto_021_PsQuebec.BlockHeaderInfo), nil
6262
case core.Proto019PtParisB, core.Proto020PsParisC:
6363
return new(proto_019_PtParisB.BlockHeaderInfo), nil
6464
case core.Proto018Proxford:

protocol/block_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type protoTestData struct {
2121

2222
var testData = []protoTestData{
2323
{
24-
proto: &core.Proto021PsquebeC,
24+
proto: &core.Proto021PsQuebec,
2525
blocks: []string{
2626
"155262",
2727
"155263",

protocol/constants.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ import (
1313
"github.com/ecadlabs/gotez/v2/protocol/proto_017_PtNairob"
1414
"github.com/ecadlabs/gotez/v2/protocol/proto_018_Proxford"
1515
"github.com/ecadlabs/gotez/v2/protocol/proto_019_PtParisB"
16-
"github.com/ecadlabs/gotez/v2/protocol/proto_021_PsquebeC"
16+
"github.com/ecadlabs/gotez/v2/protocol/proto_021_PsQuebec"
1717
)
1818

1919
func NewConstants(proto *tz.ProtocolHash) (constants core.Constants, err error) {
2020
switch *proto {
21-
case core.Proto021PsquebeC:
22-
constants = new(proto_021_PsquebeC.Constants)
21+
case core.Proto021PsQuebec:
22+
constants = new(proto_021_PsQuebec.Constants)
2323
case core.Proto019PtParisB, core.Proto020PsParisC:
2424
constants = new(proto_019_PtParisB.Constants)
2525
case core.Proto018Proxford:

protocol/core/protocol.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var (
2626
Proto018Proxford = tz.ProtocolHash{0x0b, 0xf4, 0x4c, 0x7d, 0x64, 0xe3, 0xd7, 0xda, 0x27, 0xd9, 0x25, 0xd1, 0x0a, 0xf5, 0x35, 0xfb, 0x36, 0xce, 0xf0, 0xad, 0x41, 0x93, 0x0c, 0x79, 0x29, 0x77, 0x3f, 0x47, 0x31, 0xeb, 0xa1, 0x37}
2727
Proto019PtParisB = tz.ProtocolHash{0xdb, 0xff, 0x65, 0x86, 0xa0, 0x48, 0x02, 0xd3, 0xf5, 0x13, 0xc6, 0x5a, 0x44, 0x4d, 0x9d, 0x4d, 0xeb, 0xe4, 0x2b, 0x17, 0xe9, 0xe7, 0x27, 0x3f, 0x8f, 0x6c, 0x11, 0x8e, 0xa3, 0xf4, 0xe0, 0x6e}
2828
Proto020PsParisC = tz.ProtocolHash{0x58, 0x4d, 0x32, 0x39, 0x2e, 0xf2, 0x1a, 0x17, 0xef, 0x36, 0xdf, 0x07, 0x4f, 0x48, 0xaf, 0x06, 0x65, 0x3a, 0x8d, 0x31, 0x59, 0x57, 0xc9, 0x07, 0xd6, 0xa4, 0xc1, 0x8c, 0x3a, 0x00, 0xa5, 0xe1}
29-
Proto021PsquebeC = tz.ProtocolHash{0x94, 0x12, 0xc8, 0x4f, 0xe6, 0x49, 0x2d, 0x94, 0x8e, 0x1b, 0xcf, 0x75, 0xa3, 0xc8, 0xf6, 0xcb, 0xc9, 0x0a, 0xf9, 0xaf, 0x42, 0x76, 0x5a, 0xe0, 0x03, 0x8c, 0x8b, 0x77, 0x81, 0x34, 0xfa, 0xb1}
29+
Proto021PsQuebec = tz.ProtocolHash{0x5b, 0x4e, 0xcc, 0xaf, 0xe8, 0xa1, 0xae, 0xb6, 0x7e, 0xa0, 0x79, 0xda, 0x15, 0xcf, 0x0e, 0x36, 0x93, 0x09, 0x52, 0xe0, 0x87, 0xf6, 0x54, 0x8a, 0x82, 0x00, 0xc0, 0x0c, 0x56, 0x05, 0xb2, 0x00}
3030
)
3131

3232
var Protocols = []*tz.ProtocolHash{
@@ -51,7 +51,7 @@ var Protocols = []*tz.ProtocolHash{
5151
&Proto018Proxford,
5252
&Proto019PtParisB,
5353
&Proto020PsParisC,
54-
&Proto021PsquebeC,
54+
&Proto021PsQuebec,
5555
}
5656

5757
var shortNames = map[tz.ProtocolHash]string{
@@ -76,7 +76,7 @@ var shortNames = map[tz.ProtocolHash]string{
7676
Proto018Proxford: "018_Proxford",
7777
Proto019PtParisB: "019_PtParisA",
7878
Proto020PsParisC: "020_PsParisC",
79-
Proto021PsquebeC: "021_PsquebeC",
79+
Proto021PsQuebec: "021_PsQuebec",
8080
}
8181

8282
var indices = map[tz.ProtocolHash]int{
@@ -101,7 +101,7 @@ var indices = map[tz.ProtocolHash]int{
101101
Proto018Proxford: 18,
102102
Proto019PtParisB: 19,
103103
Proto020PsParisC: 20,
104-
Proto021PsquebeC: 21,
104+
Proto021PsQuebec: 21,
105105
}
106106

107107
func ProtocolShortName(proto *tz.ProtocolHash) string {

protocol/latest/alias.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ package latest
22

33
import (
44
"github.com/ecadlabs/gotez/v2/protocol/core"
5-
latest "github.com/ecadlabs/gotez/v2/protocol/proto_021_PsquebeC"
5+
latest "github.com/ecadlabs/gotez/v2/protocol/proto_021_PsQuebec"
66
)
77

88
var (
9-
Protocol = core.Proto020PsParisC
9+
Protocol = core.Proto021PsQuebec
1010
NewRunOperationRequest = latest.NewRunOperationRequest
1111
NewUnsignedOperation = latest.NewUnsignedOperation
1212
NewSignedOperation = latest.NewSignedOperation

protocol/proto_021_PsquebeC/balance_update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
tz "github.com/ecadlabs/gotez/v2"

protocol/proto_021_PsquebeC/block.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
tz "github.com/ecadlabs/gotez/v2"

protocol/proto_021_PsquebeC/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"github.com/ecadlabs/gotez/v2/protocol/proto_019_PtParisB"

protocol/proto_021_PsquebeC/constants_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"fmt"

protocol/proto_021_PsquebeC/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"github.com/ecadlabs/gotez/v2/protocol/proto_018_Proxford"

protocol/proto_021_PsquebeC/json_gen.go

Lines changed: 103 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocol/proto_021_PsquebeC/operation_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"github.com/ecadlabs/gotez/v2/encoding"

protocol/proto_021_PsquebeC/operations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
//go:generate go run ../../cmd/genmarshaller.go
44

protocol/proto_021_PsquebeC/smart_rollup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"math/big"

protocol/proto_021_PsquebeC/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"math/big"

protocol/proto_021_PsquebeC/zk_rollup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package proto_021_PsquebeC
1+
package proto_021_PsQuebec
22

33
import (
44
"math/big"

0 commit comments

Comments
 (0)