Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into wip/hex-string
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgardo committed Apr 25, 2024
2 parents 2826aa1 + cbff94e commit 28489d5
Show file tree
Hide file tree
Showing 132 changed files with 7,140 additions and 3,877 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
**/Dockerfile
**/Jenkinsfile
**/LICENSE
**/*.md
**/*.json
**/*.deb
**/node_modules
Expand Down
32 changes: 15 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
workflow_dispatch: # allow manual trigger

env:
RUST_FMT: nightly-2021-06-09-x86_64-unknown-linux-gnu
RUST_CLIPPY: 1.54
RUST_TOOLCHAIN_FMT: nightly-2023-04-01-x86_64-unknown-linux-gnu
RUST_TOOLCHAIN: 1.66

jobs:
fmt:
Expand All @@ -23,14 +23,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.RUST_FMT }}
override: true
components: rustfmt
run: |
rustup override set "${{ env.RUST_TOOLCHAIN_FMT }}"
rustup component add rustfmt
- name: Format
run: |
cargo fmt -- --color=always --check
Expand All @@ -51,18 +48,19 @@ jobs:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: Install protobuf
run: |
wget https://github.com/protocolbuffers/protobuf/releases/download/v3.15.3/protoc-3.15.3-linux-x86_64.zip
unzip protoc-3.15.3-linux-x86_64.zip
sudo mv ./bin/protoc /usr/bin/protoc
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ env.RUST_CLIPPY }}
override: true
target: ${{ env.TARGET }}
components: rustfmt, clippy
run: |
rustup override set "${{ env.RUST_TOOLCHAIN }}"
rustup component add clippy
- name: Clippy
run: |
cargo clippy --color=always --tests --benches -- -Dclippy::all
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = https://github.com/coinbase/rosetta-specifications
[submodule "concordium-rust-sdk"]
path = concordium-rust-sdk
url = https://github.com/Concordium/concordium-rust-sdk
url = ../concordium-rust-sdk.git
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# Changelog

## Unreleased

## 1.1.0

- Set minimum supported Rust version to `1.66`.
- Support P6.

## 1.0.0
- Use GRPCv2 API instead of the GRPCv1 API.
- Changed default value for input flag `grpc-port` to 20000, since that is the default GRPCv2 port for mainnet.
- Removed the now redundant input flag `grpc-token`.
- Bump Rosetta specification to v1.4.15.

## 0.7.0

- Support interfacing node version 5 and its protocol 5.
This bumps the minimum supported node version to 5.0.x and Rust version to 1.62.

## 0.6.1

- Add field `baker_id` in metadata of `BlockResponse`.

## 0.6.0

- Bump Node SDK.

## 0.5.1

- Return balance 0 for non-existent pool accrue (virtual) accounts for the same reason as it was done for the other types in 0.5.0.

## 0.5.0

- Fix smart contract amount computations.
- Return balance 0 for non-existent accounts. 'rosetta-cli check:data' will fail if this isn't undocumented behavior
isn't implemented; see 'https://community.rosetta-api.org/t/can-the-endpoints-block-and-account-balance-not-be-implemented/115/14'.
- Convert Node SDK "not found" error to appropriate Rosetta error.

## 0.4.3

- Bump Node SDK to fix a parsing bug. This bumps the minimum Rust version to 1.56.

## 0.4.2

- Add operation type "unknown" to list of operation types in '/network/options'.

## 0.4.1

- Upgrade versions of dependencies.

## 0.4.0

- Bump Node SDK to support protocol version P4.
This makes it compatible with Concordium Node v4.x.x but breaks it for older versions.

## 0.3.3

- Fix operation amounts and add support for querying the balances of contracts.

## 0.3.2

- Upgrade Rosetta spec to v1.4.12.
Expand Down
Loading

0 comments on commit 28489d5

Please sign in to comment.