From ad43ecc3bfaae35a7f7c66158e6e7f653af16da1 Mon Sep 17 00:00:00 2001 From: lukacan Date: Thu, 14 Nov 2024 16:55:58 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Release=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 + Cargo.lock | 93 ++++++++++--------- crates/cli/Cargo.toml | 4 +- crates/client/Cargo.toml | 8 +- crates/client/config.json | 2 +- .../test_fuzz_generator.rs | 1 + .../expected_test_fuzz.rs | 1 + crates/fuzz/Cargo.toml | 2 +- crates/fuzz/derive/display_ix/Cargo.toml | 2 +- .../fuzz/derive/fuzz_test_executor/Cargo.toml | 2 +- .../docs/installation/installation.md | 2 +- 11 files changed, 65 insertions(+), 54 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f20a49fd..4ee74ad6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ incremented upon a breaking change and the patch version will be incremented for ## [dev] - Unreleased +## [0.8.1] - 2024-11-14 + **Removed** - removed unnecesarry deserialization with AccountsSnapshots, to deserialize data implementation AccountDeserialize can be used ([221](https://github.com/Ackee-Blockchain/trident/pull/221)) diff --git a/Cargo.lock b/Cargo.lock index 60813ae1..b0dffbeb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -784,11 +784,11 @@ dependencies = [ [[package]] name = "borsh" -version = "1.5.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5327f6c99920069d1fe374aa743be1af0031dea9f250852cdf1ae6a0861ee24" +checksum = "2506947f73ad44e344215ccd6403ac2ae18cd8e046e581a441bf8d199f257f03" dependencies = [ - "borsh-derive 1.5.2", + "borsh-derive 1.5.3", "cfg_aliases", ] @@ -820,9 +820,9 @@ dependencies = [ [[package]] name = "borsh-derive" -version = "1.5.2" +version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10aedd8f1a81a8aafbfde924b0e3061cd6fedd6f6bbcfc6a76e6fd426d7bfe26" +checksum = "c2593a3b8b938bd68373196c9832f516be11fa487ef4ae745eb282e6a56a7244" dependencies = [ "once_cell", "proc-macro-crate 3.2.0", @@ -1024,9 +1024,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8" +checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ "jobserver", "libc", @@ -1089,7 +1089,7 @@ dependencies = [ "bitflags 1.3.2", "strsim 0.8.0", "textwrap 0.11.0", - "unicode-width", + "unicode-width 0.1.14", "vec_map", ] @@ -1111,9 +1111,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" +checksum = "fb3b4b9e5a7c7514dfa52869339ee98b3156b0bfb4e8a77c4ff4babb64b1604f" dependencies = [ "clap_builder", "clap_derive", @@ -1121,13 +1121,13 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.20" +version = "4.5.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" +checksum = "b17a95aa67cc7b5ebd32aa5370189aa0d79069ef1c64ce893bd30fb24bff20ec" dependencies = [ "anstream", "anstyle", - "clap_lex 0.7.2", + "clap_lex 0.7.3", "strsim 0.11.1", ] @@ -1154,9 +1154,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.7.2" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" +checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" [[package]] name = "colorchoice" @@ -1195,7 +1195,7 @@ dependencies = [ "encode_unicode 0.3.6", "lazy_static", "libc", - "unicode-width", + "unicode-width 0.1.14", "windows-sys 0.52.0", ] @@ -1883,9 +1883,9 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.34" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1b589b4dc103969ad3cf85c950899926ec64300a1a46d76c03a6072957036f0" +checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" dependencies = [ "crc32fast", "miniz_oxide", @@ -2549,24 +2549,15 @@ dependencies = [ [[package]] name = "indicatif" -version = "0.17.8" +version = "0.17.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3" +checksum = "cbf675b85ed934d3c67b5c5469701eec7db22689d0a2139d856e0925fa28b281" dependencies = [ "console", - "instant", "number_prefix", "portable-atomic", - "unicode-width", -] - -[[package]] -name = "instant" -version = "0.1.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" -dependencies = [ - "cfg-if", + "unicode-width 0.2.0", + "web-time", ] [[package]] @@ -3457,7 +3448,7 @@ dependencies = [ "is-terminal", "lazy_static", "term", - "unicode-width", + "unicode-width 0.1.14", ] [[package]] @@ -4399,7 +4390,7 @@ version = "1.18.26" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e58fa66e1e240097665e7f87b267aa8e976ea3fcbd86918c8fd218c875395ada" dependencies = [ - "borsh 1.5.2", + "borsh 1.5.3", "futures", "solana-banks-interface", "solana-program", @@ -4757,7 +4748,7 @@ dependencies = [ "blake3", "borsh 0.10.4", "borsh 0.9.3", - "borsh 1.5.2", + "borsh 1.5.3", "bs58 0.4.0", "bv", "bytemuck", @@ -5083,7 +5074,7 @@ dependencies = [ "base64 0.21.7", "bincode", "bitflags 2.6.0", - "borsh 1.5.2", + "borsh 1.5.3", "bs58 0.4.0", "bytemuck", "byteorder", @@ -5886,7 +5877,7 @@ dependencies = [ "minimad", "serde", "thiserror", - "unicode-width", + "unicode-width 0.1.14", ] [[package]] @@ -5934,7 +5925,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" dependencies = [ - "unicode-width", + "unicode-width 0.1.14", ] [[package]] @@ -6277,10 +6268,10 @@ dependencies = [ [[package]] name = "trident-cli" -version = "0.8.0" +version = "0.8.1" dependencies = [ "anyhow", - "clap 4.5.20", + "clap 4.5.21", "fehler", "termimad", "tokio", @@ -6289,7 +6280,7 @@ dependencies = [ [[package]] name = "trident-client" -version = "0.8.0" +version = "0.8.1" dependencies = [ "afl", "anchor-lang", @@ -6322,7 +6313,7 @@ dependencies = [ [[package]] name = "trident-derive-displayix" -version = "0.0.3" +version = "0.0.4" dependencies = [ "proc-macro2", "quote", @@ -6331,7 +6322,7 @@ dependencies = [ [[package]] name = "trident-derive-fuzz-test-executor" -version = "0.0.3" +version = "0.0.4" dependencies = [ "proc-macro2", "quote", @@ -6340,7 +6331,7 @@ dependencies = [ [[package]] name = "trident-fuzz" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anchor-lang", "anyhow", @@ -6422,6 +6413,12 @@ version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" +[[package]] +name = "unicode-width" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" + [[package]] name = "unicode-xid" version = "0.2.6" @@ -6636,6 +6633,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "web-time" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "webpki-roots" version = "0.24.0" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index c759cfdf..e21c2285 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trident-cli" -version = "0.8.0" +version = "0.8.1" edition = "2021" repository = "https://github.com/Ackee-Blockchain/trident" license-file = "../../LICENSE" @@ -9,7 +9,7 @@ description = "Trident is Rust based testing framework providing several conveni [dependencies] # TRIDENT -trident-client = { path = "../client", version = "0.8.0" } +trident-client = { path = "../client", version = "0.8.1" } # MISC clap = { version = "4", features = ["derive"] } diff --git a/crates/client/Cargo.toml b/crates/client/Cargo.toml index ff2cd684..863a241a 100644 --- a/crates/client/Cargo.toml +++ b/crates/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trident-client" -version = "0.8.0" +version = "0.8.1" edition = "2021" repository = "https://github.com/Ackee-Blockchain/trident" license-file = "../../LICENSE" @@ -10,9 +10,9 @@ description = "The trident_client crate helps you build and deploy an Anchor pro [dependencies] # TRIDENT -trident-derive-displayix = { path = "../fuzz/derive/display_ix", version = "0.0.3" } -trident-derive-fuzz-test-executor = { path = "../fuzz/derive/fuzz_test_executor", version = "0.0.3" } -trident-fuzz = { path = "../fuzz", version = "0.2.0" } +trident-derive-displayix = { path = "../fuzz/derive/display_ix", version = "0.0.4" } +trident-derive-fuzz-test-executor = { path = "../fuzz/derive/fuzz_test_executor", version = "0.0.4" } +trident-fuzz = { path = "../fuzz", version = "0.2.1" } # ANCHOR # INFO: Anchor-spl is here as dependency only to activate the idl-build feature, so that # users do not have to do it manually in their program's Cargo.toml diff --git a/crates/client/config.json b/crates/client/config.json index f7d656ba..5e1fadef 100644 --- a/crates/client/config.json +++ b/crates/client/config.json @@ -1,3 +1,3 @@ { - "trident_client": "0.8.0" + "trident_client": "0.8.1" } diff --git a/crates/client/src/source_code_generators/test_fuzz_generator.rs b/crates/client/src/source_code_generators/test_fuzz_generator.rs index 019326ce..133c4783 100644 --- a/crates/client/src/source_code_generators/test_fuzz_generator.rs +++ b/crates/client/src/source_code_generators/test_fuzz_generator.rs @@ -23,6 +23,7 @@ pub fn generate_source_code(idl_instructions: &[Idl]) -> String { /// `pre` runs at the start, `middle` in the middle, and `post` at the end. /// For example, to call `InitializeFn`, `UpdateFn` and then `WithdrawFn` during each fuzzing iteration: /// ``` + /// use fuzz_instructions::{InitializeFn, UpdateFn, WithdrawFn}; /// impl FuzzDataBuilder for InstructionsSequence { /// pre_sequence!(InitializeFn,UpdateFn); /// middle_sequence!(WithdrawFn); diff --git a/crates/client/tests/expected_source_codes/expected_test_fuzz.rs b/crates/client/tests/expected_source_codes/expected_test_fuzz.rs index 016d51ad..61baf4dd 100644 --- a/crates/client/tests/expected_source_codes/expected_test_fuzz.rs +++ b/crates/client/tests/expected_source_codes/expected_test_fuzz.rs @@ -13,6 +13,7 @@ struct InstructionsSequence; /// For example, to call `InitializeFn`, `UpdateFn` and then `WithdrawFn` during /// each fuzzing iteration: /// ``` +/// use fuzz_instructions::{InitializeFn, UpdateFn, WithdrawFn}; /// impl FuzzDataBuilder for InstructionsSequence { /// pre_sequence!(InitializeFn,UpdateFn); /// middle_sequence!(WithdrawFn); diff --git a/crates/fuzz/Cargo.toml b/crates/fuzz/Cargo.toml index f8d0a1fd..deb600d9 100644 --- a/crates/fuzz/Cargo.toml +++ b/crates/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trident-fuzz" -version = "0.2.0" +version = "0.2.1" edition = "2021" repository = "https://github.com/Ackee-Blockchain/trident" license-file = "../../LICENSE" diff --git a/crates/fuzz/derive/display_ix/Cargo.toml b/crates/fuzz/derive/display_ix/Cargo.toml index 2e9692b8..053ffa91 100644 --- a/crates/fuzz/derive/display_ix/Cargo.toml +++ b/crates/fuzz/derive/display_ix/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trident-derive-displayix" -version = "0.0.3" +version = "0.0.4" rust-version = "1.60" edition = "2021" license-file = "../../../../LICENSE" diff --git a/crates/fuzz/derive/fuzz_test_executor/Cargo.toml b/crates/fuzz/derive/fuzz_test_executor/Cargo.toml index 397142b7..a44b5e0b 100644 --- a/crates/fuzz/derive/fuzz_test_executor/Cargo.toml +++ b/crates/fuzz/derive/fuzz_test_executor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "trident-derive-fuzz-test-executor" -version = "0.0.3" +version = "0.0.4" rust-version = "1.60" edition = "2021" license-file = "../../../../LICENSE" diff --git a/documentation/docs/installation/installation.md b/documentation/docs/installation/installation.md index 5ad8e4ce..89838f9e 100644 --- a/documentation/docs/installation/installation.md +++ b/documentation/docs/installation/installation.md @@ -63,7 +63,7 @@ cargo install trident-cli | ***{{ config.site_name }} CLI*** | ***Anchor*** | ***Solana*** | ***Rust*** | ***Honggfuzz*** | |-:|-:|-:|-:|-:| | :material-developer-board: ***`develop`*** | `0.30.1` | `^1.17.4` | `nightly` | `0.5.56` | -| :material-tag: ***`0.8.0`*** | `0.30.1` | `^1.17.4` | `nightly` | `0.5.56` | +| :material-tag: ***`0.8.*`*** | `0.30.1` | `^1.17.4` | `nightly` | `0.5.56` | | :material-tag: ***`0.7.0`*** | `>=0.29.*`1 | `^1.17.4` | `nightly` | `0.5.56` | | :material-tag: ***`0.6.0`*** | `>=0.29.*`1 | `^1.17` | `nightly` | `0.5.55` | | :material-tag: ***`0.5.0`*** | `~0.28.*` | `=1.16.6` | - | - |