Skip to content
This repository was archived by the owner on Aug 9, 2024. It is now read-only.

feat: upgrade vectorx #101

Merged
merged 11 commits into from
Jan 29, 2024
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
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ CONTRACT_ADDRESS=
CHAIN_ID=
HEADER_RANGE_FUNCTION_ID=
ROTATE_FUNCTION_ID=
# If using RustX VectorX, set this to true.
IS_DUMMY_OPERATOR=

# Event Indexer
# For each Avail chain `chainName` to index, set the following environment variables:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches:
- "**"

jobs:
jobs:
test:
name: CI Test Suite
runs-on: buildjet-32vcpu-ubuntu-2204
Expand All @@ -29,22 +29,22 @@ jobs:
~/.cargo/git/db/
target/
~/.rustup/
key: test-rust-nightly-2023-08-24-${{ hashFiles('**/Cargo.toml') }}
restore-keys: rust-nightly-2023-08-24-
key: test-rust-nightly-2024-01-16-${{ hashFiles('**/Cargo.toml') }}
restore-keys: rust-nightly-2024-01-16-

- name: Install nightly toolchain
id: rustc-toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-08-24
toolchain: nightly-2024-01-16
override: true

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --release --features "ci"
args: --release --features "ci"
env:
RUST_LOG: 1
RUST_BACKTRACE: 1
Expand All @@ -56,7 +56,7 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: rust-cache
uses: buildjet/cache@v3
with:
Expand All @@ -67,15 +67,15 @@ jobs:
~/.cargo/git/db/
target/
~/.rustup/
key: clippy-rust-nightly-2023-08-24-${{ hashFiles('**/Cargo.toml') }}
restore-keys: rust-nightly-2023-08-24-
key: clippy-rust-nightly-2024-01-16-${{ hashFiles('**/Cargo.toml') }}
restore-keys: rust-nightly-2024-01-16-

- name: Install nightly toolchain
id: rustc-toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly-2023-08-24
toolchain: nightly-2024-01-16
override: true
components: rustfmt, clippy

Expand All @@ -93,4 +93,4 @@ jobs:
command: clippy
args: --all-features --all-targets -- -D warnings -A incomplete-features
env:
CARGO_INCREMENTAL: 1
CARGO_INCREMENTAL: 1
Loading
Loading