Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: bump Node.js #428

Merged
merged 2 commits into from
Feb 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changelog/428.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ci: bump Node.js
4 changes: 2 additions & 2 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
uses: actions/setup-python@v4.2.0
with:
python-version: '3.x'
- name: Set up Node.js 12
- name: Set up Node.js 18
pro-wh marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/setup-node@v3.5.0
with:
node-version: "12.x"
node-version: "18.x"
- name: Set up Go 1.18
uses: actions/setup-go@v3
with:
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
[![Docker status][github-docker-badge]][github-docker-link]
[![Release status][github-release-badge]][github-release-link]

<!-- markdownlint-disable line-length -->
[github-ci-tests-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/ci-tests/badge.svg
[github-ci-tests-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:ci-tests+branch:master
[github-ci-lint-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/ci-lint/badge.svg
Expand All @@ -14,7 +13,6 @@
[github-docker-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:docker
[github-release-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/release/badge.svg
[github-release-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:release
<!-- markdownlint-enable line-length -->

This repository implements the [Rosetta] server for the [Oasis Network].
See the [Rosetta API] docs for information on how to use the API.
Expand Down Expand Up @@ -82,12 +80,10 @@ port that you want the gateway to listen on (default is 8080).

Start the gateway simply by running the executable `oasis-rosetta-gateway`.

<!-- markdownlint-disable line-length -->
[Run a Non-validator Node]:
https://docs.oasis.dev/general/run-a-node/set-up-your-node/run-non-validator#configuration
[Oasis Docs]:
https://docs.oasis.dev/
<!-- markdownlint-enable line-length -->

## Offline Mode

Expand All @@ -109,21 +105,20 @@ The only supported endpoints in offline mode are:
/construction/{combine,derive,hash,parse,payloads,preprocess}
```

<!-- markdownlint-disable line-length -->
[Construction API]:
https://www.rosetta-api.org/docs/construction_api_introduction.html
[genesis document's hash]:
https://docs.oasis.dev/oasis-core/high-level-components/index/genesis#genesis-documents-hash
<!-- markdownlint-enable line-length -->

## Oasis-specific Information

This section describes how Oasis fits into the Rosetta APIs.

### Network Identifier

[Rosetta API documentation](
https://www.rosetta-api.org/docs/api_identifiers.html#network-identifier)
[Rosetta API documentation][api-network-identifier]

[api-network-identifier]: https://www.rosetta-api.org/docs/api_identifiers.html#network-identifier

For Amber (at time of writing):

Expand All @@ -140,8 +135,9 @@ hex encoded SHA-512/256 hash of the CBOR encoded genesis document.

### Account Identifier

[Rosetta API documentation](
https://www.rosetta-api.org/docs/api_identifiers.html#account-identifier)
[Rosetta API documentation][api-account-identifier]

[api-account-identifier]: https://www.rosetta-api.org/docs/api_identifiers.html#account-identifier

#### General Account

Expand Down Expand Up @@ -198,8 +194,9 @@ For the fee accumulator:

### Currency

[Rosetta API documentation](
https://www.rosetta-api.org/docs/api_objects.html#currency)
[Rosetta API documentation][api-currency]

[api-currency]: https://www.rosetta-api.org/docs/api_objects.html#currency

#### ROSE

Expand All @@ -215,12 +212,14 @@ For ROSE:

### Transaction Intents

<!-- markdownlint-disable line-length -->
Rosetta API documentation on [/construction/preprocess](
https://www.rosetta-api.org/docs/ConstructionApi.html#constructionpreprocess)
and [/construction/payloads](
https://www.rosetta-api.org/docs/ConstructionApi.html#constructionpayloads).
<!-- markdownlint-enable line-length -->
Rosetta API documentation on
[/construction/preprocess][api-constructionpreprocess] and
[/construction/payloads][api-constructionpayloads].

[api-constructionpreprocess]:
https://www.rosetta-api.org/docs/ConstructionApi.html#constructionpreprocess
[api-constructionpayloads]:
https://www.rosetta-api.org/docs/ConstructionApi.html#constructionpayloads

The first two operations in the listings are the gas fee payment.
For zero-fee transactions, omit them and decrease the remaining operation
Expand Down Expand Up @@ -643,8 +642,7 @@ limit `gas_limit` and fee `fee_bu` base units:

### Block API

[Rosetta API documentation](
https://www.rosetta-api.org/docs/BlockApi.html#block)
[Rosetta API documentation][api-block]

In a [partial block identifier]:

Expand Down Expand Up @@ -677,6 +675,8 @@ transaction's intent:
failed transactions.
* The `metadata` field is absent.

[api-block]:
https://www.rosetta-api.org/docs/BlockApi.html#block
[partial block identifier]:
https://www.rosetta-api.org/docs/models/PartialBlockIdentifier.html
[block response]:
Expand Down