Skip to content

Commit

Permalink
Merge branch 'master' into wen_restart_reduce_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-coding authored Nov 27, 2024
2 parents d00e29a + 8d697eb commit 14681fc
Show file tree
Hide file tree
Showing 535 changed files with 30,605 additions and 11,662 deletions.
17 changes: 17 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# The SVM team is in the process of migrating these subdirectories to a new
# repo and would like to avoid introducing dependencies in the meantime.
/transaction-view/ @anza-xyz/svm
/programs/bpf_loader/ @anza-xyz/svm
/builtins-default-costs/ @anza-xyz/svm
/compute-budget/ @anza-xyz/svm
/programs/compute-budget/ @anza-xyz/svm
/fee/ @anza-xyz/svm
/programs/loader-v4/ @anza-xyz/svm
/log-collector/ @anza-xyz/svm
/program-runtime/ @anza-xyz/svm
/runtime-transaction/ @anza-xyz/svm
/svm/ @anza-xyz/svm
/svm-conformance/ @anza-xyz/svm
/svm-rent-collector/ @anza-xyz/svm
/svm-transaction/ @anza-xyz/svm
/programs/system/ @anza-xyz/svm
5 changes: 5 additions & 0 deletions .github/workflows/client-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
steps:
- uses: actions/checkout@v4

# This can be removed once cargo-ndk >= 3.5.4 is used.
- name: Setup environment for Android NDK
run: |
echo "RANLIB=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib" >> $GITHUB_ENV
- run: cargo install [email protected]

- name: Setup Rust
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/downstream-project-spl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
cargo check
test:
if: github.repository == 'anza-xyz/agave'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -123,6 +124,7 @@ jobs:
done
cargo-test-sbf:
if: github.repository == 'anza-xyz/agave'
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/svm-exampls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: SVM examples test

on:
push:
branches:
- master
- v[0-9]+.[0-9]+
pull_request:
branches:
- master
- v[0-9]+.[0-9]+
paths:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
SHELL: /bin/bash
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- shell: bash
run: |
.github/scripts/purge-ubuntu-runner.sh
- uses: mozilla-actions/[email protected]
with:
version: "v0.8.1"

- shell: bash
run: |
source .github/scripts/downstream-project-spl-install-deps.sh
- name: Run build
run: |
cd svm/examples
cargo build --tests
- name: Run tests
run: |
cd svm/examples
cargo test
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Release channels have their own copy of this changelog:

<a name="edge-channel"></a>
## [2.2.0] - Unreleased
* Changes
* CLI:
* Add global `--skip-preflight` option for skipping preflight checks on all transactions sent through RPC. This flag, along with `--use-rpc`, can improve success rate with program deployments using the public RPC nodes.
* Unhide `--accounts-db-access-storages-method` for agave-validator and agave-ledger-tool

## [2.1.0]
* Breaking:
Expand All @@ -25,6 +29,8 @@ Release channels have their own copy of this changelog:
* removed the unreleased `redelegate` instruction processor and CLI commands (#2213)
* Banks-client:
* relax functions to use `&self` instead of `&mut self` (#2591)
* `agave-validator`:
* Remove the deprecated value of `fifo` for `--rocksdb-shred-compaction` (#3451)
* Changes
* SDK:
* removed the `respan` macro. This was marked as "internal use only" and was no longer used internally.
Expand Down
Loading

0 comments on commit 14681fc

Please sign in to comment.