From 42a3e663c0cceece04449b9a0d1f8fa244578246 Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Fri, 2 Aug 2024 14:12:02 +0300 Subject: [PATCH 01/25] Added start_height and end_height fields to NodeVersionInfo response --- .../flow/entities/node_version_info.proto | 4 ++ .../go/flow/entities/node_version_info.pb.go | 58 +++++++++++++------ 2 files changed, 43 insertions(+), 19 deletions(-) diff --git a/protobuf/flow/entities/node_version_info.proto b/protobuf/flow/entities/node_version_info.proto index a61378d4e..de7ac399f 100644 --- a/protobuf/flow/entities/node_version_info.proto +++ b/protobuf/flow/entities/node_version_info.proto @@ -21,4 +21,8 @@ message NodeVersionInfo { // If the node started after the beginning of the spork, it is the height of the first sealed block // indexed. uint64 node_root_block_height = 6; + // The first block that the node's version supports. + uint64 start_height = 7; + // The last block the node's version supports. + uint64 end_height = 8; } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index a998c3bf7..aa4102bff 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -35,7 +35,11 @@ type NodeVersionInfo struct { // If the node started at the beginning of the spork, it is the same as the spork root block height. // If the node started after the beginning of the spork, it is the height of the first sealed block // indexed. - NodeRootBlockHeight uint64 `protobuf:"varint,6,opt,name=node_root_block_height,json=nodeRootBlockHeight,proto3" json:"node_root_block_height,omitempty"` + NodeRootBlockHeight uint64 `protobuf:"varint,6,opt,name=node_root_block_height,json=nodeRootBlockHeight,proto3" json:"node_root_block_height,omitempty"` + // The first block that the node's version supports. + StartHeight uint64 `protobuf:"varint,7,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + // The last block the node's version supports. + EndHeight uint64 `protobuf:"varint,8,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -108,6 +112,20 @@ func (m *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { return 0 } +func (m *NodeVersionInfo) GetStartHeight() uint64 { + if m != nil { + return m.StartHeight + } + return 0 +} + +func (m *NodeVersionInfo) GetEndHeight() uint64 { + if m != nil { + return m.EndHeight + } + return 0 +} + func init() { proto.RegisterType((*NodeVersionInfo)(nil), "flow.entities.NodeVersionInfo") } @@ -117,22 +135,24 @@ func init() { } var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 263 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x50, 0xcd, 0x4a, 0xf4, 0x30, - 0x14, 0xa5, 0xdf, 0x37, 0x56, 0x0d, 0xca, 0x48, 0x94, 0x31, 0x82, 0x8b, 0x22, 0x08, 0x75, 0xd3, - 0x08, 0x83, 0x2f, 0x30, 0x2b, 0x67, 0x23, 0xd2, 0x85, 0x0b, 0x37, 0x81, 0xb6, 0x69, 0x1b, 0xa6, - 0xcd, 0x19, 0xd2, 0xcc, 0xf8, 0xe0, 0xbe, 0x80, 0xf4, 0x66, 0x2a, 0xa8, 0x9b, 0xc0, 0xf9, 0xcb, - 0xbd, 0xf7, 0xb0, 0xfb, 0xba, 0xc3, 0x87, 0xd4, 0xd6, 0x1b, 0x6f, 0xf4, 0x20, 0x2d, 0x2a, 0xad, - 0xf6, 0xda, 0x0d, 0x06, 0x56, 0x19, 0x5b, 0x23, 0xdb, 0x3a, 0x78, 0xf0, 0xf3, 0xd1, 0x96, 0x4d, - 0xb6, 0xbb, 0xcf, 0x88, 0xcd, 0x5f, 0x50, 0xe9, 0xb7, 0xe0, 0x5c, 0xdb, 0x1a, 0x7c, 0xc1, 0xe2, - 0x41, 0xf7, 0x7b, 0xed, 0x44, 0x94, 0x44, 0xe9, 0x69, 0x7e, 0x40, 0x23, 0x5f, 0xa2, 0xef, 0x8d, - 0x17, 0xff, 0x02, 0x1f, 0x10, 0xbf, 0x61, 0x27, 0xc3, 0x16, 0x6e, 0xa3, 0x4c, 0x25, 0xfe, 0x27, - 0x51, 0x7a, 0x96, 0x1f, 0x13, 0x5e, 0x57, 0xfc, 0x81, 0x5d, 0xd0, 0xd8, 0x12, 0xdd, 0xb4, 0x8c, - 0x98, 0x25, 0x51, 0x3a, 0xcb, 0xe7, 0x13, 0x7f, 0x98, 0xcc, 0x9f, 0xd8, 0x75, 0xf8, 0xc5, 0x01, - 0x5e, 0x15, 0x1d, 0xca, 0x8d, 0x6a, 0xb5, 0x69, 0x5a, 0x2f, 0x8e, 0x28, 0x71, 0x45, 0x72, 0x0e, - 0xf8, 0xd5, 0x28, 0x3e, 0x93, 0xc6, 0x97, 0x6c, 0x41, 0xa7, 0xfe, 0x4d, 0xc5, 0x94, 0xba, 0x1c, - 0xd5, 0x5f, 0xa1, 0xd5, 0x2b, 0xbb, 0x85, 0x6b, 0x32, 0x58, 0x2a, 0x83, 0x36, 0x29, 0x76, 0xf5, - 0x77, 0x2b, 0xef, 0x8f, 0x8d, 0xf1, 0xed, 0xae, 0xc8, 0x4a, 0xf4, 0x32, 0x98, 0x24, 0x3d, 0x93, - 0x53, 0x36, 0x90, 0x3f, 0xea, 0x2e, 0x62, 0x92, 0x96, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0c, - 0x2a, 0x5d, 0x89, 0x86, 0x01, 0x00, 0x00, + // 292 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xdf, 0x4a, 0xc3, 0x30, + 0x14, 0xc6, 0xe9, 0x9c, 0xfb, 0x73, 0x9c, 0x4c, 0xa2, 0xcc, 0x0a, 0x0a, 0x53, 0x10, 0xea, 0x4d, + 0x23, 0x0c, 0x5f, 0x60, 0x57, 0xee, 0x46, 0xa4, 0x17, 0x5e, 0x78, 0x53, 0x6c, 0x93, 0xb6, 0x61, + 0x6d, 0xce, 0x48, 0xb3, 0xf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81, 0x09, 0x01, 0x53, 0xa9, 0x85, 0xb3, 0xd7, + 0xaf, 0x70, 0x8d, 0xa6, 0x8c, 0x51, 0xd3, 0x3a, 0x69, 0x96, 0x6c, 0x5f, 0xfc, 0xec, 0xf5, 0xfd, + 0xb1, 0x54, 0xb6, 0xda, 0x67, 0x71, 0x8e, 0x0d, 0x77, 0x10, 0xa7, 0xc3, 0x93, 0xbc, 0x44, 0xfe, + 0xeb, 0xc3, 0xb2, 0x11, 0x59, 0xab, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0xe9, 0x03, 0x44, + 0xc8, 0x01, 0x00, 0x00, } From 56b1cca23494e8d8256ba5fb4aa8fe241a3660a6 Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Mon, 5 Aug 2024 13:39:09 +0300 Subject: [PATCH 02/25] Updated REST NodeVersionInfo endpoint --- openapi/access.yaml | 8 ++++++++ openapi/go-client-generated/api/swagger.yaml | 10 ++++++++++ openapi/go-client-generated/docs/NodeVersionInfo.md | 2 ++ openapi/go-client-generated/model_node_version_info.go | 2 ++ 4 files changed, 22 insertions(+) diff --git a/openapi/access.yaml b/openapi/access.yaml index 04a1463e4..3d920fc11 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1202,6 +1202,8 @@ components: - protocol_version - spork_root_block_height - node_root_block_height + - start_height + - end_height properties: semver: type: string @@ -1218,6 +1220,12 @@ components: node_root_block_height: type: string format: uint64 + start_height: + type: string + format: uint64 + end_height: + type: string + format: uint64 SubscribeEvents: type: object properties: diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 6759eb841..aa913fc0b 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -2073,11 +2073,13 @@ components: NodeVersionInfo: required: - commit + - end_height - node_root_block_height - protocol_version - semver - spork_id - spork_root_block_height + - start_height type: object properties: semver: @@ -2095,10 +2097,18 @@ components: node_root_block_height: type: string format: uint64 + start_height: + type: string + format: uint64 + end_height: + type: string + format: uint64 example: protocol_version: protocol_version + end_height: end_height semver: semver commit: commit + start_height: start_height node_root_block_height: node_root_block_height spork_id: spork_id spork_root_block_height: spork_root_block_height diff --git a/openapi/go-client-generated/docs/NodeVersionInfo.md b/openapi/go-client-generated/docs/NodeVersionInfo.md index c46323422..1e4487e3c 100644 --- a/openapi/go-client-generated/docs/NodeVersionInfo.md +++ b/openapi/go-client-generated/docs/NodeVersionInfo.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **ProtocolVersion** | **string** | | [default to null] **SporkRootBlockHeight** | **string** | | [default to null] **NodeRootBlockHeight** | **string** | | [default to null] +**StartHeight** | **string** | | [default to null] +**EndHeight** | **string** | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/openapi/go-client-generated/model_node_version_info.go b/openapi/go-client-generated/model_node_version_info.go index 6e20865b9..9b29d3161 100644 --- a/openapi/go-client-generated/model_node_version_info.go +++ b/openapi/go-client-generated/model_node_version_info.go @@ -15,4 +15,6 @@ type NodeVersionInfo struct { ProtocolVersion string `json:"protocol_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` + StartHeight string `json:"start_height"` + EndHeight string `json:"end_height"` } From a4f0b3b7c2917dc71b2a730b9e9fa398c8b3346e Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Tue, 6 Aug 2024 12:27:56 +0300 Subject: [PATCH 03/25] Updated naming according to comments --- .../flow/entities/node_version_info.proto | 4 +- .../go/flow/entities/node_version_info.pb.go | 58 +++++++++---------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/protobuf/flow/entities/node_version_info.proto b/protobuf/flow/entities/node_version_info.proto index de7ac399f..c704a1d33 100644 --- a/protobuf/flow/entities/node_version_info.proto +++ b/protobuf/flow/entities/node_version_info.proto @@ -22,7 +22,7 @@ message NodeVersionInfo { // indexed. uint64 node_root_block_height = 6; // The first block that the node's version supports. - uint64 start_height = 7; + uint64 protocol_version_start_height = 7; // The last block the node's version supports. - uint64 end_height = 8; + uint64 protocol_version_end_height = 8; } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index aa4102bff..08b9609c3 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -37,12 +37,12 @@ type NodeVersionInfo struct { // indexed. NodeRootBlockHeight uint64 `protobuf:"varint,6,opt,name=node_root_block_height,json=nodeRootBlockHeight,proto3" json:"node_root_block_height,omitempty"` // The first block that the node's version supports. - StartHeight uint64 `protobuf:"varint,7,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + ProtocolVersionStartHeight uint64 `protobuf:"varint,7,opt,name=protocol_version_start_height,json=protocolVersionStartHeight,proto3" json:"protocol_version_start_height,omitempty"` // The last block the node's version supports. - EndHeight uint64 `protobuf:"varint,8,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ProtocolVersionEndHeight uint64 `protobuf:"varint,8,opt,name=protocol_version_end_height,json=protocolVersionEndHeight,proto3" json:"protocol_version_end_height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *NodeVersionInfo) Reset() { *m = NodeVersionInfo{} } @@ -112,16 +112,16 @@ func (m *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { return 0 } -func (m *NodeVersionInfo) GetStartHeight() uint64 { +func (m *NodeVersionInfo) GetProtocolVersionStartHeight() uint64 { if m != nil { - return m.StartHeight + return m.ProtocolVersionStartHeight } return 0 } -func (m *NodeVersionInfo) GetEndHeight() uint64 { +func (m *NodeVersionInfo) GetProtocolVersionEndHeight() uint64 { if m != nil { - return m.EndHeight + return m.ProtocolVersionEndHeight } return 0 } @@ -135,24 +135,24 @@ func init() { } var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 292 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0xdf, 0x4a, 0xc3, 0x30, - 0x14, 0xc6, 0xe9, 0x9c, 0xfb, 0x73, 0x9c, 0x4c, 0xa2, 0xcc, 0x0a, 0x0a, 0x53, 0x10, 0xea, 0x4d, - 0x23, 0x0c, 0x5f, 0x60, 0x57, 0xee, 0x46, 0xa4, 0x17, 0x5e, 0x78, 0x53, 0x6c, 0x93, 0xb6, 0x61, - 0x6d, 0xce, 0x48, 0xb3, 0xf9, 0x64, 0xbe, 0x9f, 0xf4, 0xa4, 0x11, 0xd4, 0x9b, 0xc0, 0xf9, 0xbe, - 0xdf, 0x97, 0x93, 0x73, 0x02, 0xf7, 0x45, 0x8d, 0x9f, 0x5c, 0x6a, 0xab, 0xac, 0x92, 0x2d, 0xd7, - 0x28, 0x64, 0x7a, 0x90, 0xa6, 0x55, 0xa8, 0x53, 0xa5, 0x0b, 0x8c, 0x77, 0x06, 0x2d, 0xb2, 0xd3, - 0x0e, 0x8b, 0x3d, 0x76, 0xf7, 0x35, 0x80, 0xf9, 0x0b, 0x0a, 0xf9, 0xe6, 0xc8, 0x8d, 0x2e, 0x90, - 0x2d, 0x60, 0xd4, 0xca, 0xe6, 0x20, 0x4d, 0x18, 0x2c, 0x83, 0x68, 0x9a, 0xf4, 0x55, 0xa7, 0xe7, - 0xd8, 0x34, 0xca, 0x86, 0x03, 0xa7, 0xbb, 0x8a, 0x5d, 0xc1, 0xa4, 0xdd, 0xa1, 0xd9, 0xa6, 0x4a, - 0x84, 0x47, 0xcb, 0x20, 0x9a, 0x25, 0x63, 0xaa, 0x37, 0x82, 0x3d, 0xc0, 0x19, 0xb5, 0xcd, 0xb1, - 0xf6, 0x8f, 0x09, 0x87, 0xcb, 0x20, 0x1a, 0x26, 0x73, 0xaf, 0xf7, 0x9d, 0xd9, 0x13, 0x5c, 0xba, - 0x5b, 0x0c, 0xa2, 0x4d, 0xb3, 0x1a, 0xf3, 0x6d, 0x5a, 0x49, 0x55, 0x56, 0x36, 0x3c, 0xa6, 0xc4, - 0x05, 0xd9, 0x09, 0xa2, 0x5d, 0x77, 0xe6, 0x33, 0x79, 0x6c, 0x05, 0x0b, 0x1a, 0xf5, 0x7f, 0x6a, - 0x44, 0xa9, 0xf3, 0xce, 0xfd, 0x1b, 0xba, 0x85, 0x59, 0x6b, 0x3f, 0x8c, 0xf5, 0xe8, 0x98, 0xd0, - 0x13, 0xd2, 0x7a, 0xe4, 0x06, 0x40, 0x6a, 0xe1, 0x81, 0x09, 0x01, 0x53, 0xa9, 0x85, 0xb3, 0xd7, - 0xaf, 0x70, 0x8d, 0xa6, 0x8c, 0x51, 0xd3, 0x3a, 0x69, 0x96, 0x6c, 0x5f, 0xfc, 0xec, 0xf5, 0xfd, - 0xb1, 0x54, 0xb6, 0xda, 0x67, 0x71, 0x8e, 0x0d, 0x77, 0x10, 0xa7, 0xc3, 0x93, 0xbc, 0x44, 0xfe, - 0xeb, 0xc3, 0xb2, 0x11, 0x59, 0xab, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0xe9, 0x03, 0x44, - 0xc8, 0x01, 0x00, 0x00, + // 304 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0x4f, 0x4b, 0x03, 0x31, + 0x10, 0xc5, 0xd9, 0x5a, 0xdb, 0x1a, 0x94, 0x4a, 0x94, 0x1a, 0xff, 0x41, 0x11, 0x84, 0x7a, 0xd9, + 0x08, 0xc5, 0xa3, 0x07, 0x0b, 0x82, 0xbd, 0x88, 0xac, 0xe0, 0xc1, 0x4b, 0x70, 0x37, 0xd9,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0x76, 0x7c, 0xaf, 0x2d, 0x4d, 0xc4, 0x23, 0xb9, 0xdc, 0x89, 0x50, + 0x46, 0x86, 0x80, 0x01, 0x06, 0xb0, 0x56, 0xc0, 0xb3, 0x91, 0x1e, 0x9f, 0xbd, 0x91, 0x2b, 0xb0, + 0x45, 0x0c, 0x06, 0xcf, 0x81, 0xb6, 0x74, 0x93, 0xff, 0xdd, 0xe5, 0xf3, 0xbe, 0xd0, 0x6e, 0xb1, + 0x49, 0xe3, 0x0c, 0x4a, 0xee, 0x4d, 0x1c, 0x9f, 0xe0, 0xe4, 0x05, 0xf0, 0x7f, 0x07, 0x4f, 0x7b, + 0x28, 0x4d, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x1d, 0x5b, 0x26, 0x08, 0x02, 0x00, 0x00, } From 6ed311fd79893239350e26549da5353b53d33ab8 Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Tue, 6 Aug 2024 12:35:37 +0300 Subject: [PATCH 04/25] Updated naming for openapi --- openapi/access.yaml | 8 ++++---- openapi/go-client-generated/api/swagger.yaml | 12 ++++++------ openapi/go-client-generated/docs/NodeVersionInfo.md | 4 ++-- .../go-client-generated/model_node_version_info.go | 4 ++-- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/openapi/access.yaml b/openapi/access.yaml index 3d920fc11..61872e2e1 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1202,8 +1202,8 @@ components: - protocol_version - spork_root_block_height - node_root_block_height - - start_height - - end_height + - protocol_version_start_height + - protocol_version_end_height properties: semver: type: string @@ -1220,10 +1220,10 @@ components: node_root_block_height: type: string format: uint64 - start_height: + protocol_version_start_height: type: string format: uint64 - end_height: + protocol_version_end_height: type: string format: uint64 SubscribeEvents: diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index aa913fc0b..43d422544 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -2073,13 +2073,13 @@ components: NodeVersionInfo: required: - commit - - end_height - node_root_block_height - protocol_version + - protocol_version_end_height + - protocol_version_start_height - semver - spork_id - spork_root_block_height - - start_height type: object properties: semver: @@ -2097,19 +2097,19 @@ components: node_root_block_height: type: string format: uint64 - start_height: + protocol_version_start_height: type: string format: uint64 - end_height: + protocol_version_end_height: type: string format: uint64 example: protocol_version: protocol_version - end_height: end_height semver: semver commit: commit - start_height: start_height + protocol_version_start_height: protocol_version_start_height node_root_block_height: node_root_block_height + protocol_version_end_height: protocol_version_end_height spork_id: spork_id spork_root_block_height: spork_root_block_height SubscribeEvents: diff --git a/openapi/go-client-generated/docs/NodeVersionInfo.md b/openapi/go-client-generated/docs/NodeVersionInfo.md index 1e4487e3c..0cfe59df2 100644 --- a/openapi/go-client-generated/docs/NodeVersionInfo.md +++ b/openapi/go-client-generated/docs/NodeVersionInfo.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **ProtocolVersion** | **string** | | [default to null] **SporkRootBlockHeight** | **string** | | [default to null] **NodeRootBlockHeight** | **string** | | [default to null] -**StartHeight** | **string** | | [default to null] -**EndHeight** | **string** | | [default to null] +**ProtocolVersionStartHeight** | **string** | | [default to null] +**ProtocolVersionEndHeight** | **string** | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/openapi/go-client-generated/model_node_version_info.go b/openapi/go-client-generated/model_node_version_info.go index 9b29d3161..b8edb0310 100644 --- a/openapi/go-client-generated/model_node_version_info.go +++ b/openapi/go-client-generated/model_node_version_info.go @@ -15,6 +15,6 @@ type NodeVersionInfo struct { ProtocolVersion string `json:"protocol_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` - StartHeight string `json:"start_height"` - EndHeight string `json:"end_height"` + ProtocolVersionStartHeight string `json:"protocol_version_start_height"` + ProtocolVersionEndHeight string `json:"protocol_version_end_height"` } From 832a677c3ec54be32c67346bafc6c758b128c597 Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Fri, 9 Aug 2024 14:36:43 +0300 Subject: [PATCH 05/25] Updated according to comments --- openapi/access.yaml | 22 +++++++++----- openapi/go-client-generated/README.md | 1 + openapi/go-client-generated/api/swagger.yaml | 30 ++++++++++++------- .../docs/CompatibleRange.md | 10 +++++++ .../docs/NodeVersionInfo.md | 3 +- .../model_compatible_range.go | 15 ++++++++++ .../model_node_version_info.go | 3 +- 7 files changed, 62 insertions(+), 22 deletions(-) create mode 100644 openapi/go-client-generated/docs/CompatibleRange.md create mode 100644 openapi/go-client-generated/model_compatible_range.go diff --git a/openapi/access.yaml b/openapi/access.yaml index 61872e2e1..92d084540 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1193,6 +1193,17 @@ components: properties: chain_id: type: string + CompatibleRange: + type: object + description: A compatible version range. + required: + - start_height + - end_height + properties: + start_height: + type: string + end_height: + type: string NodeVersionInfo: type: object required: @@ -1202,8 +1213,7 @@ components: - protocol_version - spork_root_block_height - node_root_block_height - - protocol_version_start_height - - protocol_version_end_height + - execution_version_range properties: semver: type: string @@ -1220,12 +1230,8 @@ components: node_root_block_height: type: string format: uint64 - protocol_version_start_height: - type: string - format: uint64 - protocol_version_end_height: - type: string - format: uint64 + execution_version_range: + $ref: '#/components/schemas/CompatibleRange' SubscribeEvents: type: object properties: diff --git a/openapi/go-client-generated/README.md b/openapi/go-client-generated/README.md index 101ebd46a..e2bbbf779 100644 --- a/openapi/go-client-generated/README.md +++ b/openapi/go-client-generated/README.md @@ -55,6 +55,7 @@ Class | Method | HTTP request | Description - [Collection](docs/Collection.md) - [CollectionExpandable](docs/CollectionExpandable.md) - [CollectionGuarantee](docs/CollectionGuarantee.md) + - [CompatibleRange](docs/CompatibleRange.md) - [Event](docs/Event.md) - [ExecutionResult](docs/ExecutionResult.md) - [HashingAlgorithm](docs/HashingAlgorithm.md) diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 43d422544..6465fd59d 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -2070,13 +2070,26 @@ components: type: string example: chain_id: chain_id + CompatibleRange: + required: + - end_height + - start_height + type: object + properties: + start_height: + type: string + end_height: + type: string + description: A compatible version range. + example: + end_height: end_height + start_height: start_height NodeVersionInfo: required: - commit + - execution_version_range - node_root_block_height - protocol_version - - protocol_version_end_height - - protocol_version_start_height - semver - spork_id - spork_root_block_height @@ -2097,19 +2110,16 @@ components: node_root_block_height: type: string format: uint64 - protocol_version_start_height: - type: string - format: uint64 - protocol_version_end_height: - type: string - format: uint64 + execution_version_range: + $ref: '#/components/schemas/CompatibleRange' example: protocol_version: protocol_version + execution_version_range: + end_height: end_height + start_height: start_height semver: semver commit: commit - protocol_version_start_height: protocol_version_start_height node_root_block_height: node_root_block_height - protocol_version_end_height: protocol_version_end_height spork_id: spork_id spork_root_block_height: spork_root_block_height SubscribeEvents: diff --git a/openapi/go-client-generated/docs/CompatibleRange.md b/openapi/go-client-generated/docs/CompatibleRange.md new file mode 100644 index 000000000..3c5b2f7a2 --- /dev/null +++ b/openapi/go-client-generated/docs/CompatibleRange.md @@ -0,0 +1,10 @@ +# CompatibleRange + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StartHeight** | **string** | | [default to null] +**EndHeight** | **string** | | [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + diff --git a/openapi/go-client-generated/docs/NodeVersionInfo.md b/openapi/go-client-generated/docs/NodeVersionInfo.md index 0cfe59df2..52643b8bf 100644 --- a/openapi/go-client-generated/docs/NodeVersionInfo.md +++ b/openapi/go-client-generated/docs/NodeVersionInfo.md @@ -9,8 +9,7 @@ Name | Type | Description | Notes **ProtocolVersion** | **string** | | [default to null] **SporkRootBlockHeight** | **string** | | [default to null] **NodeRootBlockHeight** | **string** | | [default to null] -**ProtocolVersionStartHeight** | **string** | | [default to null] -**ProtocolVersionEndHeight** | **string** | | [default to null] +**ExecutionVersionRange** | [***CompatibleRange**](CompatibleRange.md) | | [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/openapi/go-client-generated/model_compatible_range.go b/openapi/go-client-generated/model_compatible_range.go new file mode 100644 index 000000000..0d7af94b5 --- /dev/null +++ b/openapi/go-client-generated/model_compatible_range.go @@ -0,0 +1,15 @@ +/* + * Access API + * + * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + * + * API version: 1.0.0 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ +package swagger + +// A compatible version range. +type CompatibleRange struct { + StartHeight string `json:"start_height"` + EndHeight string `json:"end_height"` +} diff --git a/openapi/go-client-generated/model_node_version_info.go b/openapi/go-client-generated/model_node_version_info.go index b8edb0310..6dc96b95f 100644 --- a/openapi/go-client-generated/model_node_version_info.go +++ b/openapi/go-client-generated/model_node_version_info.go @@ -15,6 +15,5 @@ type NodeVersionInfo struct { ProtocolVersion string `json:"protocol_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` - ProtocolVersionStartHeight string `json:"protocol_version_start_height"` - ProtocolVersionEndHeight string `json:"protocol_version_end_height"` + ExecutionVersionRange *CompatibleRange `json:"execution_version_range"` } From 7e9b700f1ac56f9db457dfbf8bc98f696541dcec Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Fri, 9 Aug 2024 14:37:45 +0300 Subject: [PATCH 06/25] Updated rpc call according to comment --- .../flow/entities/node_version_info.proto | 13 +- .../go/flow/entities/node_version_info.pb.go | 120 ++++++++++++------ 2 files changed, 91 insertions(+), 42 deletions(-) diff --git a/protobuf/flow/entities/node_version_info.proto b/protobuf/flow/entities/node_version_info.proto index c704a1d33..f8c57fd70 100644 --- a/protobuf/flow/entities/node_version_info.proto +++ b/protobuf/flow/entities/node_version_info.proto @@ -5,6 +5,13 @@ package flow.entities; option go_package = "github.com/onflow/flow/protobuf/go/flow/entities"; option java_package = "org.onflow.protobuf.entities"; +message CompatibleRange { + // The first block that the version supports. + uint64 start_height = 1; + // The last block that the version supports. + uint64 end_height = 2; +} + message NodeVersionInfo { // The currently running node software version. string semver = 1; @@ -21,8 +28,6 @@ message NodeVersionInfo { // If the node started after the beginning of the spork, it is the height of the first sealed block // indexed. uint64 node_root_block_height = 6; - // The first block that the node's version supports. - uint64 protocol_version_start_height = 7; - // The last block the node's version supports. - uint64 protocol_version_end_height = 8; + // The compatible execution version range. + CompatibleRange execution_version_range = 7; } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index 08b9609c3..b57f1599a 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -20,6 +20,55 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +type CompatibleRange struct { + // The first block that the version supports. + StartHeight uint64 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"` + // The last block that the version supports. + EndHeight uint64 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CompatibleRange) Reset() { *m = CompatibleRange{} } +func (m *CompatibleRange) String() string { return proto.CompactTextString(m) } +func (*CompatibleRange) ProtoMessage() {} +func (*CompatibleRange) Descriptor() ([]byte, []int) { + return fileDescriptor_ff9e447351cb4a8a, []int{0} +} + +func (m *CompatibleRange) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompatibleRange.Unmarshal(m, b) +} +func (m *CompatibleRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompatibleRange.Marshal(b, m, deterministic) +} +func (m *CompatibleRange) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompatibleRange.Merge(m, src) +} +func (m *CompatibleRange) XXX_Size() int { + return xxx_messageInfo_CompatibleRange.Size(m) +} +func (m *CompatibleRange) XXX_DiscardUnknown() { + xxx_messageInfo_CompatibleRange.DiscardUnknown(m) +} + +var xxx_messageInfo_CompatibleRange proto.InternalMessageInfo + +func (m *CompatibleRange) GetStartHeight() uint64 { + if m != nil { + return m.StartHeight + } + return 0 +} + +func (m *CompatibleRange) GetEndHeight() uint64 { + if m != nil { + return m.EndHeight + } + return 0 +} + type NodeVersionInfo struct { // The currently running node software version. Semver string `protobuf:"bytes,1,opt,name=semver,proto3" json:"semver,omitempty"` @@ -36,20 +85,18 @@ type NodeVersionInfo struct { // If the node started after the beginning of the spork, it is the height of the first sealed block // indexed. NodeRootBlockHeight uint64 `protobuf:"varint,6,opt,name=node_root_block_height,json=nodeRootBlockHeight,proto3" json:"node_root_block_height,omitempty"` - // The first block that the node's version supports. - ProtocolVersionStartHeight uint64 `protobuf:"varint,7,opt,name=protocol_version_start_height,json=protocolVersionStartHeight,proto3" json:"protocol_version_start_height,omitempty"` - // The last block the node's version supports. - ProtocolVersionEndHeight uint64 `protobuf:"varint,8,opt,name=protocol_version_end_height,json=protocolVersionEndHeight,proto3" json:"protocol_version_end_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // The compatible execution version range. + ExecutionVersionRange *CompatibleRange `protobuf:"bytes,7,opt,name=execution_version_range,json=executionVersionRange,proto3" json:"execution_version_range,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *NodeVersionInfo) Reset() { *m = NodeVersionInfo{} } func (m *NodeVersionInfo) String() string { return proto.CompactTextString(m) } func (*NodeVersionInfo) ProtoMessage() {} func (*NodeVersionInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_ff9e447351cb4a8a, []int{0} + return fileDescriptor_ff9e447351cb4a8a, []int{1} } func (m *NodeVersionInfo) XXX_Unmarshal(b []byte) error { @@ -112,21 +159,15 @@ func (m *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { return 0 } -func (m *NodeVersionInfo) GetProtocolVersionStartHeight() uint64 { +func (m *NodeVersionInfo) GetExecutionVersionRange() *CompatibleRange { if m != nil { - return m.ProtocolVersionStartHeight + return m.ExecutionVersionRange } - return 0 -} - -func (m *NodeVersionInfo) GetProtocolVersionEndHeight() uint64 { - if m != nil { - return m.ProtocolVersionEndHeight - } - return 0 + return nil } func init() { + proto.RegisterType((*CompatibleRange)(nil), "flow.entities.CompatibleRange") proto.RegisterType((*NodeVersionInfo)(nil), "flow.entities.NodeVersionInfo") } @@ -135,24 +176,27 @@ func init() { } var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x91, 0x4f, 0x4b, 0x03, 0x31, - 0x10, 0xc5, 0xd9, 0x5a, 0xdb, 0x1a, 0x94, 0x4a, 0x94, 0x1a, 0xff, 0x41, 0x11, 0x84, 0x7a, 0xd9, - 0x08, 0xc5, 0xa3, 0x07, 0x0b, 0x82, 0xbd, 0x88, 0xac, 0xe0, 0xc1, 0x4b, 0x70, 0x37, 0xd9, 0x6d, - 0x68, 0x37, 0x53, 0xb2, 0x69, 0xfd, 0xe4, 0xde, 0x65, 0x27, 0x1b, 0xc1, 0xed, 0x25, 0x30, 0xf3, - 0xde, 0xef, 0xcd, 0x84, 0x21, 0xb7, 0xf9, 0x0a, 0xbe, 0xb9, 0x32, 0x4e, 0x3b, 0xad, 0x2a, 0x6e, - 0x40, 0x2a, 0xb1, 0x55, 0xb6, 0xd2, 0x60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 0xd0, 0x6e, 0xb1, - 0x49, 0xe3, 0x0c, 0x4a, 0xee, 0x4d, 0x1c, 0x9f, 0xe0, 0xe4, 0x05, 0xf0, 0x7f, 0x07, 0x4f, 0x7b, - 0x28, 0x4d, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x1d, 0x5b, 0x26, 0x08, 0x02, 0x00, 0x00, + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcf, 0x4e, 0xfa, 0x40, + 0x10, 0x4e, 0xf9, 0xf1, 0x03, 0x59, 0x30, 0x98, 0x55, 0xa1, 0x26, 0x6a, 0x90, 0xc4, 0x04, 0x2f, + 0xad, 0x91, 0xf8, 0x02, 0x78, 0x91, 0x8b, 0x31, 0x6b, 0xc2, 0xc1, 0x4b, 0x43, 0xdb, 0x69, 0xd9, + 0xd0, 0xee, 0x90, 0xed, 0x82, 0xbe, 0xa3, 0x2f, 0x65, 0x3a, 0xed, 0x92, 0x80, 0x97, 0x26, 0xf3, + 0xfd, 0x99, 0x9d, 0xef, 0x4b, 0xd9, 0x7d, 0x92, 0xe1, 0x97, 0x0f, 0xca, 0x48, 0x23, 0xa1, 0xf0, + 0x15, 0xc6, 0x10, 0xec, 0x40, 0x17, 0x12, 0x55, 0x20, 0x55, 0x82, 0xde, 0x46, 0xa3, 0x41, 0x7e, + 0x5a, 0xca, 0x3c, 0x2b, 0x1b, 0x7f, 0xb0, 0xfe, 0x0b, 0xe6, 0x9b, 0xa5, 0x91, 0x61, 0x06, 0x62, + 0xa9, 0x52, 0xe0, 0x77, 0xac, 0x57, 0x98, 0xa5, 0x36, 0xc1, 0x0a, 0x64, 0xba, 0x32, 0xae, 0x33, + 0x72, 0x26, 0x4d, 0xd1, 0x25, 0xec, 0x95, 0x20, 0x7e, 0xc3, 0x18, 0xa8, 0xd8, 0x0a, 0x1a, 0x24, + 0xe8, 0x80, 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d3, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x25, 0xf3, + 0xba, 0x33, 0x02, 0x00, 0x00, } From 72fdc9e2dcffb3af6c4444c102e50df6220afc47 Mon Sep 17 00:00:00 2001 From: UlyanaAndrukhiv Date: Mon, 12 Aug 2024 13:59:51 +0300 Subject: [PATCH 07/25] Renamed according to comment --- openapi/access.yaml | 3 +- openapi/go-client-generated/api/swagger.yaml | 7 +-- .../docs/NodeVersionInfo.md | 2 +- .../model_node_version_info.go | 2 +- .../flow/entities/node_version_info.proto | 4 +- .../go/flow/entities/node_version_info.pb.go | 59 +++++++++---------- 6 files changed, 37 insertions(+), 40 deletions(-) diff --git a/openapi/access.yaml b/openapi/access.yaml index 92d084540..441fbaae4 100644 --- a/openapi/access.yaml +++ b/openapi/access.yaml @@ -1213,7 +1213,6 @@ components: - protocol_version - spork_root_block_height - node_root_block_height - - execution_version_range properties: semver: type: string @@ -1230,7 +1229,7 @@ components: node_root_block_height: type: string format: uint64 - execution_version_range: + compatible_range: $ref: '#/components/schemas/CompatibleRange' SubscribeEvents: type: object diff --git a/openapi/go-client-generated/api/swagger.yaml b/openapi/go-client-generated/api/swagger.yaml index 6465fd59d..3f4abf614 100644 --- a/openapi/go-client-generated/api/swagger.yaml +++ b/openapi/go-client-generated/api/swagger.yaml @@ -2087,7 +2087,6 @@ components: NodeVersionInfo: required: - commit - - execution_version_range - node_root_block_height - protocol_version - semver @@ -2110,14 +2109,14 @@ components: node_root_block_height: type: string format: uint64 - execution_version_range: + compatible_range: $ref: '#/components/schemas/CompatibleRange' example: protocol_version: protocol_version - execution_version_range: + semver: semver + compatible_range: end_height: end_height start_height: start_height - semver: semver commit: commit node_root_block_height: node_root_block_height spork_id: spork_id diff --git a/openapi/go-client-generated/docs/NodeVersionInfo.md b/openapi/go-client-generated/docs/NodeVersionInfo.md index 52643b8bf..4a06efc68 100644 --- a/openapi/go-client-generated/docs/NodeVersionInfo.md +++ b/openapi/go-client-generated/docs/NodeVersionInfo.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **ProtocolVersion** | **string** | | [default to null] **SporkRootBlockHeight** | **string** | | [default to null] **NodeRootBlockHeight** | **string** | | [default to null] -**ExecutionVersionRange** | [***CompatibleRange**](CompatibleRange.md) | | [default to null] +**CompatibleRange** | [***CompatibleRange**](CompatibleRange.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/openapi/go-client-generated/model_node_version_info.go b/openapi/go-client-generated/model_node_version_info.go index 6dc96b95f..3e550a191 100644 --- a/openapi/go-client-generated/model_node_version_info.go +++ b/openapi/go-client-generated/model_node_version_info.go @@ -15,5 +15,5 @@ type NodeVersionInfo struct { ProtocolVersion string `json:"protocol_version"` SporkRootBlockHeight string `json:"spork_root_block_height"` NodeRootBlockHeight string `json:"node_root_block_height"` - ExecutionVersionRange *CompatibleRange `json:"execution_version_range"` + CompatibleRange *CompatibleRange `json:"compatible_range,omitempty"` } diff --git a/protobuf/flow/entities/node_version_info.proto b/protobuf/flow/entities/node_version_info.proto index f8c57fd70..90c8edd89 100644 --- a/protobuf/flow/entities/node_version_info.proto +++ b/protobuf/flow/entities/node_version_info.proto @@ -28,6 +28,6 @@ message NodeVersionInfo { // If the node started after the beginning of the spork, it is the height of the first sealed block // indexed. uint64 node_root_block_height = 6; - // The compatible execution version range. - CompatibleRange execution_version_range = 7; + // The compatible version range. + CompatibleRange compatible_range = 7; } diff --git a/protobuf/go/flow/entities/node_version_info.pb.go b/protobuf/go/flow/entities/node_version_info.pb.go index b57f1599a..d50ecfa9f 100644 --- a/protobuf/go/flow/entities/node_version_info.pb.go +++ b/protobuf/go/flow/entities/node_version_info.pb.go @@ -85,11 +85,11 @@ type NodeVersionInfo struct { // If the node started after the beginning of the spork, it is the height of the first sealed block // indexed. NodeRootBlockHeight uint64 `protobuf:"varint,6,opt,name=node_root_block_height,json=nodeRootBlockHeight,proto3" json:"node_root_block_height,omitempty"` - // The compatible execution version range. - ExecutionVersionRange *CompatibleRange `protobuf:"bytes,7,opt,name=execution_version_range,json=executionVersionRange,proto3" json:"execution_version_range,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // The compatible version range. + CompatibleRange *CompatibleRange `protobuf:"bytes,7,opt,name=compatible_range,json=compatibleRange,proto3" json:"compatible_range,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *NodeVersionInfo) Reset() { *m = NodeVersionInfo{} } @@ -159,9 +159,9 @@ func (m *NodeVersionInfo) GetNodeRootBlockHeight() uint64 { return 0 } -func (m *NodeVersionInfo) GetExecutionVersionRange() *CompatibleRange { +func (m *NodeVersionInfo) GetCompatibleRange() *CompatibleRange { if m != nil { - return m.ExecutionVersionRange + return m.CompatibleRange } return nil } @@ -176,27 +176,26 @@ func init() { } var fileDescriptor_ff9e447351cb4a8a = []byte{ - // 341 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcf, 0x4e, 0xfa, 0x40, - 0x10, 0x4e, 0xf9, 0xf1, 0x03, 0x59, 0x30, 0x98, 0x55, 0xa1, 0x26, 0x6a, 0x90, 0xc4, 0x04, 0x2f, - 0xad, 0x91, 0xf8, 0x02, 0x78, 0x91, 0x8b, 0x31, 0x6b, 0xc2, 0xc1, 0x4b, 0x43, 0xdb, 0x69, 0xd9, - 0xd0, 0xee, 0x90, 0xed, 0x82, 0xbe, 0xa3, 0x2f, 0x65, 0x3a, 0xed, 0x92, 0x80, 0x97, 0x26, 0xf3, - 0xfd, 0x99, 0x9d, 0xef, 0x4b, 0xd9, 0x7d, 0x92, 0xe1, 0x97, 0x0f, 0xca, 0x48, 0x23, 0xa1, 0xf0, - 0x15, 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 0xaf, 0xcb, 0x4a, 0xdd, 0xf6, 0xc8, 0x99, - 0x74, 0x9f, 0x6e, 0xbd, 0x83, 0xee, 0xbd, 0xa3, 0xe2, 0xc5, 0xe5, 0xde, 0x5e, 0x9f, 0x4f, 0xf0, - 0xec, 0x9d, 0x5d, 0xa3, 0x4e, 0x3d, 0x54, 0xe4, 0xa6, 0x84, 0xe1, 0x36, 0xd9, 0xaf, 0xf9, 0x7c, - 0x4c, 0xa5, 0x59, 0x6d, 0x43, 0x2f, 0xc2, 0xdc, 0xaf, 0x44, 0x3e, 0x7d, 0xac, 0xd2, 0x4f, 0xd1, - 0x3f, 0xf8, 0x37, 0xc2, 0x16, 0x51, 0xd3, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0x25, 0xf3, - 0xba, 0x33, 0x02, 0x00, 0x00, + // 331 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0xcd, 0x4a, 0xc3, 0x40, + 0x10, 0x26, 0xb5, 0xb6, 0x76, 0x5a, 0x49, 0x59, 0xa5, 0x46, 0x50, 0xa9, 0x05, 0xa1, 0x5e, 0x12, + 0xb1, 0xf8, 0x02, 0xf5, 0x62, 0x2f, 0x22, 0x2b, 0x78, 0xf0, 0x12, 0x9a, 0x64, 0x93, 0x2e, 0x4d, + 0x76, 0xca, 0x66, 0x5b, 0xdf, 0xce, 0x67, 0x93, 0x4c, 0xb2, 0x85, 0xd6, 0x4b, 0x60, 0xbe, 0x9f, + 0xd9, 0xf9, 0x3e, 0x02, 0x0f, 0x69, 0x8e, 0x3f, 0x81, 0x50, 0x46, 0x1a, 0x29, 0xca, 0x40, 0x61, + 0x22, 0xc2, 0x9d, 0xd0, 0xa5, 0x44, 0x15, 0x4a, 0x95, 0xa2, 0xbf, 0xd1, 0x68, 0x90, 0x9d, 0x57, + 0x32, 0xdf, 0xca, 0x26, 0x9f, 0xe0, 0x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, 0x45, 0x3e, 0x0a, + 0x15, 0x6d, 0xd3, 0xfd, 0x82, 0xef, 0xa7, 0x4c, 0x9a, 0xd5, 0x36, 0xf2, 0x63, 0x2c, 0x82, 0x5a, + 0x14, 0xd0, 0xc7, 0x2a, 0x83, 0x0c, 0x83, 0x83, 0xdf, 0x21, 0xea, 0x10, 0x35, 0xfb, 0x0b, 0x00, + 0x00, 0xff, 0xff, 0xf6, 0x11, 0xfd, 0x6f, 0x26, 0x02, 0x00, 0x00, } From 94af5bcc59064a8d2981e420f08189af383eba17 Mon Sep 17 00:00:00 2001 From: j pimmel Date: Wed, 14 Aug 2024 11:14:07 -0700 Subject: [PATCH 08/25] Create 2024-08-16-Flow-Sprint-Kickoff.md --- .../2024-08-16-Flow-Sprint-Kickoff.md | 303 ++++++++++++++++++ 1 file changed, 303 insertions(+) create mode 100644 agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md new file mode 100644 index 000000000..5b1dcf342 --- /dev/null +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -0,0 +1,303 @@ +# Overview + +### Team Wins 🎉 +- + + + +### General updates + +### OOO +- [Full List](https://www.notion.so/flowfoundation/de89aa4e79364216a665888335a1cdee?v=4de18b26f60d4bae8f62724dddcce260) + +--- + +### Mainnet Uptime - Last 14 days (08/02/24 to 08/15/24) \[Vishal] + +| | Target | Current Score | Error budget used | +|:------------------------|:------:|:-------------:|:-----------------:| +| Collection Finalization | 99.9% | 100% | 0% | +| Block Finalization | 99.9% | 100% | 0% | +| Transaction Execution | 99.9% | 100% | 0% | +| Block Sealing | 99.9% | 100% | 0% | +| Access API Liveness | 99.9% | 99.833% | 167% | + +[SLO dashboards](https://flowfoundation.grafana.net/d/hgW3l-m4k/slo-dashboard?orgId=1&from=now-2w&to=now) + +[YTD SLA: 99.922%](https://app.metrika.co/flow/dashboard/slas?tr=YTD) + +## Incidents + +### Mainnet +- Sev 4 - 07/18: Consensus nodes crashed intermittently due to OOM. [Slack thread](https://flow-foundation.slack.com/archives/CUU2KQL4A/p1721310960751829) + +(Sev [definition](https://www.notion.so/flowfoundation/Incident-Priorities-Severity-Levels-1-e811b352feff4928b69a7e99df724c6a)) + +### Key Release Dates & Breaking Changes +- Next Mainnet/Testnet network upgrade (spork): + - Testnet: Aug 14th 8:00 AM PT (3:00 PM UTC). Duration: 6 hours + - Mainnet: Sept 4th **5:00 AM PT** (12:00 PM UTC). Duration: 6 hours + +--- + +### FLIPs Tracker \[Kshitij] + +| | Application | Cadence | Governance | Protocol | Total | +|:------------------------|:------:|:-------------:|:-----------------:|:-----------------:|:-----------------:| +| Drafted | 8 | 8 (-1) | 0 | 7 | **23** (-1) | +| Proposed | 1 | 2 | 3 (+1) | 0 | **6** (+1) | +| Accepted | 2 | 1 | 2 | 2 (+1) | **7** (+1) | +| Rejected | 0 | 0 | 1 | 0 | **1** | +| Implemented | 3 | 24 (+2) | 1 | 0 | **28** | +| Released | 4 | 0 | 4 (+1) | 6 | **14** (+1) | +| Total | **18** (+1) | **35** (+1) | **11** (+1) | **15** | **79** (+3) | + +**Updates** +* Crescendo Network Upgrade - proposed +* Changing import statement semantics - accepted +* Import of pre-Cadence 1.0 Programs - proposed and accepted + +# Working Group Updates + +### **Cadence and Virtual Machine** \[Jan] +Cycle Objective(s): + +1) Upgrade Mainnet to Crescendo Release with minimal impact on developers, to lower the barrier for cross chain liquidity on Flow +2) Calibrate Transaction fees so that they accurately reflect resource usage during execution and deploy as part of Crescendo to avoid future disruption. +3) Analyze execution runtime trends and risks to plan next set of scalability OKRs. + +* Stretch-goals: +4) Expand testing capability of storehouse so that we can validate execution correctness and benchmark performance on Mainnet data +5) Design a new Trie to improve performance of update operation, reduce memory usage and size of proofs and to support more flexible proof queries. +6) Enable Concurrent Execution on one EN on Mainnet to validate correctness of the implementation (Detect execution forks) +7) Improve execution performance to mitigate the impact of adding metadata to token standards + +**Done last sprint** + + +**This sprint** + + - Objective 1, KR4: Testnet Upgrade to Crescendo Release + - Continue: [Provide immutable settings for each CCF format](https://github.com/onflow/cadence/issues/3448) + - Investigate / Fix any security report incoming from bug bounty. + - Upgrade TN to Crescendo release + + - Objective 2, KR 1: Update transaction fees weights for the execution operations on TN and MN + - Continue work on [Execution Effort Calibration](https://github.com/onflow/flow-go/issues/5598) + +- EVM + - Continue testing EVM GW stability + - KROK + - EVM Gateway benchmarking + +**Completed OKRs** + * Objective 1, KR1: Enable Developers and the Flow Foundation to simulate Cadence 1.0 Contract upgrades + * All breaking released in a new CLI: v1.18.0-cadence-v1.0.0-preview.26 + * Objective 4, KR1: Execution node handles restart from spork root block reguardless of how many blocks it is behind + * Completed refactoring of Ingestion engine to [prevent EN entering crash loop](https://github.com/onflow/flow-go/issues/5298) + +**On Hold** + + - Objective 3: Analyze execution runtime trends and risks to plan next set of scalability OKRs + * Continue work on making [Make TPS loader input more flexible](https://github.com/onflow/flow-go/issues/5490) for better analysis and tracking of performance data. + +- Other + * Start Atree optimization: [Adding support for lazy decoding of registers](https://github.com/onflow/atree/issues/341) + * Evaluate fixing [Random beacon history taking more space on chain than expected](https://github.com/onflow/flow-go/issues/5550) + +--- + +### **Core Protocol** \[Jerome] +Cycle Objective(s): + +* Provide developers secure and non-rate limited way to access all of chain data (transactions, blocks, account balance, events, account balance etc) by locally running an access or an observer node [IN PROGRESS] +* Reduce CPU usage on Execution node by 30% [DONE] +* Translate crypto performance improvements to consensus block rate increase [DONE] +* Continue design and implementation of Sporkless Epoch Fallback Recovery solution [DONE] + +**Done last Sprint:** + + +**This sprint** + +* EFM Recovery + - EFM Recovery Process (cont.) + - [Integration Test](https://github.com/onflow/flow-go/issues/6164) - test failure cases + - [Smart contract changes](https://github.com/onflow/flow-core-contracts/pull/440) + - [DKG Data Model](https://github.com/onflow/flow-go/issues/6214) + - Modifying data model for DKG outputs to support DKG committee != consenssu committee + +* Data Availability: + - ProtocolDB pruning design + - Testing ChunkDataPack DB pruning PoC + - KROK Team + - Add support for version beacon events to control script execution ([Issue #5789](https://github.com/onflow/flow-go/issues/5789) - In review, [Issue #5790](https://github.com/onflow/flow-go/issues/5790)) + - Add support pruning pebble exec data db ([Issue #6260](https://github.com/onflow/flow-go/issues/6260)) + - Add REST endpoints for getting account keys and balance ([Issue #6228](https://github.com/onflow/flow-go/issues/6228) - in review) + - Expand on payer balance checks ([Issue #6128](https://github.com/onflow/flow-go/issues/6128), [Issue #6129](https://github.com/onflow/flow-go/issues/6129), [Issue #6139](https://github.com/onflow/flow-go/issues/6139)) + - Start registers db pruning ([Issue #6066](https://github.com/onflow/flow-go/issues/6066), [Issue #6068](https://github.com/onflow/flow-go/issues/6068)) + +* Cryptography: + - java-SDK: more tests on transaction signing and prepare for a release + - crypto module: integrate the new BLST release + - back to SPoCK aggregation if possible: contine with BLS aggregation security proofs + +* Rosetta: + - KROK: + - Rosetta Cadence updates for Crescendo ([Issue #52](https://github.com/onflow/rosetta/issues/52), [Issue #54](https://github.com/onflow/rosetta/issues/54) - PRs in review) + +* Protocol misc + - Preparing for Testnet Spork + - [Consensus Timing Changes]([url](https://flowfoundation.notion.site/Cruise-Control-headroom-for-speedups-46dc17e07ae14462b03341e4432a907d?pvs=4)) + + +**On Hold** +* Implement BFT mitigations to enable 20 permissionless ANs + +--- + +### **DeFi** \[Jerome] + +Cycle Objective(s): +- Resolving Circle's existing engineering improvements for USDC on Flow +- Cadence 1.0 DEX Prep - IncrementFi +- EVM partner onboarding +- Deliver Axelar bridge [PAUSED] + +**Done last sprint** + + + +**This sprint** + * JVM-SDK + * Review [Add missing Access API subscription endpoints to JVM SDK](https://github.com/onflow/flow-jvm-sdk/pull/58) + * Complete [Add missing Access API endpoints](https://github.com/onflow/flow-jvm-sdk/pull/63) + * Review signature and hash update PRs, [1](https://github.com/onflow/flow-jvm-sdk/pull/53) & [2](https://github.com/onflow/flow-jvm-sdk/pull/52) + * Merge: [Migrate SDK examples repo to improved project structure](https://github.com/onflow/flow-jvm-sdk/pull/62) + * [Update Cadence to 1.0](https://github.com/onflow/flow-jvm-sdk/issues/60) + * Partner support + * Install Ethereum Attestion Service (EAS) on Previewnet (Credora requirement) + +**On Hold** + +**Active Epics** + +- Establish Defi/Liquidity infrastructure for Cadence 1.0 update +- Ensure Flow has best-in-class on- and off-ramps for USDC liquidity across DeFi ecosystem +- Expand Flow DeFi ecosystem primitives and protocols + +--- + +### **User Experience** \[Greg] + +Cycle Objective(s): + +- Bring Cadence 1.0 to market as part of the Crescendo release to minimize customer impact and developer effort +- Bring EVM on Flow to Market as part of the Crescendo release to increase liquidity and bring top-tier developer platforms to our network +- Use the Crescendo Release grow Flow's developer base and network activity + +**Done last sprint** + + +**This sprint** +**Sprint goal focusing on: Flow Cross VM Bridge, FCL x Discovery Revamp, Crescendo Rewards** + +- wUSDC Swap UI (Flow Port) +- [wUSDC Contract](https://github.com/onflow/bridged-usdc) +- [EPIC] Crescendo Rewards Portal + - [FE](https://github.com/onflow/crescendo-rewards/issues/1 ) + - [BE](https://github.com/onflow/crescendo-rewards-be/issues/1) + - [SC](https://github.com/onflow/crescendo-rewards-sc/issues/7) +- [EPIC FCL WalletConnect + Discovery Improvements](https://github.com/onflow/fcl-js/issues/1872) +- [EPIC Solving Initialization/Storage Issues - Lost and Found FLIP and Port integration](https://github.com/onflow/flow-port/issues/292) +- [EPIC - EVM Bridge - bridge.flow.com](https://github.com/onflow/flow-bridge-app/issues/1) + +**On Hold** + +--- + +### **Wallet** \[Jeff] + +Cycle Objective(s): + +- Ensure there exists a wallet ecosystem supports FlowEVM + - Release version 2.2 of Flow Wallet which supports FlowEVM + - Support Authn / Authz / User Sign with Web3.js and WalletConnect + - Support FT and NFT management cross VMs + - FlowEVM onboarding and COA creation + - Ensure commitments from key EVM wallet providers to support FlowEVM + - Secure FlowEVM as an option in the network selector list for MetaMask. + - Reach out to Coinbase wallet for a commitment to support FlowEVM + - Ensure commitments from key EVM wallet providers to support FlowEVM + - Reach out to Privy for a commitment to support FlowEVM + - Reach out to Bastion for a commitment to support FlowEVM + - Ensure awareness for existing Cadence aware wallet (aside from Flow Wallet) to support FlowEVM + - Provide a design document outlining the steps existing Cadence aware wallets can take to support FlowEVM. + - Reach out to Blocto for a commitment to support FlowEVM + - Reach out to Shadow wallet for a commitment to support FlowEVM + - Reach out to Magic for a commitment to support FlowEVM + +- Promote safe, human readable transaction authorization on Flow + - Secure a partnership with Blockaid to integrate their transaction simulation and security platform with FlowEVM. + - Ensure the existing MetaMask Blockaid integration is compatible with FlowEVM. + +- Modernize and improve FCL Discovery + - Create a PRD and associated community bounty/grant for UI/UX improvements and analytics additions to FCL Discovery. + +**Done last sprint** + +**This sprint** + +- Continue & Ship Account Linking UI/UX and functionality +- Continue to best support Secure Enclave + - User migration from Extension (seed phrase) to mobile (secure enclave) wallet security + - Explaining differences between seed phrase / SE wallets + - Profile account recovery - one backup to a users multiple primary accounts + +**On Hold** + +- N/A + +**Active Epics** + +- TBD + +--- + +### **Infra - JP** +Cycle Objective(s): +- Migrate CloudFlare zones to new account +- Prepare for Crescendo TN spork +- Assist with EVM GW monitoring & preparation + +**Done last sprint** + + +**This Sprint** +- Continue Migrating CloudFlare zones +- Prepare EVM Gateway for TN Network Upgrade +- Prepare Infra & configuration for TN Network upgrade +- Assist with EVM Gateway Monitoring & Alerting + +--- + +### **Governance and Tokenomics** \[Kshitij] +Cycle Objective(s): Transaction fees on EVM, increasing transaction fees and inflation reduction plan. + +**Done last sprint** +- EN operator contract for lease +- Work with Dete on future fee on Flow (not be launched with Crescendo launch) + +**This sprint** +- Get the execution node live +- Continue supporting rewards platform team on Tokenomics related analysis +- Model stable state economics, throughput, fees and inflation +- Draft research doc that explains the vision +- Organize monthly GWG + +**On Hold** + + +**Active Epics** + +- N/A From fa96374a9e60d3e6f5a29df291ff11b30446f19a Mon Sep 17 00:00:00 2001 From: Leo Zhang Date: Wed, 14 Aug 2024 12:30:08 -0700 Subject: [PATCH 09/25] add testnet51 (#1497) --- sporks.json | 47 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/sporks.json b/sporks.json index 8935dab0c..f35485917 100644 --- a/sporks.json +++ b/sporks.json @@ -1262,9 +1262,48 @@ } }, "testnet": { + "testnet51": { + "id": 51, + "live": true, + "name": "Testnet51", + "sporkTime": "2024-08-14T15:00:00Z", + "rootHeight": "211176670", + "rootParentId": "c92e07e5d4fbb3a64e0091085a190a4a1119bfc628c71efe513e373dc0482f5a", + "rootStateCommitment": "c3af77992f253f4dcfeac808912ff68e6f10923aa3fc4541a2e39eb9786c9eb3", + "gitCommitHash": "eeac47931cd6837ec6e29c4c0480609238959ccd", + "stateArtefacts": { + "gcp": { + "rootCheckpointFile": "https://storage.googleapis.com/flow-genesis-bootstrap/testnet-51-execution/public-root-information/root.checkpoint", + "rootProtocolStateSnapshot": "https://storage.googleapis.com/flow-genesis-bootstrap/testnet-51/public-root-information/root-protocol-state-snapshot.json", + "rootProtocolStateSnapshotSignature": "https://storage.googleapis.com/flow-genesis-bootstrap/testnet-51/public-root-information/root-protocol-state-snapshot.json.asc", + "nodeInfo": "https://storage.googleapis.com/flow-genesis-bootstrap/testnet-51/public-root-information/node-infos.pub.json" + }, + "s3": { + "rootCheckpointFile": "", + "rootProtocolStateSnapshot": "", + "nodeInfo": "", + "executionStateBucket": "" + } + }, + "tags": { + "flow-go-tag": "v0.37.1", + "flow-dps-tag": "v0.37.1", + "cadence-tag": "v0.37.1", + "docker-tag": "v0.37.1" + }, + "accessNodes": [ + "access.devnet.nodes.onflow.org:9000" + ], + "seedNodes": [ + { + "address": "access-003.devnet51.nodes.onflow.org:3570", + "key": "b662102f4184fc1caeb2933cf87bba75cdd37758926584c0ce8a90549bb12ee0f9115111bbbb6acc2b889461208533369a91e8321eaf6bcb871a788ddd6bfbf7" + } + ] + }, "testnet50": { "id": 50, - "live": true, + "live": false, "name": "Testnet50", "sporkTime": "2024-05-20T08:00:00Z", "rootHeight": "185185854", @@ -1292,15 +1331,15 @@ "docker-tag": "v0.33.23-failure-mode-revert-patch" }, "accessNodes": [ - "access.devnet.nodes.onflow.org:9000" + "access-001.devnet50.nodes.onflow.org:9000" ], "seedNodes": [ { - "address": "access-003.devnet50.nodes.onflow.org:3570", + "address": "access-001.devnet50.nodes.onflow.org:3570", "key": "b662102f4184fc1caeb2933cf87bba75cdd37758926584c0ce8a90549bb12ee0f9115111bbbb6acc2b889461208533369a91e8321eaf6bcb871a788ddd6bfbf7" } ] - }, + }, "testnet49": { "id": 49, "live": false, From 306ad67be1fc79be77477936afc79b69f05ac0c2 Mon Sep 17 00:00:00 2001 From: sjonpaulbrown Date: Wed, 14 Aug 2024 17:04:21 -0600 Subject: [PATCH 10/25] Update infra section --- .../2024-08-16-Flow-Sprint-Kickoff.md | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 5b1dcf342..2d70efb81 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -266,18 +266,36 @@ Cycle Objective(s): ### **Infra - JP** Cycle Objective(s): -- Migrate CloudFlare zones to new account -- Prepare for Crescendo TN spork -- Assist with EVM GW monitoring & preparation +- Prepare flow.com, onflow.org & nodes.onflow.org domains for CloudFlare account migration +- Prepare to spork FF & DL nodes **Done last sprint** +**CloudFlare** +- [Migrate benchmark.onflow.org & benchnet.onflow.org to FF CloudFlare account](https://github.com/dapperlabs/terraform/pull/4319/files) + +**EVM Gateway** +- [Create infra for Devnet EVM GW](https://github.com/dapperlabs/terraform/pull/4321) +- [Create KMS keys for Devnet EVM GW](https://github.com/dapperlabs/terraform/pull/4320) +- [Fix DNS records for Devnet EVM GW](https://github.com/dapperlabs/terraform/pull/4324) +- [Create EVM GW Ansible config for Devnet](https://github.com/dapperlabs/dapper-flow-hosting/pull/1559) +- [Create Dashboard for EVM GW Monitoring](https://flowfoundation.grafana.net/d/fdtxeq977nif4d/evm-gateway?var-network=devnet0&var-lb=testnet&from=now-5m&to=now&timezone=browser) +- [Create Documentation for Monitoring & Access](https://www.notion.so/flowfoundation/EVM-Gateway-b5e363611abf4dfa963a471877cb5b92) +- Create Alerts for Monitoring EVM GW System usage + +**Spork** +- [Create Ansible Configuration for TN51 spork](https://github.com/dapperlabs/dapper-flow-hosting/pull/1558) +- [Create Infra for TN51 Spork](https://github.com/dapperlabs/dapper-flow-hosting/pull/1558) +- [Create Buckets for traces](https://github.com/dapperlabs/terraform/pull/4334) + +**Support** +- [Create DNS record for bridge.flow.com](https://github.com/dapperlabs/terraform/pull/4335/files) +- [Create KMS Key for USDC Contract](https://github.com/dapperlabs/terraform/pull/4326) **This Sprint** -- Continue Migrating CloudFlare zones -- Prepare EVM Gateway for TN Network Upgrade -- Prepare Infra & configuration for TN Network upgrade -- Assist with EVM Gateway Monitoring & Alerting +- Prepare CloudFlare zones for flow.com, onflow.org, and nodes.onflow.org migration +- Deploy MN EVM GW in preparation for MN spork +- Prepare Infra & configuration for MN Network upgrade --- From f67c14bb77383d284da7d23d8d050e35c1bad797 Mon Sep 17 00:00:00 2001 From: Greg Santos Date: Thu, 15 Aug 2024 14:35:02 -0700 Subject: [PATCH 11/25] 4D Update 2024-08-16 --- .../2024-08-16-Flow-Sprint-Kickoff.md | 87 ++++++++++++++++++- 1 file changed, 83 insertions(+), 4 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 2d70efb81..6aa666361 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -1,7 +1,9 @@ # Overview ### Team Wins 🎉 -- +- Testnet Faucet is working with Cadence 1.0 +- USDCflow - Contract Deployment, [Docs](https://cadence-lang.org/docs/1.0/cadence-migration-guide/usdc-migration), and Flow Port Swap + @@ -198,12 +200,89 @@ Cycle Objective(s): **Done last sprint** +**Crescendo Rewards** + +**Smart Contracts** +- Deployed Rewards Contract to Testnet +- Successfully staged and migrated + +**Backend** + +- [Update Cadence code for minted fields]https://github.com/onflow/crescendo-rewards-be/issues/62) +- [Remove accounts table](https://github.com/onflow/crescendo-rewards-be/issues/32) +- [Script/Tx config based on environment](https://github.com/onflow/crescendo-rewards-be/issues/67) +- [Setup last synced](https://github.com/onflow/crescendo-rewards-be/pull/69) +- [Setup environment configurations](https://github.com/onflow/crescendo-rewards-be/issues/74) +- [Setup testing](https://github.com/onflow/crescendo-rewards-be/issues/76) + +**Frontend** + +- [Create new partner card](https://github.com/onflow/crescendo-rewards/issues/78) +- [Refactor countdown card to use on various pages](https://github.com/onflow/crescendo-rewards/issues/80) +- [Add locking form](https://github.com/onflow/crescendo-rewards/pull/83) +- [Setup flow configuration](https://github.com/onflow/crescendo-rewards/issues/84) +- [Change nft selection on carousel change](https://github.com/onflow/crescendo-rewards/pull/86) +- [Add logic for locking to new or existing NFTs](https://github.com/onflow/crescendo-rewards/pull/87) +- [Use lock end date from chain for countdown card](https://github.com/onflow/crescendo-rewards/issues/88) +- [Add last synced to leaderboard](https://github.com/onflow/crescendo-rewards/issues/51) +- [Resolve and display NFT](https://github.com/onflow/crescendo-rewards/issues/92) +- [Handle NFT selection and deselection for locking form](https://github.com/onflow/crescendo-rewards/pull/94) +- [Add metrics to rewards page](https://github.com/onflow/crescendo-rewards/pull/96) +- [Refresh rewards page after lock](https://github.com/onflow/crescendo-rewards/issues/98) +- [Add not connected wallet state on lock page](https://github.com/onflow/crescendo-rewards/issues/100) +- [Add subheader](https://github.com/onflow/crescendo-rewards/issues/102) +- [Change partner grid layout to match new mock](https://github.com/onflow/crescendo-rewards/pull/104) + +**X-Chain Axelar Bridge** +- [Flow Bridge App Epic](https://github.com/onflow/flow-bridge-app/issues/1) + +**FCL Discovery** + +- [Custom-rendered QR codes](https://github.com/onflow/fcl-discovery/issues/212) +- [Use Chakra theming properly](https://github.com/onflow/fcl-discovery/issues/214) +- [Adjust Wallet Selection page to match designs](https://github.com/onflow/fcl-discovery/issues/215) +- [GetWallet page does not respond to screen size changes properly](https://github.com/onflow/fcl-discovery/issues/217) +- [walletUid appearing in /api/wallets result](https://github.com/onflow/fcl-discovery/issues/222) +- [Implement authn bypass for extension services](https://github.com/onflow/fcl-discovery/issues/226) +- [QR doesn't work in dark mode](https://github.com/onflow/fcl-discovery/issues/227) +- [Add loading spinner to handle QR delay](https://github.com/onflow/fcl-discovery/issues/228) +- [Mobile deeplinking](https://github.com/onflow/fcl-discovery/issues/232) +- [Responsive modal for mobile](https://github.com/onflow/fcl-discovery/issues/233) +- [Fix popup blocker issue with deeplinks on mobile](https://github.com/onflow/fcl-discovery/issues/235) +- [Cleanup install links](https://github.com/onflow/fcl-discovery/issues/240) + +**VS Code Extension** + +- [InternalEVM is not recognized & results in problems within EVM contract](https://github.com/onflow/vscode-cadence/issues/574) + +**Lost and Found FLIP** + +- FLIP Created (BD enagaing Flowty) +- Implementation work beginning for Flow Port + +**Faucet** + +- Updated for Testnet + +**Flow Port** -**This sprint** -**Sprint goal focusing on: Flow Cross VM Bridge, FCL x Discovery Revamp, Crescendo Rewards** +- wUSDC Flow Port Swap and Documentation + +**Docs** + +- [Add Internal Link Icons](https://github.com/onflow/docs/issues/805) + +**Flow CLI** + +- [Fix EVM contract in C1.0 Update Validator](https://github.com/onflow/flow-cli/issues/1693) + +**Smart Contracts** -- wUSDC Swap UI (Flow Port) - [wUSDC Contract](https://github.com/onflow/bridged-usdc) + +**This sprint** +**Sprint goal Flow Axelar Cross-chain Bridge / Documentation Updates, Crescendo Rewards, FCL Discovery and WC Integration, Lost and Found (Integration - Flow Port, Flow Wallet)** + - [EPIC] Crescendo Rewards Portal - [FE](https://github.com/onflow/crescendo-rewards/issues/1 ) - [BE](https://github.com/onflow/crescendo-rewards-be/issues/1) From 7bdad96fe8b2206f8937c7a673d941470b9c3f42 Mon Sep 17 00:00:00 2001 From: Jan Bernatik Date: Thu, 15 Aug 2024 15:53:11 -0700 Subject: [PATCH 12/25] Cadence wg update --- .../2024-08-16-Flow-Sprint-Kickoff.md | 91 +++++++++++++++++-- 1 file changed, 83 insertions(+), 8 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 2d70efb81..91016ce6d 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -1,8 +1,7 @@ # Overview ### Team Wins 🎉 -- - +- Crescendo live on Testnet! ### General updates @@ -75,24 +74,100 @@ Cycle Objective(s): **Done last sprint** +**Cadence Language** +- Approved [FLIP 282: Import of pre-Cadence 1.0 Programs](https://github.com/onflow/flips/pull/283) +- Contract update checker improvement: [Check updated contract name](https://github.com/onflow/cadence/pull/3530) + +**Cadence Execution** +- Utility + - [Add a command to print all system addresses](https://github.com/onflow/flow-go/pull/6339) + - [Add support for detecting differing accounts](https://github.com/onflow/flow-go/pull/6225) +- Atree improvement, enables simplifying of flow-go and Cadence codebase + - [Add utility function SlabID.Address()](https://github.com/onflow/atree/issues/431) +- CBOR improvement + - [Add functions to check availablility of CBOR tag numbers](https://github.com/onflow/atree/pull/434) + +**EVM Core** +- Bugfix (Axelar blocker) + - [Patch storage root value issue](https://github.com/onflow/flow-go/pull/6295) + - [Deprecate legacy self destruct in the storage](https://github.com/onflow/flow-go/pull/6289) +- Improvement + - [skip debug trace uploading step if bucket name is empty](https://github.com/onflow/flow-go/pull/6335) + - [patch evm debug tracer to collect results and reset internal state after each tx execution](https://github.com/onflow/flow-go/pull/6327) + - [Populate all fields for the genesis block](https://github.com/onflow/flow-go/pull/6325) + - [port missing tracing updates to previewnet](https://github.com/onflow/flow-go/pull/6324) + - [improve debug tracing](https://github.com/onflow/flow-go/pull/6299) + - [patch backoff block loading](https://github.com/onflow/flow-go/pull/6286) + - [code and doc clean up](https://github.com/onflow/flow-go/pull/6252) + +**EVM Gateway** +- Feature + - [Index only mode](https://github.com/onflow/flow-evm-gateway/pull/416) + - [Ensure indexing is idempotent](https://github.com/onflow/flow-evm-gateway/issues/400) +- Bugfix + - [eth_getLogs does not validate the topics length](https://github.com/onflow/flow-evm-gateway/issues/422) + - [Block tags are not supported for eth_getTransactionByBlockNumberAndIndex](https://github.com/onflow/flow-evm-gateway/issues/419) + - [Block tags are not supported in eth_getBlockTransactionCountByNumber](https://github.com/onflow/flow-evm-gateway/issues/418) + - [eth_getBlockByNumber() not responsive to 'earliest' flag](https://github.com/onflow/flow-evm-gateway/issues/371) +- Improvement + - [Derive storage address from chain id](https://github.com/onflow/flow-evm-gateway/pull/435) + - [Report API crashers](https://github.com/onflow/flow-evm-gateway/issues/384) + - [General improvements to the metrics](https://github.com/onflow/flow-evm-gateway/pull/424) + - [Add lock during transaction build](https://github.com/onflow/flow-evm-gateway/pull/421) + - [Fix error logging](https://github.com/onflow/flow-evm-gateway/pull/438) + - [Remove Genesis block patch introduced for PreviewNet ](https://github.com/onflow/flow-evm-gateway/pull/434) + - [Minor fixes](https://github.com/onflow/flow-evm-gateway/pull/431) +- Testing + - [E2E network test improvements](https://github.com/onflow/flow-evm-gateway/pull/436) + - [Add live network tests](https://github.com/onflow/flow-evm-gateway/pull/432) + +**Crescendo TN upgrade** +- State migration fixes & improvements + - Fixing capability migration (discovered during setting network addresses on migrationmainnet) + - [Report the stored path of the untyped-capability](https://github.com/onflow/flow-go/pull/6328) + - [Add capability stored path info to the report](https://github.com/onflow/cadence/pull/3524) + - [Improve storage path capability migration reporting](https://github.com/onflow/cadence/pull/3522) + - [Improve borrow type inferrence for storage path capabilities](https://github.com/onflow/cadence/pull/3520) + - [Infer missing borrow type for storage capabilities](https://github.com/onflow/cadence/pull/3519) + - [Improve storage capability migration](https://github.com/onflow/flow-go/pull/6322) + - [Avoid conversion from sema-type to StaticType in storage cap migration](https://github.com/onflow/cadence/pull/3517) + - [Improve storage capability migration](https://github.com/onflow/cadence/pull/3516) + - [Merge and commit changes after issuing cap cons](https://github.com/onflow/flow-go/pull/6315) + - [Report and skip storage caps with no borrow type](https://github.com/onflow/flow-go/pull/6312) + - [Fix migration of storage path capabilities](https://github.com/onflow/flow-go/pull/6306) + - [Set capability issue handler in capability value migration](https://github.com/onflow/flow-go/pull/6303) +- Dependency updates: [1](https://github.com/onflow/flow-cli/pull/1696), [2](https://github.com/onflow/flow-evm-gateway/pull/430), [3](https://github.com/onflow/flixkit-go/pull/74), [4](https://github.com/onflow/cadence-tools/pull/413), [5](https://github.com/onflow/flowkit/pull/69), [6](https://github.com/onflow/cadence-tools/pull/412), [7](https://github.com/onflow/flow-emulator/pull/728), [8](https://github.com/onflow/cadence-tools/pull/411), [9](https://github.com/onflow/flow-go-sdk/pull/726), [10](https://github.com/onflow/flow-go-sdk/pull/725), [11](https://github.com/onflow/flow-go/pull/6326), [12](https://github.com/onflow/flow-go/pull/6326), [13](https://github.com/onflow/flow-go-sdk/pull/724), [14](https://github.com/onflow/flow-go/pull/6317), [15](https://github.com/onflow/flow-go-sdk/pull/723), [16](https://github.com/onflow/flow-go-sdk/pull/720), [17](https://github.com/onflow/flow-emulator/pull/725), [18](https://github.com/onflow/cadence-tools/pull/410), [19](https://github.com/janezpodhostnik/flow-py-sdk/pull/62) +- infra/config: [1](https://github.com/dapperlabs/dapper-flow-hosting/pull/1562), [2](https://github.com/dapperlabs/dapper-flow-hosting/pull/1556), [3](https://github.com/dapperlabs/dapper-flow-hosting/pull/1554), [4](https://github.com/dapperlabs/dapper-flow-hosting/pull/1552), [5](https://github.com/onflow/flow-evm-gateway/pull/414), [6](https://github.com/dapperlabs/dapper-flow-hosting/pull/1551) +- publishing staged contracts report: [1](https://github.com/onflow/cadence/pull/3525), [2](https://github.com/onflow/cadence/pull/3510) + + **This sprint** - - Objective 1, KR4: Testnet Upgrade to Crescendo Release - - Continue: [Provide immutable settings for each CCF format](https://github.com/onflow/cadence/issues/3448) - - Investigate / Fix any security report incoming from bug bounty. - - Upgrade TN to Crescendo release + - Objective 1, KR5: Mainnet Upgrade to Crescendo Release + - Investigate and fix any high/critical severity issues reported on Crescendo on TN ([Crescendo launch on Mainnet tasklist](https://github.com/onflow/cadence/issues/2642)) + - [Create util command to check storage health of execution state](https://github.com/onflow/flow-go/issues/6350) + - Continue: [Provide immutable settings for each CCF format](https://github.com/onflow/cadence/issues/3448) + - Investigate / Fix any security report incoming from bug bounty. - Objective 2, KR 1: Update transaction fees weights for the execution operations on TN and MN - - Continue work on [Execution Effort Calibration](https://github.com/onflow/flow-go/issues/5598) + - Continue work on [Execution Effort Calibration](https://github.com/onflow/flow-go/issues/5598) - EVM - - Continue testing EVM GW stability + - Continue monitoring EVM GW stability + - Start work on [local state index](https://github.com/onflow/flow-evm-gateway/issues/322) - KROK - EVM Gateway benchmarking +- EVM Gateway + - continue work on [Metrics](https://github.com/onflow/flow-evm-gateway/issues/125) and [Benchmarking](https://github.com/onflow/flow-evm-gateway/issues/19) + +- Badger -> Pebble Investigation/POC + - Continue evaluation of [Protocol State Migration POC](https://github.com/onflow/flow-go/issues/6137) & schedule design discussion + **Completed OKRs** * Objective 1, KR1: Enable Developers and the Flow Foundation to simulate Cadence 1.0 Contract upgrades * All breaking released in a new CLI: v1.18.0-cadence-v1.0.0-preview.26 + * Objective 1, KR4: Testnet Upgrade to Crescendo Release * Objective 4, KR1: Execution node handles restart from spork root block reguardless of how many blocks it is behind * Completed refactoring of Ingestion engine to [prevent EN entering crash loop](https://github.com/onflow/flow-go/issues/5298) From 4d37d2b4e47684c75419069f17d83d5b445fc21d Mon Sep 17 00:00:00 2001 From: Jan Bernatik Date: Thu, 15 Aug 2024 15:55:38 -0700 Subject: [PATCH 13/25] typos --- .../2024-08-16-Flow-Sprint-Kickoff.md | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 91016ce6d..83bd632c2 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -82,16 +82,16 @@ Cycle Objective(s): - Utility - [Add a command to print all system addresses](https://github.com/onflow/flow-go/pull/6339) - [Add support for detecting differing accounts](https://github.com/onflow/flow-go/pull/6225) -- Atree improvement, enables simplifying of flow-go and Cadence codebase +- Atree improvement, enables simplifying of flow-go and Cadence codebase: - [Add utility function SlabID.Address()](https://github.com/onflow/atree/issues/431) -- CBOR improvement +- CBOR improvement: - [Add functions to check availablility of CBOR tag numbers](https://github.com/onflow/atree/pull/434) **EVM Core** -- Bugfix (Axelar blocker) +- Bugfixes (Axelar blockers): - [Patch storage root value issue](https://github.com/onflow/flow-go/pull/6295) - [Deprecate legacy self destruct in the storage](https://github.com/onflow/flow-go/pull/6289) -- Improvement +- Improvements: - [skip debug trace uploading step if bucket name is empty](https://github.com/onflow/flow-go/pull/6335) - [patch evm debug tracer to collect results and reset internal state after each tx execution](https://github.com/onflow/flow-go/pull/6327) - [Populate all fields for the genesis block](https://github.com/onflow/flow-go/pull/6325) @@ -101,15 +101,15 @@ Cycle Objective(s): - [code and doc clean up](https://github.com/onflow/flow-go/pull/6252) **EVM Gateway** -- Feature +- Features: - [Index only mode](https://github.com/onflow/flow-evm-gateway/pull/416) - [Ensure indexing is idempotent](https://github.com/onflow/flow-evm-gateway/issues/400) -- Bugfix +- Bugfixes: - [eth_getLogs does not validate the topics length](https://github.com/onflow/flow-evm-gateway/issues/422) - [Block tags are not supported for eth_getTransactionByBlockNumberAndIndex](https://github.com/onflow/flow-evm-gateway/issues/419) - [Block tags are not supported in eth_getBlockTransactionCountByNumber](https://github.com/onflow/flow-evm-gateway/issues/418) - [eth_getBlockByNumber() not responsive to 'earliest' flag](https://github.com/onflow/flow-evm-gateway/issues/371) -- Improvement +- Improvements: - [Derive storage address from chain id](https://github.com/onflow/flow-evm-gateway/pull/435) - [Report API crashers](https://github.com/onflow/flow-evm-gateway/issues/384) - [General improvements to the metrics](https://github.com/onflow/flow-evm-gateway/pull/424) @@ -117,13 +117,13 @@ Cycle Objective(s): - [Fix error logging](https://github.com/onflow/flow-evm-gateway/pull/438) - [Remove Genesis block patch introduced for PreviewNet ](https://github.com/onflow/flow-evm-gateway/pull/434) - [Minor fixes](https://github.com/onflow/flow-evm-gateway/pull/431) -- Testing +- Testing: - [E2E network test improvements](https://github.com/onflow/flow-evm-gateway/pull/436) - [Add live network tests](https://github.com/onflow/flow-evm-gateway/pull/432) **Crescendo TN upgrade** -- State migration fixes & improvements - - Fixing capability migration (discovered during setting network addresses on migrationmainnet) +- State migration fixes & improvements: + - Fixing capability migration (discovered during setting network addresses on migrationmainnet): - [Report the stored path of the untyped-capability](https://github.com/onflow/flow-go/pull/6328) - [Add capability stored path info to the report](https://github.com/onflow/cadence/pull/3524) - [Improve storage path capability migration reporting](https://github.com/onflow/cadence/pull/3522) From 5c2edcddbce5411af400a25a889b3a4ba092a645 Mon Sep 17 00:00:00 2001 From: Jan Bernatik Date: Thu, 15 Aug 2024 15:57:28 -0700 Subject: [PATCH 14/25] fix formatting --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 83bd632c2..b597f3828 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -143,13 +143,13 @@ Cycle Objective(s): **This sprint** - - Objective 1, KR5: Mainnet Upgrade to Crescendo Release +- Objective 1, KR5: Mainnet Upgrade to Crescendo Release - Investigate and fix any high/critical severity issues reported on Crescendo on TN ([Crescendo launch on Mainnet tasklist](https://github.com/onflow/cadence/issues/2642)) - [Create util command to check storage health of execution state](https://github.com/onflow/flow-go/issues/6350) - Continue: [Provide immutable settings for each CCF format](https://github.com/onflow/cadence/issues/3448) - Investigate / Fix any security report incoming from bug bounty. - - Objective 2, KR 1: Update transaction fees weights for the execution operations on TN and MN +- Objective 2, KR 1: Update transaction fees weights for the execution operations on TN and MN - Continue work on [Execution Effort Calibration](https://github.com/onflow/flow-go/issues/5598) - EVM From 52ed7185e7c088474d8ad0967ad5d2b325ed1f97 Mon Sep 17 00:00:00 2001 From: Vishal <1117327+vishalchangrani@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:33:56 -0700 Subject: [PATCH 15/25] Update 2024-08-16-Flow-Sprint-Kickoff.md --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index ecff7c196..837d09669 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -30,14 +30,12 @@ ## Incidents -### Mainnet -- Sev 4 - 07/18: Consensus nodes crashed intermittently due to OOM. [Slack thread](https://flow-foundation.slack.com/archives/CUU2KQL4A/p1721310960751829) +None (Sev [definition](https://www.notion.so/flowfoundation/Incident-Priorities-Severity-Levels-1-e811b352feff4928b69a7e99df724c6a)) ### Key Release Dates & Breaking Changes - Next Mainnet/Testnet network upgrade (spork): - - Testnet: Aug 14th 8:00 AM PT (3:00 PM UTC). Duration: 6 hours - Mainnet: Sept 4th **5:00 AM PT** (12:00 PM UTC). Duration: 6 hours --- From 6cf1f3b0ae9a01e73bb3a3e927480746fcb92d34 Mon Sep 17 00:00:00 2001 From: Vishal <1117327+vishalchangrani@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:35:20 -0700 Subject: [PATCH 16/25] Update 2024-08-16-Flow-Sprint-Kickoff.md --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 837d09669..c21b5b2bb 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -22,7 +22,7 @@ | Block Finalization | 99.9% | 100% | 0% | | Transaction Execution | 99.9% | 100% | 0% | | Block Sealing | 99.9% | 100% | 0% | -| Access API Liveness | 99.9% | 99.833% | 167% | +| Access API Liveness | 99.9% | 99.877% | 167% | [SLO dashboards](https://flowfoundation.grafana.net/d/hgW3l-m4k/slo-dashboard?orgId=1&from=now-2w&to=now) From 7ccc936d739ebb8c242447ed19e3ebe36f0cc37b Mon Sep 17 00:00:00 2001 From: Vishal <1117327+vishalchangrani@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:35:43 -0700 Subject: [PATCH 17/25] Update 2024-08-16-Flow-Sprint-Kickoff.md --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index c21b5b2bb..59554dc5e 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -22,7 +22,7 @@ | Block Finalization | 99.9% | 100% | 0% | | Transaction Execution | 99.9% | 100% | 0% | | Block Sealing | 99.9% | 100% | 0% | -| Access API Liveness | 99.9% | 99.877% | 167% | +| Access API Liveness | 99.9% | 99.877% | 123% | [SLO dashboards](https://flowfoundation.grafana.net/d/hgW3l-m4k/slo-dashboard?orgId=1&from=now-2w&to=now) From e2cc33b3deb808f385614028b4da82d38044e142 Mon Sep 17 00:00:00 2001 From: Peter Argue <89119817+peterargue@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:08:06 -0700 Subject: [PATCH 18/25] update data availability sprint 2024-08-15 --- .../2024-08-16-Flow-Sprint-Kickoff.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 59554dc5e..68d8f822a 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -193,6 +193,12 @@ Cycle Objective(s): **Done last Sprint:** +* Data Availability: + - Fixes for testnet after upgrade ([PR #6340](https://github.com/onflow/flow-go/pull/6340), [PR #6342](https://github.com/onflow/flow-go/pull/6342)) + - KROK Team + - Check version control during script execution ([PR #6134](https://github.com/onflow/flow-go/pull/6134)) + - Fix bug with `select` option in REST API ([PR #6300](https://github.com/onflow/flow-go/pull/6300)) + - Use indexed height as base when pruning execution data ([PR #6217](https://github.com/onflow/flow-go/pull/6217)) **This sprint** @@ -205,13 +211,13 @@ Cycle Objective(s): * Data Availability: - ProtocolDB pruning design - - Testing ChunkDataPack DB pruning PoC - KROK Team - - Add support for version beacon events to control script execution ([Issue #5789](https://github.com/onflow/flow-go/issues/5789) - In review, [Issue #5790](https://github.com/onflow/flow-go/issues/5790)) - - Add support pruning pebble exec data db ([Issue #6260](https://github.com/onflow/flow-go/issues/6260)) - - Add REST endpoints for getting account keys and balance ([Issue #6228](https://github.com/onflow/flow-go/issues/6228) - in review) - - Expand on payer balance checks ([Issue #6128](https://github.com/onflow/flow-go/issues/6128), [Issue #6129](https://github.com/onflow/flow-go/issues/6129), [Issue #6139](https://github.com/onflow/flow-go/issues/6139)) - - Start registers db pruning ([Issue #6066](https://github.com/onflow/flow-go/issues/6066), [Issue #6068](https://github.com/onflow/flow-go/issues/6068)) + - Add StopControl for access nodes ([Issue #5790](https://github.com/onflow/flow-go/issues/5790) - In review) + - Add support pruning pebble exec data db ([Issue #6260](https://github.com/onflow/flow-go/issues/6260) - In review) + - Expand on payer balance checks ([Issue #6128](https://github.com/onflow/flow-go/issues/6128) - Waiting to merge, [Issue #6129](https://github.com/onflow/flow-go/issues/6129) - In review, [Issue #6139](https://github.com/onflow/flow-go/issues/6139) - In review) + - Start registers db pruning ([Issue #6066](https://github.com/onflow/flow-go/issues/6066) - In review, [Issue #6068](https://github.com/onflow/flow-go/issues/6068)) + - Test pebble execution data db on testnet ([Issue #6357](https://github.com/onflow/flow-go/issues/6357)) + - Test execution data pruning on testnet ([Issue #6358](https://github.com/onflow/flow-go/issues/6358)) * Cryptography: - java-SDK: more tests on transaction signing and prepare for a release From 6fc4251f318eb62fe718afbeae076a237aad0fb5 Mon Sep 17 00:00:00 2001 From: Tom Haile Date: Fri, 16 Aug 2024 11:47:18 -0500 Subject: [PATCH 19/25] Update 2024-08-16-Flow-Sprint-Kickoff.md --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 1 + 1 file changed, 1 insertion(+) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 68d8f822a..9730a2092 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -277,6 +277,7 @@ Cycle Objective(s): - Bring Cadence 1.0 to market as part of the Crescendo release to minimize customer impact and developer effort - Bring EVM on Flow to Market as part of the Crescendo release to increase liquidity and bring top-tier developer platforms to our network - Use the Crescendo Release grow Flow's developer base and network activity +- Update developer docs to remove previewn net and added new documentation for EVM data indexers **Done last sprint** From aa89717c982c7999b6c21521d5aaabe92e2628c6 Mon Sep 17 00:00:00 2001 From: j pimmel Date: Fri, 16 Aug 2024 09:47:56 -0700 Subject: [PATCH 20/25] Added protocol and DeFi.updates --- .../2024-08-16-Flow-Sprint-Kickoff.md | 66 +++++++++++-------- 1 file changed, 40 insertions(+), 26 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 68d8f822a..0c357d5ab 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -5,6 +5,7 @@ - Crescendo live on Testnet! - Testnet Faucet is working with Cadence 1.0 - USDCflow - Contract Deployment, [Docs](https://cadence-lang.org/docs/1.0/cadence-migration-guide/usdc-migration), and Flow Port Swap +- Released completed Cadence 1.0 upgraded SDK to Maven ### General updates @@ -192,6 +193,18 @@ Cycle Objective(s): * Continue design and implementation of Sporkless Epoch Fallback Recovery solution [DONE] **Done last Sprint:** +* EFM Recovery + - [DKG smart contract updates](https://github.com/onflow/flow-core-contracts/pull/441) (on hold, awaiting input from S.C. team) + - [Update EpochLookup component: Process EpochExtended protocol events](https://github.com/onflow/flow-go/pull/6247) + - Started [EFM integration test part 2](https://github.com/onflow/flow-go/issues/6164) + - Started [EFM Recovery transaction PR](https://github.com/onflow/flow-core-contracts/pull/440) + - Refactoring and TODOs for EFM[1](https://github.com/onflow/flow-go/pull/6323), [2](https://github.com/onflow/flow-go/pull/6318) + - [Added telemetry for KV store and EFM](https://github.com/onflow/flow-go/pull/6291) + - [Extended KV storage to store EpochExtensionViewCount](https://github.com/onflow/flow-go/pull/6272) + - [Implemented EjectIdentity service event and integrated in the protocol state](https://github.com/onflow/flow-go/pull/6296) + - [Implemented protocol side changes on how EpochCommit and IndexMap is being used](https://github.com/onflow/flow-go/pull/6338) + - Reviewing Pebble PR + - Testnet spork prep * Data Availability: - Fixes for testnet after upgrade ([PR #6340](https://github.com/onflow/flow-go/pull/6340), [PR #6342](https://github.com/onflow/flow-go/pull/6342)) @@ -199,15 +212,24 @@ Cycle Objective(s): - Check version control during script execution ([PR #6134](https://github.com/onflow/flow-go/pull/6134)) - Fix bug with `select` option in REST API ([PR #6300](https://github.com/onflow/flow-go/pull/6300)) - Use indexed height as base when pruning execution data ([PR #6217](https://github.com/onflow/flow-go/pull/6217)) +* Cryptography: + - JVM-SDK + - [Finished refactoring ECDSA signatures + added tests](https://github.com/onflow/flow-jvm-sdk/pull/71) + - [Extended transaction signature tests and examples PR](https://github.com/onflow/flow-jvm-sdk/pull/77) + - State proofs: discussions and VC constructions research + - Update the crypto module with a new BLST release + - Secure enclave blog review +* Rosetta: + - Released completed Cadence 1.0 upgraded SDK to Maven + **This sprint** * EFM Recovery - - EFM Recovery Process (cont.) - - [Integration Test](https://github.com/onflow/flow-go/issues/6164) - test failure cases - - [Smart contract changes](https://github.com/onflow/flow-core-contracts/pull/440) - - [DKG Data Model](https://github.com/onflow/flow-go/issues/6214) - - Modifying data model for DKG outputs to support DKG committee != consenssu committee + - Finish Pebble PR review + - DKG smart contract updates (cont.) + - Address feedback and merge [EFM Recovery transaction](https://github.com/onflow/flow-core-contracts/pull/440) PR + - Finish [EFM integration test part 2](https://github.com/onflow/flow-go/issues/6164) * Data Availability: - ProtocolDB pruning design @@ -220,13 +242,8 @@ Cycle Objective(s): - Test execution data pruning on testnet ([Issue #6358](https://github.com/onflow/flow-go/issues/6358)) * Cryptography: - - java-SDK: more tests on transaction signing and prepare for a release - - crypto module: integrate the new BLST release - - back to SPoCK aggregation if possible: contine with BLS aggregation security proofs - -* Rosetta: - - KROK: - - Rosetta Cadence updates for Crescendo ([Issue #52](https://github.com/onflow/rosetta/issues/52), [Issue #54](https://github.com/onflow/rosetta/issues/54) - PRs in review) + - State proofs: performance estimations of some VC/set accumulator constructions + - Pick up SPoCK aggregation related reads if time permits * Protocol misc - Preparing for Testnet Spork @@ -241,25 +258,22 @@ Cycle Objective(s): ### **DeFi** \[Jerome] Cycle Objective(s): -- Resolving Circle's existing engineering improvements for USDC on Flow -- Cadence 1.0 DEX Prep - IncrementFi - EVM partner onboarding -- Deliver Axelar bridge [PAUSED] +- Deliver Axelar bridge **Done last sprint** - - + * JVM-SDK + * Addressed last loose ends required to release SDK + * Updated deBridge integration for testnet + * Axelar + * Unblocked compatibility test failures needing resolution by Axelar + * Provide guidance and support to build binaries for Access Node and EVM GW for permissionless validator node operators + * ANKR + * Addressed several EVM GW issues blocking them **This sprint** - * JVM-SDK - * Review [Add missing Access API subscription endpoints to JVM SDK](https://github.com/onflow/flow-jvm-sdk/pull/58) - * Complete [Add missing Access API endpoints](https://github.com/onflow/flow-jvm-sdk/pull/63) - * Review signature and hash update PRs, [1](https://github.com/onflow/flow-jvm-sdk/pull/53) & [2](https://github.com/onflow/flow-jvm-sdk/pull/52) - * Merge: [Migrate SDK examples repo to improved project structure](https://github.com/onflow/flow-jvm-sdk/pull/62) - * [Update Cadence to 1.0](https://github.com/onflow/flow-jvm-sdk/issues/60) - * Partner support - * Install Ethereum Attestion Service (EAS) on Previewnet (Credora requirement) - + * Continue supporting Axelar, Ankr, Coinmetrics + **On Hold** **Active Epics** From c1b9c5386a6916b1667eb2125abe8fa0fa64a082 Mon Sep 17 00:00:00 2001 From: j pimmel Date: Fri, 16 Aug 2024 09:49:43 -0700 Subject: [PATCH 21/25] Minor update --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index e8139a8f9..c637f9654 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -5,7 +5,7 @@ - Crescendo live on Testnet! - Testnet Faucet is working with Cadence 1.0 - USDCflow - Contract Deployment, [Docs](https://cadence-lang.org/docs/1.0/cadence-migration-guide/usdc-migration), and Flow Port Swap -- Released completed Cadence 1.0 upgraded SDK to Maven +- Released completed Cadence 1.0 upgraded JVM-SDK to Maven ### General updates From 43dfbd823a71b2c492645728df40fc47670196b0 Mon Sep 17 00:00:00 2001 From: Kshitij Chaudhary <78124453+KshitijChaudhary666@users.noreply.github.com> Date: Fri, 16 Aug 2024 22:21:26 +0530 Subject: [PATCH 22/25] Update 2024-08-16-Flow-Sprint-Kickoff.md FLIPs tracker --- .../2024-08-16-Flow-Sprint-Kickoff.md | 33 ++++++++++++++----- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 9730a2092..458948656 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -44,18 +44,33 @@ None | | Application | Cadence | Governance | Protocol | Total | |:------------------------|:------:|:-------------:|:-----------------:|:-----------------:|:-----------------:| -| Drafted | 8 | 8 (-1) | 0 | 7 | **23** (-1) | -| Proposed | 1 | 2 | 3 (+1) | 0 | **6** (+1) | -| Accepted | 2 | 1 | 2 | 2 (+1) | **7** (+1) | +| Drafted | 8 | 7 (-1) | 0 | 7 | **22** (-1) | +| Proposed | 1 | 2 | 3 | 0 | **6** | +| Accepted | 2 | 1 | 2 | 2 | **7** | | Rejected | 0 | 0 | 1 | 0 | **1** | -| Implemented | 3 | 24 (+2) | 1 | 0 | **28** | -| Released | 4 | 0 | 4 (+1) | 6 | **14** (+1) | -| Total | **18** (+1) | **35** (+1) | **11** (+1) | **15** | **79** (+3) | +| Implemented | 3 | 25 (+1) | 1 | 0 | **28** | +| Released | 4 | 0 | 4 | 6 | **14** | +| Total | **18** | **35** | **11** | **15** | **79** | **Updates** -* Crescendo Network Upgrade - proposed -* Changing import statement semantics - accepted -* Import of pre-Cadence 1.0 Programs - proposed and accepted +Import of pre-Cadence 1.0 Programs (Bastian) was implemented + +**FLIPs that need to be reassigned immediately:** + +**- Application** + - Interaction Templates (Paul Gebheim) + - Application - Pool-Based DEX Swap Standard (Satyam A.) + +**- Cadence** + - Type Removal In Contract Updates (Daniel Sainati) + - Optional References to Indexed Accesses (Daniel Sainati) + - Mutability Restrictions (Daniel Sainati) + - Cadence Storage API Improvements (Daniel Sainati) + - Reference Creation Semantics (Daniel Sainati) + - View Functions (Daniel Sainati) + - Entitlements (Daniel Sainati) + - New behavior for attachments with entitlements (Daniel Sainati) + # Working Group Updates From 389a9795bd8b6fedc751985e74d28602f2f07561 Mon Sep 17 00:00:00 2001 From: Kshitij Chaudhary <78124453+KshitijChaudhary666@users.noreply.github.com> Date: Fri, 16 Aug 2024 22:31:52 +0530 Subject: [PATCH 23/25] Update 2024-08-16-Flow-Sprint-Kickoff.md GWG updates --- .../2024-08-16-Flow-Sprint-Kickoff.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 7c521585e..ed627f2b0 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -489,18 +489,19 @@ Cycle Objective(s): --- ### **Governance and Tokenomics** \[Kshitij] -Cycle Objective(s): Transaction fees on EVM, increasing transaction fees and inflation reduction plan. +Cycle Objective(s): Vision for long-term tokenomics and dynamic fees on Flow, launch Flow rewards platform **Done last sprint** -- EN operator contract for lease -- Work with Dete on future fee on Flow (not be launched with Crescendo launch) +- Worked with Dete on future fees on Flow (not be launched with Crescendo launch) - txn fee, storage fee, other governance topics - [see notes](https://www.notion.so/flowfoundation/Dynamic-Transaction-Fees-on-Flow-fa7e7115e43a41a99ac9ca942dabcaf2) +- Driving Flow rewards product w/ coordination amongst DeFi, engg, product, marketing, design, etc. **This sprint** -- Get the execution node live -- Continue supporting rewards platform team on Tokenomics related analysis -- Model stable state economics, throughput, fees and inflation -- Draft research doc that explains the vision -- Organize monthly GWG +- Finish contract audit and make recommended changes to the lock/unlock contract +- Deploy lock and distribution contract on mainnet; FE on rewards.flow.com +- Design and model yield (APY) and/or monthly "boost" - see draft [yield schedule](https://docs.google.com/spreadsheets/d/1aE-Q0fLx-tLdeB7xf1JduCE0nFXfuemJ2jWove4SCJE/edit?gid=0#gid=0) +- Design tokenomics of hotdogs (point system) and raffles +- Drive GTM - announcement and content +- Continue working with Dete on stable state tokenomics **On Hold** From 16a349e5c32de9f098b87473326e5b28aa8840b2 Mon Sep 17 00:00:00 2001 From: Kshitij Chaudhary <78124453+KshitijChaudhary666@users.noreply.github.com> Date: Fri, 16 Aug 2024 22:38:40 +0530 Subject: [PATCH 24/25] Update 2024-08-16-Flow-Sprint-Kickoff.md adding to gwg updates --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 1 + 1 file changed, 1 insertion(+) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index ed627f2b0..5ce514870 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -496,6 +496,7 @@ Cycle Objective(s): Vision for long-term tokenomics and dynamic fees on Flow, la - Driving Flow rewards product w/ coordination amongst DeFi, engg, product, marketing, design, etc. **This sprint** +Rewards platform tracker [link](https://github.com/orgs/onflow/projects/65/views/1) - Finish contract audit and make recommended changes to the lock/unlock contract - Deploy lock and distribution contract on mainnet; FE on rewards.flow.com - Design and model yield (APY) and/or monthly "boost" - see draft [yield schedule](https://docs.google.com/spreadsheets/d/1aE-Q0fLx-tLdeB7xf1JduCE0nFXfuemJ2jWove4SCJE/edit?gid=0#gid=0) From 93bf60ad33c8899c2f00c14c2148fbfa1efe159b Mon Sep 17 00:00:00 2001 From: Kshitij Chaudhary <78124453+KshitijChaudhary666@users.noreply.github.com> Date: Fri, 16 Aug 2024 22:39:18 +0530 Subject: [PATCH 25/25] Update 2024-08-16-Flow-Sprint-Kickoff.md updating gwg --- agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md | 1 + 1 file changed, 1 insertion(+) diff --git a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md index 5ce514870..a5894a527 100644 --- a/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md +++ b/agendas/2024/sprint-kickoff/2024-08-16-Flow-Sprint-Kickoff.md @@ -496,6 +496,7 @@ Cycle Objective(s): Vision for long-term tokenomics and dynamic fees on Flow, la - Driving Flow rewards product w/ coordination amongst DeFi, engg, product, marketing, design, etc. **This sprint** + Rewards platform tracker [link](https://github.com/orgs/onflow/projects/65/views/1) - Finish contract audit and make recommended changes to the lock/unlock contract - Deploy lock and distribution contract on mainnet; FE on rewards.flow.com