Skip to content

Commit 03e01f4

Browse files
authored
Merge branch 'main' into contract-service-block-streams
2 parents c002986 + 6d0a48d commit 03e01f4

32 files changed

Lines changed: 802 additions & 621 deletions

.github/workflows/send-email.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
egress-policy: audit
2828

2929
- name: Send mail
30-
uses: step-security/action-send-mail@a995831af980a0a14953f75efec85509f5315e25 # v3.12.0
30+
uses: step-security/action-send-mail@f9e512c47357357965cea1dd9ed04fef3cb835de # v6.0.0
3131
with:
3232
server_address: smtp.gmail.com
3333
server_port: 465

.github/workflows/update-draft-hips.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Create Script
4646
run: |
4747
mkdir -p _data
48-
cat << 'EOF' > fetch-draft-hips.js
48+
cat << \'EOF\' > fetch-draft-hips.js
4949
const https = require('https');
5050
const fs = require('fs');
5151
@@ -88,6 +88,7 @@ jobs:
8888
edges {
8989
node {
9090
path
91+
changeType
9192
additions
9293
deletions
9394
}
@@ -107,6 +108,12 @@ jobs:
107108
108109
if (result.errors) {
109110
console.error('GraphQL errors:', result.errors);
111+
process.exit(1);
112+
}
113+
114+
// Check if data and the expected path to nodes exist
115+
if (!result.data || !result.data.repository || !result.data.repository.pullRequests || !result.data.repository.pullRequests.nodes) {
116+
console.error('Unexpected GraphQL response structure:', result);
110117
process.exit(1);
111118
}
112119
@@ -118,21 +125,31 @@ jobs:
118125
}
119126
120127
// Run the main function
121-
getAllPRs().then(prs => {
122-
// Ensure we're completely replacing the file by writing fresh data
123-
// If the file exists, it will be overwritten entirely
128+
getAllPRs().then(allPRs => {
129+
const draftHIPPRs = allPRs.filter(pr => {
130+
if (!pr.files || !pr.files.edges) {
131+
return false;
132+
}
133+
const hipFiles = pr.files.edges.filter(edge => {
134+
const fileNode = edge.node;
135+
const isNewHIPFile = /^HIP\\/hip-[a-zA-Z0-9-]+\\.md$/.test(fileNode.path); // New regex
136+
return fileNode.changeType === 'ADDED' && isNewHIPFile;
137+
}).map(edge => edge.node);
138+
139+
return hipFiles.length > 0;
140+
});
141+
124142
const outputPath = '_data/draft_hips.json';
125143
126-
// Remove the file if it exists (optional, as writeFileSync will overwrite it anyway)
127144
if (fs.existsSync(outputPath)) {
128145
console.log(`Removing existing file: ${outputPath}`);
129146
fs.unlinkSync(outputPath);
130147
}
131148
132-
console.log(`Writing fresh data to: ${outputPath}`);
133-
fs.writeFileSync(outputPath, JSON.stringify(prs, null, 2));
149+
console.log(`Writing ${draftHIPPRs.length} filtered PRs to: ${outputPath}`);
150+
fs.writeFileSync(outputPath, JSON.stringify(draftHIPPRs, null, 2));
134151
}).catch(error => {
135-
console.error('Failed to fetch PRs:', error);
152+
console.error('Failed to fetch and filter PRs:', error);
136153
process.exit(1);
137154
});
138155
EOF

HIP/hip-1.md

Lines changed: 70 additions & 58 deletions
Large diffs are not rendered by default.

HIP/hip-1028.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ author: Mustafa Uzun <mustafa.uzun@limechain.tech>, Luke Lee <luke.lee@swirldsla
55
working-group: Valentin Valkanov <valentin.valkanov@limechain.tech>, David Bakin <david.bakin@swirldslabs.com>
66
type: Standards Track
77
category: Service
8-
needs-council-approval: Yes
9-
needs-hiero-review: Yes
8+
needs-hedera-review: Yes
9+
needs-hiero-approval: Yes
1010
status: Review
1111
last-call-date-time: 2025-05-07T07:00:00Z
1212
created: 2024-08-15

HIP/hip-1037.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ author: Joseph Sinclair <@jsync-swirlds>
55
requested-by: Richard Bair <@rbair>
66
type: Standards Track
77
category: Service
8-
needs-council-approval: Yes
9-
needs-hiero-review: Yes
8+
needs-hedera-review: Yes
9+
needs-hiero-approval: Yes
1010
status: Accepted
1111
created: 2024-08-09
1212
discussions-to: https://github.com/hiero-ledger/hiero-improvement-proposals/discussions/1037

HIP/hip-1046.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ working-group: Mike Cave <mike@hedera.com>, Alex Popowycz <a@hedera.com>
66
requested-by: Hedera
77
type: Standards Track
88
category: Core
9-
needs-council-approval: Yes
10-
needs-hiero-review: Yes
9+
needs-hedera-review: Yes
10+
needs-hiero-approval: Yes
1111
discussions-to: https://github.com/hiero-ledger/hiero-improvement-proposals/discussions/1059
1212
status: Accepted
1313
last-call-date-time: 2024-10-29T07:00:00Z

HIP/hip-1049.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: Michael Heinrichs <michael@hashgraph.com>
55
requested-by: Hashgraph
66
type: Standards Track
77
category: Service
8-
needs-tsc-approval: Yes
8+
needs-council-approval: Yes
99
status: Accepted
1010
last-call-date-time: 2024-11-05T07:00:00Z
1111
created: 2024-09-19

HIP/hip-1064.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ working-group: Leemon Baird (@lbaird), Richard Bair <@rbair23>, Michael Tinker <
66
requested-by: Hashgraph
77
type: Standards Track
88
category: Core
9-
needs-council-approval: Yes
10-
needs-hiero-review: Yes
9+
needs-hedera-review: Yes
10+
needs-hiero-approval: Yes
1111
status: Accepted
1212
last-call-date-time: 2024-12-11T07:00:00Z
1313
created: 2024-10-17

HIP/hip-1081.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ working-group: >-
1313
requested-by: Hiero Consensus Node Operators, Cosmic Wire, Limechain
1414
type: Standards Track
1515
category: Service, Mirror, Block
16-
needs-hiero-review: Yes
17-
needs-hedera-approval: Yes
16+
needs-hiero-approval: Yes
17+
needs-hedera-review: Yes
18+
hedera-review-date:
19+
hedera-acceptance-decision:
1820
status: Last Call
1921
last-call-date-time: 2024-07-28T07:00:00Z
2022
created: 2024-05-28

HIP/hip-1086.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ last-call-date-time: 2025-04-08T07:00:00Z
1414
created: 2024-11-20
1515
discussions-to: https://github.com/hashgraph/hedera-improvement-proposal/discussions/1085
1616
hedera-reviewed-date: 2025-03-18
17-
hedera-approval-status: Approved
18-
updated: 2025-06-15
1917
requires: 1084
2018
---
2119

0 commit comments

Comments
 (0)