Skip to content

Commit 5139d90

Browse files
authored
Merge branch 'main' into 3814_to-field-is-not-null-eth-getBlockReceipts
Signed-off-by: Michał Walczak <[email protected]>
2 parents 2e996f4 + 27bcc1c commit 5139d90

File tree

96 files changed

+14405
-5171
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+14405
-5171
lines changed

.github/workflows/acceptance-workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ on:
3838
description: 'Codecov upload token'
3939
required: true
4040

41+
permissions:
42+
contents: read
43+
4144
jobs:
4245
acceptance-workflow:
4346
runs-on: hiero-smart-contracts-linux-large

.github/workflows/gh-pages-sync.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defaults:
1111
shell: bash
1212

1313
permissions:
14-
contents: write
14+
contents: read
1515

1616
jobs:
1717
sync:
@@ -32,6 +32,18 @@ jobs:
3232
fetch-depth: "0"
3333
token: ${{ secrets.GH_ACCESS_TOKEN_HG }}
3434

35+
- name: Import GPG Key
36+
id: gpg_importer
37+
uses: step-security/ghaction-import-gpg@a7c87df2279f2bf2e69ba8289dfbf35fe05a4e08 # v1.0.0
38+
with:
39+
git_commit_gpgsign: true
40+
git_committer_email: ${{ vars.GIT_USER_EMAIL }}
41+
git_committer_name: ${{ vars.GIT_USER_NAME }}
42+
git_tag_gpgsign: true
43+
git_user_signingkey: true
44+
gpg_private_key: ${{ secrets.GPG_KEY_CONTENTS }}
45+
passphrase: ${{ secrets.GPG_KEY_PASSPHRASE }}
46+
3547
- name: Add Remote
3648
run: git remote add HIERO https://github.com/hiero-ledger/hiero-json-rpc-relay.git
3749

.github/workflows/release-automation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
uses: step-security/ghaction-import-gpg@a7c87df2279f2bf2e69ba8289dfbf35fe05a4e08 # v1.0.0
6363
with:
6464
git_commit_gpgsign: true
65+
git_committer_email: ${{ vars.GIT_USER_EMAIL }}
66+
git_committer_name: ${{ vars.GIT_USER_NAME }}
6567
git_tag_gpgsign: true
6668
git_user_signingkey: true
6769
gpg_private_key: ${{ secrets.GPG_KEY_CONTENTS }}

MAINTAINERS.md

Lines changed: 10 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ Maintainers are assigned the following scopes in this repository:
1414

1515
<!-- Please keep this sorted alphabetically by github -->
1616

17-
| Name | GitHub ID | Scope | LFID | Discord ID | Email | Company Affiliation |
18-
|----- | --------------- | ----- | ---- | ---------- | ----- | ------------------- |
19-
| | Ferparishuertas | | | | | |
20-
| | Nana-EC | | | | | |
21-
| | acuarica | | | | | |
22-
| | konstantinabl | | | | | |
23-
| | quiet-node | | | | | |
24-
| | simzzz | | | | | |
25-
| | natanasow | | | | | |
17+
| Name | GitHub ID | Scope | LFID | Discord ID | Email | Company Affiliation |
18+
|----------------------- | --------------- | ---------- | ---- | ---------- | ----- | ------------------- |
19+
| Fernando Paris | Ferparishuertas | Maintainer | | | | Hashgraph |
20+
| Nana Essilfie-Conduah | Nana-EC | Maintainer | | | | Hashgraph |
21+
| Luis Mastrangelo | acuarica | Maintainer | | | | Hashgraph |
22+
| Konstantina Blazhukova | konstantinabl | Maintainer | | | | LimeChain |
23+
| Logan Nguyen | quiet-node | Maintainer | | | | Hashgraph |
24+
| Simeon Nakov | simzzz | Maintainer | | | | LimeChain |
25+
| Nikolay Atanasow | natanasow | Maintainer | | | | LimeChain |
2626

2727
## Emeritus Maintainers
2828

@@ -32,78 +32,4 @@ Maintainers are assigned the following scopes in this repository:
3232

3333
## The Duties of a Maintainer
3434

35-
Maintainers are expected to perform the following duties for this repository. The duties are listed in more or less priority order:
36-
37-
- Review, respond, and act on any security vulnerabilities reported against the repository.
38-
- Review, provide feedback on, and merge or reject GitHub Pull Requests from
39-
Contributors.
40-
- Review, triage, comment on, and close GitHub Issues
41-
submitted by Contributors.
42-
- When appropriate, lead/facilitate architectural discussions in the community.
43-
- When appropriate, lead/facilitate the creation of a product roadmap.
44-
- Create, clarify, and label issues to be worked on by Contributors.
45-
- Ensure that there is a well defined (and ideally automated) product test and
46-
release pipeline, including the publication of release artifacts.
47-
- When appropriate, execute the product release process.
48-
- Maintain the repository CONTRIBUTING.md file and getting started documents to
49-
give guidance and encouragement to those wanting to contribute to the product, and those wanting to become maintainers.
50-
- Contribute to the product via GitHub Pull Requests.
51-
- Monitor requests from the LF Decentralized Trust Technical Advisory Council about the
52-
contents and management of LFDT repositories, such as branch handling,
53-
required files in repositories and so on.
54-
- Contribute to the LFDT Project's Quarterly Report.
55-
56-
## Becoming a Maintainer
57-
58-
This community welcomes contributions. Interested contributors are encouraged to
59-
progress to become maintainers. To become a maintainer the following steps
60-
occur, roughly in order.
61-
62-
- The proposed maintainer establishes their reputation in the community,
63-
including authoring five (5) significant merged pull requests, and expresses
64-
an interest in becoming a maintainer for the repository.
65-
- A PR is created to update this file to add the proposed maintainer to the list of active maintainers.
66-
- The PR is authored by an existing maintainer or has a comment on the PR from an existing maintainer supporting the proposal.
67-
- The PR is authored by the proposed maintainer or has a comment on the PR from the proposed maintainer confirming their interest in being a maintainer.
68-
- The PR or comment from the proposed maintainer must include their
69-
willingness to be a long-term (more than 6 month) maintainer.
70-
- Once the PR and necessary comments have been received, an approval timeframe begins.
71-
- The PR **MUST** be communicated on all appropriate communication channels, including relevant community calls, chat channels and mailing lists. Comments of support from the community are welcome.
72-
- The PR is merged and the proposed maintainer becomes a maintainer if either:
73-
- Two weeks have passed since at least three (3) Maintainer PR approvals have been recorded, OR
74-
- An absolute majority of maintainers have approved the PR.
75-
- If the PR does not get the requisite PR approvals, it may be closed.
76-
- Once the add maintainer PR has been merged, any necessary updates to the GitHub Teams are made.
77-
78-
## Removing Maintainers
79-
80-
Being a maintainer is not a status symbol or a title to be carried
81-
indefinitely. It will occasionally be necessary and appropriate to move a
82-
maintainer to emeritus status. This can occur in the following situations:
83-
84-
- Resignation of a maintainer.
85-
- Violation of the Code of Conduct warranting removal.
86-
- Inactivity.
87-
- A general measure of inactivity will be no commits or code review comments
88-
for one reporting quarter. This will not be strictly enforced if
89-
the maintainer expresses a reasonable intent to continue contributing.
90-
- Reasonable exceptions to inactivity will be granted for known long term
91-
leave such as parental leave and medical leave.
92-
- Other circumstances at the discretion of the other Maintainers.
93-
94-
The process to move a maintainer from active to emeritus status is comparable to the process for adding a maintainer, outlined above. In the case of voluntary
95-
resignation, the Pull Request can be merged following a maintainer PR approval. If the removal is for any other reason, the following steps **SHOULD** be followed:
96-
97-
- A PR is created to update this file to move the maintainer to the list of emeritus maintainers.
98-
- The PR is authored by, or has a comment supporting the proposal from, an existing maintainer or a member of the project's Technical Steering Commitee (TSC).
99-
- Once the PR and necessary comments have been received, the approval timeframe begins.
100-
- The PR **MAY** be communicated on appropriate communication channels, including relevant community calls, chat channels and mailing lists.
101-
- The PR is merged and the maintainer transitions to maintainer emeritus if:
102-
- The PR is approved by the maintainer to be transitioned, OR
103-
- Two weeks have passed since at least three (3) Maintainer PR approvals have been recorded, OR
104-
- An absolute majority of maintainers have approved the PR.
105-
- If the PR does not get the requisite PR approvals, it may be closed.
106-
107-
Returning to active status from emeritus status uses the same steps as adding a
108-
new maintainer. Note that the emeritus maintainer already has the 5 required
109-
significant changes as there is no contribution time horizon for those.
35+
Maintainers are expected to perform duties in alignment with **[Hiero-Ledger's defined maintainer guidelines](https://github.com/hiero-ledger/governance/blob/main/roles-and-groups.md#maintainers).**

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ Note: Read more about `DEV_MODE` which provides optimal local and developer test
8080

8181
The following table highlights some initial configuration values to consider
8282

83-
| Config | Default | Description |
84-
| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85-
| `CHAIN_ID` | `0x12a` | The network chain id. Local and previewnet envs should use `0x12a` (298). Previewnet, Testnet and Mainnet should use `0x129` (297), `0x128` (296) and `0x127` (295) respectively |
86-
| `HEDERA_NETWORK` | `` | Which network to connect to. Automatically populates the main node & mirror node endpoints. Can be `MAINNET`, `PREVIEWNET`, `TESTNET` or `OTHER` |
83+
| Config | Default | Description |
84+
| ----------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
85+
| `CHAIN_ID` | `0x12a` | The network chain id. Local and previewnet envs should use `0x12a` (298). Previewnet, Testnet and Mainnet should use `0x129` (297), `0x128` (296) and `0x127` (295) respectively |
86+
| `HEDERA_NETWORK` | `` | Which network to connect to. Automatically populates the main node & mirror node endpoints. Can be `MAINNET`, `PREVIEWNET`, `TESTNET` or `OTHER` |
8787
| `MIRROR_NODE_URL` | `` | The Mirror Node API endpoint. Official endpoints are Previewnet (https://previewnet.mirrornode.hedera.com), Testnet (https://testnet.mirrornode.hedera.com), Mainnet (https://mainnet-public.mirrornode.hedera.com). See [Mirror Node REST API](https://docs.hedera.com/hedera/sdks-and-apis/rest-api) |
8888

8989
#### Run
@@ -258,17 +258,19 @@ The hedera-json-rpc-relay ships with a metrics endpoint at `/metrics`. Here is a
258258
Please note that the `/metrics` endpoint is also a default scrape configurations for prometheus. The `job_name` of `kubernetes-pods` is generally deployed as a default with prometheus; in the case where this scrape_config is present metrics will start getting populated by that scrape_config and no other configurations are necessary.
259259

260260
##### Dashboard
261+
261262
[Grafana JSON Dashboards](https://github.com/hiero-ledger/hiero-json-rpc-relay/tree/main/charts/hedera-json-rpc-relay/dashboards) can be used as the dashboard for hedera-json-rpc-relay.
262263

263264
##### Admin-specific RPC methods
264265

265266
- GET `/config` - To provide more transparency and operational insight to the developers, the hiero-json-rpc-relay exposes all environment variables. Such information could aid in troubleshooting and understanding the context in which the relay is running.
266267

267268
Expected response:
269+
268270
```
269271
{
270272
"relay": {
271-
"version": "0.67.0-SNAPSHOT",
273+
"version": "0.70.0-SNAPSHOT",
272274
"config": {
273275
"CHAIN_ID": "0x128",
274276
"CLIENT_TRANSPORT_SECURITY": "false",

charts/hedera-json-rpc-relay-websocket/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: "0.69.0-SNAPSHOT"
2+
appVersion: "0.70.0-SNAPSHOT"
33
description: Helm chart deployment of the hiero-ledger/hiero-json-rpc-relay web socket server
44
home: https://github.com/hiero-ledger/hiero-json-rpc-relay
55
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
@@ -22,4 +22,4 @@ name: hedera-json-rpc-relay-websocket
2222
sources:
2323
- https://github.com/hiero-ledger/hiero-json-rpc-relay
2424
type: application
25-
version: 0.69.0-SNAPSHOT
25+
version: 0.70.0-SNAPSHOT

charts/hedera-json-rpc-relay/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: "0.69.0-SNAPSHOT"
2+
appVersion: "0.70.0-SNAPSHOT"
33
description: Helm chart deployment of the hiero-ledger/hiero-json-rpc-relay
44
home: https://github.com/hiero-ledger/hiero-json-rpc-relay
55
icon: https://camo.githubusercontent.com/cca6b767847bb8ca5c7059481ba13a5fc81c5938/68747470733a2f2f7777772e6865646572612e636f6d2f6c6f676f2d6361706974616c2d686261722d776f72646d61726b2e6a7067
@@ -21,4 +21,4 @@ name: hedera-json-rpc-relay
2121
sources:
2222
- https://github.com/hiero-ledger/hiero-json-rpc-relay
2323
type: application
24-
version: 0.69.0-SNAPSHOT
24+
version: 0.70.0-SNAPSHOT

charts/hedera-json-rpc/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v2
2-
appVersion: '0.68.0-SNAPSHOT'
2+
appVersion: '0.70.0-SNAPSHOT'
33
dependencies:
44
- alias: relay
55
condition: relay.enabled
@@ -36,4 +36,4 @@ name: hedera-json-rpc
3636
sources:
3737
- https://github.com/hiero-ledger/hiero-json-rpc-relay
3838
type: application
39-
version: 0.69.0-SNAPSHOT
39+
version: 0.70.0-SNAPSHOT

docs/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Unless you need to set a non-default value, it is recommended to only populate o
8888
| `MIRROR_NODE_URL_HEADER_X_API_KEY` | "" | Authentication for a `MIRROR_NODE_URL` that requires authentication via the `x-api-key` header. |
8989
| `MULTI_SET` | "false" | Switch between different implementation of setting multiple K/V pairs in the shared cache. True is mSet, false is pipeline |
9090
| `JUMBO_TX_ENABLED` | "true" | Controls how large transactions are handled during `eth_sendRawTransaction`. When set to `true`, transactions up to 128KB can be sent directly to consensus nodes without using Hedera File Service (HFS), as long as contract bytecode doesn't exceed 24KB. When set to `false`, all transactions containing contract deployments use the traditional HFS approach. This feature leverages the increased transaction size limit to simplify processing of standard Ethereum transactions. |
91+
| `IP_RATE_LIMIT_STORE` | null | Specifies the rate limit store to use for IP-based rate limiting: valid values are "LRU", "REDIS", with the possibility to be extended with a custom implementation (see [Store Selection](rate-limiting.md#store-selection)). If unset, falls back to Redis when `REDIS_ENABLED=true`, otherwise uses in-memory LRU. |
9192
| `REDIS_ENABLED` | "true" | Enable usage of Redis as shared cache |
9293
| `REDIS_RECONNECT_DELAY_MS` | "1000" | Sets the delay between reconnect retries from the Redis client in ms |
9394
| `REDIS_URL` | "redis://127.0.0.1:6379" | Sets the url for the Redis shared cache |

docs/openrpc.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Hedera JSON-RPC Specification",
55
"description": "A specification of the implemented Ethereum JSON RPC APIs interface for Hedera clients and adheres to the Ethereum execution APIs schema.",
6-
"version": "0.69.0-SNAPSHOT"
6+
"version": "0.70.0-SNAPSHOT"
77
},
88
"servers": [
99
{
@@ -1244,6 +1244,14 @@
12441244
"result": {
12451245
"$ref": "#/components/schemas/unsupportedError"
12461246
}
1247+
},
1248+
{
1249+
"name": "eth_createAccessList",
1250+
"summary": "Always returns UNSUPPORTED_METHOD error.",
1251+
"params": [],
1252+
"result": {
1253+
"$ref": "#/components/schemas/unsupportedError"
1254+
}
12471255
}
12481256
],
12491257
"components": {

0 commit comments

Comments
 (0)