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

Release 0.7.0 #188

Merged
merged 57 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
a0cfbde
Update README.md
ekincixyz May 20, 2024
592b114
📝 update urls in readme
lukacan May 20, 2024
3cd3bd9
📌 bump crate versions
lukacan May 20, 2024
2edc2bf
Update README.md
ekincixyz May 20, 2024
055e295
🚑️ update docs before release
lukacan May 20, 2024
f7f2ae2
📝 fix discord link
lukacan May 21, 2024
aa57e89
📝 (add mike): Add mike
lukacan May 21, 2024
18a057f
📝 remove changelog from docs
lukacan May 21, 2024
2533d24
📝 update documentation structure
lukacan May 22, 2024
448ba20
💚 try to resolve no pipeline trigger
lukacan May 22, 2024
d2e31c8
📝 Small touches to the docs
lukacan May 23, 2024
36664f1
feat/add more specific err message for invalid struct (#164)
cryptopapi997 May 29, 2024
8e0d235
✨ feat/added optional fuzzing statistics (#144)
lukacan Jun 7, 2024
17d3c2a
🐛 Snapshot's zeroed account as optional
Ikrk May 29, 2024
1aa7865
🔥 remove explorer
lukacan Jun 26, 2024
9fa4623
🔥 remove tests for derive macros and update CHANGELOG
lukacan Jun 26, 2024
1cc34a4
💚 test fuzzing pipeline
lukacan May 23, 2024
61ba991
📌 unify exports from trident
lukacan Jun 26, 2024
9e4adf1
📌 unify dependencies, and remove unused
lukacan Jun 27, 2024
9451ff1
🎨 move fuzz to separate crate and update examples
lukacan Jun 28, 2024
9c5f6a5
🔥 Remove fuzzing flag
lukacan Jul 4, 2024
135f78d
⬆️ Modify dependencies
lukacan Jul 5, 2024
3bf8287
💚 Add anchor 0.30.1 pipeline run
lukacan Jul 5, 2024
3899077
✨ Introduce AccountsSnapshots derive Macro
lukacan Jul 6, 2024
4fdd9c7
🔥 Remove localnet subcommand
lukacan Jul 6, 2024
e9ce29a
⬆️ Remove anchor-spl from dependencies and bump some dependecies down…
lukacan Jul 10, 2024
c2a84ac
💚 Update pipelines
lukacan Jul 10, 2024
d62652a
feat/add more specific err message for invalid struct (#164)
cryptopapi997 May 29, 2024
0df48ed
✨ feat/added optional fuzzing statistics (#144)
lukacan Jun 7, 2024
8c41170
🐛 Snapshot's zeroed account as optional
Ikrk May 29, 2024
ff6f4dd
🔥 remove explorer
lukacan Jun 26, 2024
05abcc1
🔥 remove tests for derive macros and update CHANGELOG
lukacan Jun 26, 2024
91d9036
💚 test fuzzing pipeline
lukacan May 23, 2024
8a51e33
📌 unify exports from trident
lukacan Jun 26, 2024
231ff2b
📌 unify dependencies, and remove unused
lukacan Jun 27, 2024
3537f8a
🎨 move fuzz to separate crate and update examples
lukacan Jun 28, 2024
cc66b57
🔥 Remove fuzzing flag
lukacan Jul 4, 2024
9f6fed5
⬆️ Modify dependencies
lukacan Jul 5, 2024
3f061cb
💚 Add anchor 0.30.1 pipeline run
lukacan Jul 5, 2024
afca5cb
✨ Introduce AccountsSnapshots derive Macro
lukacan Jul 6, 2024
d8c7edd
🔥 Remove localnet subcommand
lukacan Jul 6, 2024
7df2863
⬆️ Remove anchor-spl from dependencies and bump some dependecies down…
lukacan Jul 10, 2024
9d47b27
💚 Update pipelines
lukacan Jul 10, 2024
6105337
Merge pull request #181 from Ackee-Blockchain/develop-rebase-master
lukacan Jul 10, 2024
08ee486
⚡️ Update init and fuzz add command so it support both file and macro…
lukacan Jul 6, 2024
c05b123
🔥 Remove trident-fuzzing feature for now
lukacan Jul 11, 2024
396a950
✨ Initial implementation of CPI support
lukacan Jul 14, 2024
7cc0858
💚 Update pipeline to test cpi example
lukacan Jul 14, 2024
738e604
♻️ Update fuzz examples
lukacan Jul 14, 2024
928b9cd
⚡️ Remove turnstile integration test example pipeline
lukacan Jul 14, 2024
50ebb51
✅ Update examples , update changelog
lukacan Jul 15, 2024
8e06f5c
🎨 Improve user experience with using AccountsSnapshots derive macro
lukacan Jul 20, 2024
892166f
✅ Update remaining examples
lukacan Jul 20, 2024
df9a90d
🎨 Split fuzz code into multiple files to improve crate structure
lukacan Jul 20, 2024
bb1ea4e
🎨 Set File feature as default instead of macro
lukacan Aug 14, 2024
e6b16b0
📝 Update Changelog
lukacan Aug 14, 2024
8ae4450
📌 Update release versions
lukacan Aug 14, 2024
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
23 changes: 23 additions & 0 deletions .github/actions/setup-honggfuzz/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Setup Honggfuzz"
description: "Setup Honggfuzz"

runs:
using: "composite"
steps:
- uses: actions/cache@v3
name: Cache Honggfuzz
id: cache-honggfuzz
with:
path: |
~/.cache/honggfuzz/
~/.local/share/honggfuzz/
key: honggfuzz-${{ runner.os }}-v0000-${{ env.HONGGFUZZ_VERSION }}
- name: Install honggfuzz
run: cargo install honggfuzz --version ${{ env.HONGGFUZZ_VERSION }}
shell: bash
- name: Install binutils-dev
run: sudo apt-get install binutils-dev
shell: bash
- name: Install libunwind-dev
run: sudo apt-get install libunwind-dev
shell: bash
17 changes: 17 additions & 0 deletions .github/actions/setup-trident/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Setup Trident"
description: "Setup Trident"

runs:
using: "composite"
steps:
- uses: actions/cache@v3
name: Cache Trident
id: cache-trident
with:
path: |
~/.cache/trident/
~/.local/share/trident/
key: trident-${{ runner.os }}-v0000
- name: Install Trident
run: cargo install --path crates/cli
shell: bash
22 changes: 0 additions & 22 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,11 @@ jobs:
checks:
runs-on: ubuntu-20.04
needs:
- explorer
- cli
- client
- test
steps:
- run: echo "Done"

explorer:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: crates/explorer
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-rust/
id: rust-setup
- uses: Swatinem/rust-cache@v2
name: Cache Rust and it's packages
- name: Cargo build
run: cargo build
- name: Cargo fmt
run: cargo fmt -- --check
- name: Cargo clippy
run: cargo clippy -- -D warnings
- name: Cargo test
run: cargo test

cli:
runs-on: ubuntu-20.04
defaults:
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/run_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [master]

name: Test Escrow and Turnstile
name: Test Escrow

env:
SOLANA_CLI_VERSION: 1.18.12
Expand All @@ -27,19 +27,3 @@ jobs:
- name: Test Escrow
working-directory: examples/integration-tests/escrow
run: cargo run --manifest-path ../../../Cargo.toml test
test_turnstile:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-rust/
- uses: ./.github/actions/setup-solana/
- uses: ./.github/actions/setup-anchor/
id: rust-setup
- uses: Swatinem/rust-cache@v2
name: Cache Rust and it's packages
- name: Build Turnstile
working-directory: examples/integration-tests/turnstile
run: anchor build
- name: Test Turnstile
working-directory: examples/integration-tests/turnstile
run: cargo run --manifest-path ../../../Cargo.toml test
57 changes: 57 additions & 0 deletions .github/workflows/run_fuzz_example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Test Fuzz Tests

on:
workflow_dispatch:
pull_request:

env:
SOLANA_CLI_VERSION: 1.18.18
HONGGFUZZ_VERSION: 0.5.56

jobs:
simple-cpi-6:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- name: Set Anchor Version
run: echo "ANCHOR_VERSION=0.30.1" >> $GITHUB_ENV

- uses: Swatinem/rust-cache@v2
name: Cache Rust and it's packages

- uses: ./.github/actions/setup-rust/

- uses: ./.github/actions/setup-solana/

- uses: ./.github/actions/setup-trident/

- uses: ./.github/actions/setup-honggfuzz/
id: rust-setup

- name: Test Fuzz
working-directory: examples/fuzz-tests/simple-cpi-6
run: trident fuzz run fuzz_0
arbitrary-limit-inputs-5:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- name: Set Anchor Version
run: echo "ANCHOR_VERSION=0.30.1" >> $GITHUB_ENV

- uses: Swatinem/rust-cache@v2
name: Cache Rust and it's packages

- uses: ./.github/actions/setup-rust/

- uses: ./.github/actions/setup-solana/

- uses: ./.github/actions/setup-trident/

- uses: ./.github/actions/setup-honggfuzz/
id: rust-setup

- name: Test Fuzz
working-directory: examples/fuzz-tests/arbitrary-limit-inputs-5
run: trident fuzz run fuzz_0
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// autodiscovery is disabled, must list all crates
"crates/cli/Cargo.toml",
"crates/client/Cargo.toml",
"crates/explorer/Cargo.toml",
"crates/test/Cargo.toml",
],
"rust-analyzer.diagnostics.disabled": [
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@ incremented upon a breaking change and the patch version will be incremented for

## [dev] - Unreleased


## [0.7.0] - 2024-08-14
### Added
- impr/ add feature flag to the AccountsSnapshots macro ([183](https://github.com/Ackee-Blockchain/trident/pull/183))
- feat/ add Support for CPI ([182](https://github.com/Ackee-Blockchain/trident/pull/182))
- feat/ add option to initialize Trident with Macro/File (for Snapshots) option based on preference ([179](https://github.com/Ackee-Blockchain/trident/pull/179))
- feat/create AccountsSnapshots derive macro for Snapshots creation ([#177](https://github.com/Ackee-Blockchain/trident/pull/177))
- feat/fuzzing moved to separate crate trident-fuzz ([#175](https://github.com/Ackee-Blockchain/trident/pull/175))
- feat/unify dependencies provided by the Trident ([#172](https://github.com/Ackee-Blockchain/trident/pull/172))
- feat/fuzzer-stats-logging, an optional statistics output for fuzzing session ([#144](https://github.com/Ackee-Blockchain/trident/pull/144))

### Fixed
- fix/in case of fuzzing failure throw error instead of only printing message ([#167](https://github.com/Ackee-Blockchain/trident/pull/167))
- fix/snapshot's zeroed account as optional ([#170](https://github.com/Ackee-Blockchain/trident/pull/170))

### Removed
- del/remove localnet subcommand ([178](https://github.com/Ackee-Blockchain/trident/pull/178))
- del/remove unnecessary fuzzing feature as trident is mainly fuzzer ([#176](https://github.com/Ackee-Blockchain/trident/pull/176))
- del/remove Trident explorer ([#171](https://github.com/Ackee-Blockchain/trident/pull/171))

## [0.6.0] - 2024-05-20
### Added
- feat/anchor 0.30.0 support ([#148](https://github.com/Ackee-Blockchain/trident/pull/148))
Expand Down
Loading
Loading