Skip to content

Commit

Permalink
🔱 Trdelnik renamed to Trident (#143)
Browse files Browse the repository at this point in the history
* Renaming

* ♻️  Renamed fuzz_trd macro

---------

Co-authored-by: Ikrk <[email protected]>
  • Loading branch information
lukacan and Ikrk authored Mar 13, 2024
1 parent f9b8286 commit 856e0a7
Show file tree
Hide file tree
Showing 177 changed files with 669 additions and 673 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Build documentation
working-directory: ./documentation
run: |
git config --global user.email "trdelnik@ackeeblockchain.com"
git config --global user.name "Trdelnik bot"
git config --global user.email "trident@ackeeblockchain.com"
git config --global user.name "Trident bot"
mike deploy -b documentation latest
- name: Checkout documentation branch
run: git checkout -f documentation
Expand Down
72 changes: 36 additions & 36 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,54 +10,54 @@ incremented upon a breaking change and the patch version will be incremented for

## [Unreleased]
### Added
- feat/support of automatically obtaining fully qualified paths of Data Accounts Custom types for `accounts_snapshots.rs` ([#141](https://github.com/Ackee-Blockchain/trdelnik/pull/141))
- feat/allow direct accounts manipulation and storage ([#142](https://github.com/Ackee-Blockchain/trdelnik/pull/142))
- feat/support of non-corresponding instruction and context names ([#130](https://github.com/Ackee-Blockchain/trdelnik/pull/130))
- feat/refactored and improved program flow during init and build, added activity indicator ([#129](https://github.com/Ackee-Blockchain/trdelnik/pull/129))
- feat/allow solana versions up to v1.17.* and pin Rust 1.77 nightly compiler ([#128](https://github.com/Ackee-Blockchain/trdelnik/pull/128))
- feat/new init command option to initialize fuzz or poc tests only ([#124](https://github.com/Ackee-Blockchain/trdelnik/pull/124))
- feat/debug-mode detailed output ([#125](https://github.com/Ackee-Blockchain/trdelnik/pull/125))
- feat/anchor 0.29.0 support ([#121](https://github.com/Ackee-Blockchain/trdelnik/pull/121))
- doc/add help comment + update documentation ([#120](https://github.com/Ackee-Blockchain/trdelnik/pull/120))
- feat/fuzzer error handling ([#118](https://github.com/Ackee-Blockchain/trdelnik/pull/118))
- feat/convert fuzz Pubkey to AccountId ([#116](https://github.com/Ackee-Blockchain/trdelnik/pull/116))
- feat/additional anchor types ([#115](https://github.com/Ackee-Blockchain/trdelnik/pull/115))
- feat/import ToAccountInfo trait in fuzzing prelude ([#113](https://github.com/Ackee-Blockchain/trdelnik/pull/113))
- test/added code generation and macros tests ([#112](https://github.com/Ackee-Blockchain/trdelnik/pull/112))
- feat/fuzzer framework core, macros, helpers, templates, and examples. ([#111](https://github.com/Ackee-Blockchain/trdelnik/pull/111))
- feat/improved trdelnik-tests folder structure for PoC and Fuzz Tests ([#109](https://github.com/Ackee-Blockchain/trdelnik/pull/109))
- feat/support for additional fuzzer parameters in Trdelnik.toml config file ([#107](https://github.com/Ackee-Blockchain/trdelnik/pull/107))
- feat/posibility to pass params to the fuzzer via Trdelnik.toml config file ([#106](https://github.com/Ackee-Blockchain/trdelnik/pull/106))
- feat/client now reads by default keypair from default location ([#105](https://github.com/Ackee-Blockchain/trdelnik/pull/105))
- feat/added new --exit-code option to return corresponding exit code based on fuzz test result ([#104](https://github.com/Ackee-Blockchain/trdelnik/pull/104))
- feat/removed/updated deprecated functions, removed allow deprecated macros ([#103](https://github.com/Ackee-Blockchain/trdelnik/pull/103))
- feat/added new function to read keypair file generated by Anchor ([#102](https://github.com/Ackee-Blockchain/trdelnik/pull/102))
- feat/clean command ([#101](https://github.com/Ackee-Blockchain/trdelnik/pull/101))
- feat/improved program_client generated code ([#100](https://github.com/Ackee-Blockchain/trdelnik/pull/100))
- feat/automatically add hfuzz_target to .gitignore file ([#99](https://github.com/Ackee-Blockchain/trdelnik/pull/99))
- feat/support for dynamic templates. ([#98](https://github.com/Ackee-Blockchain/trdelnik/pull/98))
- feat/support of automatically obtaining fully qualified paths of Data Accounts Custom types for `accounts_snapshots.rs` ([#141](https://github.com/Ackee-Blockchain/trident/pull/141))
- feat/allow direct accounts manipulation and storage ([#142](https://github.com/Ackee-Blockchain/trident/pull/142))
- feat/support of non-corresponding instruction and context names ([#130](https://github.com/Ackee-Blockchain/trident/pull/130))
- feat/refactored and improved program flow during init and build, added activity indicator ([#129](https://github.com/Ackee-Blockchain/trident/pull/129))
- feat/allow solana versions up to v1.17.* and pin Rust 1.77 nightly compiler ([#128](https://github.com/Ackee-Blockchain/trident/pull/128))
- feat/new init command option to initialize fuzz or poc tests only ([#124](https://github.com/Ackee-Blockchain/trident/pull/124))
- feat/debug-mode detailed output ([#125](https://github.com/Ackee-Blockchain/trident/pull/125))
- feat/anchor 0.29.0 support ([#121](https://github.com/Ackee-Blockchain/trident/pull/121))
- doc/add help comment + update documentation ([#120](https://github.com/Ackee-Blockchain/trident/pull/120))
- feat/fuzzer error handling ([#118](https://github.com/Ackee-Blockchain/trident/pull/118))
- feat/convert fuzz Pubkey to AccountId ([#116](https://github.com/Ackee-Blockchain/trident/pull/116))
- feat/additional anchor types ([#115](https://github.com/Ackee-Blockchain/trident/pull/115))
- feat/import ToAccountInfo trait in fuzzing prelude ([#113](https://github.com/Ackee-Blockchain/trident/pull/113))
- test/added code generation and macros tests ([#112](https://github.com/Ackee-Blockchain/trident/pull/112))
- feat/fuzzer framework core, macros, helpers, templates, and examples. ([#111](https://github.com/Ackee-Blockchain/trident/pull/111))
- feat/improved trident-tests folder structure for PoC and Fuzz Tests ([#109](https://github.com/Ackee-Blockchain/trident/pull/109))
- feat/support for additional fuzzer parameters in Trident.toml config file ([#107](https://github.com/Ackee-Blockchain/trident/pull/107))
- feat/posibility to pass params to the fuzzer via Trident.toml config file ([#106](https://github.com/Ackee-Blockchain/trident/pull/106))
- feat/client now reads by default keypair from default location ([#105](https://github.com/Ackee-Blockchain/trident/pull/105))
- feat/added new --exit-code option to return corresponding exit code based on fuzz test result ([#104](https://github.com/Ackee-Blockchain/trident/pull/104))
- feat/removed/updated deprecated functions, removed allow deprecated macros ([#103](https://github.com/Ackee-Blockchain/trident/pull/103))
- feat/added new function to read keypair file generated by Anchor ([#102](https://github.com/Ackee-Blockchain/trident/pull/102))
- feat/clean command ([#101](https://github.com/Ackee-Blockchain/trident/pull/101))
- feat/improved program_client generated code ([#100](https://github.com/Ackee-Blockchain/trident/pull/100))
- feat/automatically add hfuzz_target to .gitignore file ([#99](https://github.com/Ackee-Blockchain/trident/pull/99))
- feat/support for dynamic templates. ([#98](https://github.com/Ackee-Blockchain/trident/pull/98))

### Fixed
- fix/refactored fuzz test executor error handling ([#127](https://github.com/Ackee-Blockchain/trdelnik/pull/127))
- fix/warn user on composite accounts and continue fuzz test generation ([#133](https://github.com/Ackee-Blockchain/trdelnik/pull/133))
- fix/progress bar loop lock release ([#132](https://github.com/Ackee-Blockchain/trdelnik/pull/132))
- fix/fixed fuzz test generation with init-if-needed Anchor feature ([#131](https://github.com/Ackee-Blockchain/trdelnik/pull/131))
- fix/program client custom types ([#117](https://github.com/Ackee-Blockchain/trdelnik/pull/117))
- fix/check fuzz test name collision by checking the name against HashSet ([#114](https://github.com/Ackee-Blockchain/trdelnik/pull/114))
- fix/refactored fuzz test executor error handling ([#127](https://github.com/Ackee-Blockchain/trident/pull/127))
- fix/warn user on composite accounts and continue fuzz test generation ([#133](https://github.com/Ackee-Blockchain/trident/pull/133))
- fix/progress bar loop lock release ([#132](https://github.com/Ackee-Blockchain/trident/pull/132))
- fix/fixed fuzz test generation with init-if-needed Anchor feature ([#131](https://github.com/Ackee-Blockchain/trident/pull/131))
- fix/program client custom types ([#117](https://github.com/Ackee-Blockchain/trident/pull/117))
- fix/check fuzz test name collision by checking the name against HashSet ([#114](https://github.com/Ackee-Blockchain/trident/pull/114))


## [0.5.0] - 2023-08-28
### Added
- cli: Added trdelnik subcommand `fuzz` to run and debug fuzz tests using honggfuzz-rs.
- cli: Added trdelnik `--skip-fuzzer` option for `init` subcommand to skip generation of fuzz test templates.
- cli: Added trident subcommand `fuzz` to run and debug fuzz tests using honggfuzz-rs.
- cli: Added trident `--skip-fuzzer` option for `init` subcommand to skip generation of fuzz test templates.
- client: Added new Cargo feature `fuzzing` that enables optional dependencies related to fuzz testing.

## [0.4.1] - 2023-08-21
### Changed
- Upgrade Solana (`=1.16.6`) and Anchor framework (`=0.28.0`) versions.
### Fixed
- Implemented Anchor Client logic was not able to work with newer version of Anchor. Fixed with `async_rpc` and `async` feature.
- Trdelnik init IDL Parse Error on newer version of Rust, fixed with updated `accounts` token.
- Trident init IDL Parse Error on newer version of Rust, fixed with updated `accounts` token.


## [0.3.0] - 2022-09-23
Expand All @@ -70,4 +70,4 @@ incremented upon a breaking change and the patch version will be incremented for

## [0.2.0] - 2022-07-27
### Added
- Trdelnik is now configurable. This requires `Trdelnik.toml` file to exist in the project's root directory - without this file the execution will fail. To solve this re-run `trdelnik init` or just create an empty `Trdelnik.toml` file in the project's root directory.
- Trident is now configurable. This requires `Trident.toml` file to exist in the project's root directory - without this file the execution will fail. To solve this re-run `trident init` or just create an empty `Trident.toml` file in the project's root directory.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Contributing

Welcome and thank you for considering contributing to Trdelnik open source!
Welcome and thank you for considering contributing to Trident open source!

Reading and following these guidelines will help us make the contribution process easy and effective for everyone involved. It also communicates that you agree to respect the time of developers managing and developing the Trdelnik project. In return, we will reciprocate that respect by addressing your issue, assessing changes and helping you finalize your PRs.
Reading and following these guidelines will help us make the contribution process easy and effective for everyone involved. It also communicates that you agree to respect the time of developers managing and developing the Trident project. In return, we will reciprocate that respect by addressing your issue, assessing changes and helping you finalize your PRs.

## Table of Contents

Expand Down Expand Up @@ -35,7 +35,7 @@ So, to wrap it up:
- Search for an existing issue before you create your own
- Create an issue before you create a new PR
- Describe your problems or needs as good as you can
- If you are reporting a bug, do not forget to add steps to reproduce, versions (Rust and Trdelnik), a full error message, or describe the bad behaviour that happened
- If you are reporting a bug, do not forget to add steps to reproduce, versions (Rust and Trident), a full error message, or describe the bad behaviour that happened
- If possible, do your own investigation and describe how to fix the problem / what is the problem / how to implement it or improve it

### PRs
Expand Down Expand Up @@ -63,7 +63,7 @@ In general, we follow the [Fork-and-pull Git workflow](https://github.com/susam/
So, to wrap it up:

- Follow our naming and commit conventions
- Use the emojis from [gitmoji](https://gitmoji.dev/) at the beginning of the commit message, [see our commit messages](https://github.com/Ackee-Blockchain/trdelnik/commits/master)
- Use the emojis from [gitmoji](https://gitmoji.dev/) at the beginning of the commit message, [see our commit messages](https://github.com/Ackee-Blockchain/trident/commits/master)
- Add link to the issue at the end of the commit message
- For example: `✨ split test command into build and test - #1, #2`
- Do not modify files that are not related to the issue you are working on
Expand Down
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ resolver = "1"


[workspace.dependencies]
trdelnik-test = { path = "./crates/test", version = "0.3.1" }
trdelnik-client = { path = "./crates/client", version = "0.5.0" }
trdelnik-explorer = { path = "./crates/explorer", version = "0.3.1" }
trident-test = { path = "./crates/test", version = "0.3.1" }
trident-client = { path = "./crates/client", version = "0.5.0" }
trident-explorer = { path = "./crates/explorer", version = "0.3.1" }
anchor-client = { version="0.29.0", features = ["async"]}
solana-sdk = "<1.18"
solana-cli-output = "<1.18"
Expand Down
Loading

0 comments on commit 856e0a7

Please sign in to comment.