Skip to content

Commit

Permalink
Merge branch 'main' into add-fetch-api-boundary-nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolay-komarevskiy committed Feb 28, 2024
2 parents b9e5d8b + b434eec commit 903cccf
Show file tree
Hide file tree
Showing 43 changed files with 1,625 additions and 402 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
dfx: [ '0.8.4', '0.9.2', '0.10.1', '0.11.1' ]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Cache Cargo
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand All @@ -27,13 +27,13 @@ jobs:
- name: Provision Darwin
if: contains(matrix.os, 'macos')
run: bash .github/workflows/provision-darwin.sh
env:
INSTALL_DFX_VERSION: ${{ matrix.dfx }}
- name: Provision Linux
if: contains(matrix.os, 'ubuntu')
run: bash .github/workflows/provision-linux.sh
env:
INSTALL_DFX_VERSION: ${{ matrix.dfx }}
- name: Install DFX
uses: dfinity/setup-dfx@main
with:
dfx-version: ${{ matrix.dfx }}
- name: Setup for dfx version differences
run: |
if [[ "${{ matrix.dfx }}" == "0.8.4" ]]; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache Cargo
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ic-ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ jobs:
os: ubuntu-latest

steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: "0.15.2-beta.1"
dfx-version: "0.16.1"

- name: Cargo cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/provision-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ mkdir /usr/local/lib/bats-support
tar --directory /usr/local/lib/bats-support --extract --file bats-support.tar.gz --strip-components 1
rm bats-support.tar.gz

# Install DFINITY SDK.
curl --location --output install-dfx.sh "https://sdk.dfinity.org/install.sh"
DFX_VERSION="$INSTALL_DFX_VERSION" bash install-dfx.sh < <(yes Y)
rm install-dfx.sh

# Set environment variables.
BATS_SUPPORT="/usr/local/lib/bats-support"
echo "BATS_SUPPORT=${BATS_SUPPORT}" >> "$GITHUB_ENV"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/provision-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ sudo mkdir /usr/local/lib/bats-support
sudo tar --directory /usr/local/lib/bats-support --extract --file bats-support.tar.gz --strip-components 1
rm bats-support.tar.gz

# Install DFINITY SDK.
wget --output-document install-dfx.sh "https://sdk.dfinity.org/install.sh"
DFX_VERSION="$INSTALL_DFX_VERSION" bash install-dfx.sh < <(yes Y)
rm install-dfx.sh

# Set environment variables.
BATS_SUPPORT="/usr/local/lib/bats-support"
echo "BATS_SUPPORT=${BATS_SUPPORT}" >> "$GITHUB_ENV"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
binary_path: target/x86_64-apple-darwin/release
binary_files: icx
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4

- name: Setup environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# ubuntu-latest has shellcheck 0.4.6, while macos-latest has 0.7.1
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install shellcheck
run: |
mkdir $HOME/bin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
Expand Down
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

* Timestamps are now being checked in `Agent::verify`. If you were using it with old certificates, increase the expiry timeout to continue to verify them.
* Added ECDSA and Bitcoin functions to `MgmtMethod`. There are no new wrappers in `ManagementCanister` because only canisters can call these functions.
* Added `FetchCanisterLogs` function to `MgmtMethod` and a corresponding wrapper to `ManagementCanister`.

## [0.33.0] - 2024-02-08

* Changed the return type of `stored_chunks` to a struct.
* Added a prime256v1-based `Identity` impl to complement the ed25519 and secp256k1 `Identity` impls.
* Added serde and candid serialization traits to the `Status` type.
* Changed the type of `InstallMode.skip_pre_upgrade` from `bool` to `Option<bool>` to match the interface specification.

## [0.32.0] - 2024-01-18

* Added the chunked wasm API to ic-utils. Existing code that uses `install_code` should probably update to `install`, which works the same but silently handles large wasm modules.
* Added query stats to `StatusCallResult`.
* Upgraded `ic-certification` to v2.2.

## [0.31.0] - 2023-11-27

* Breaking change: Bump candid to 0.10. Downstream libraries need to bump Candid to 0.10 as well.
* Feat: add `idle_cycles_burned_per_day` field to `StatusCallResult`.

## [0.30.2] - 2023-11-16

* Fixed a spurious certificate validation error in the five minutes after a node is added to a subnet

## [0.30.1] - 2023-11-15

* Fixed `HyperTransport` endpoint construction (`//` in the format `/api/v2//canister/5v3p4-iyaaa-aaaaa-qaaaa-cai/query`)

## [0.30.0] - 2023-11-07

* Added node signature certification to query calls, for protection against rogue boundary nodes. This can be disabled with `with_verify_query_signatures`.
Expand Down
Loading

0 comments on commit 903cccf

Please sign in to comment.