Browse Source

relese: v0.2.4 (#191)

Gabriele Picco 2 months ago
parent
commit
062d0856c6

+ 1 - 1
.github/workflows/publish-bolt-crates.yml

@@ -8,7 +8,7 @@ on:
   workflow_dispatch:
   workflow_dispatch:
 
 
 env:
 env:
-  solana_version: v1.18.15
+  solana_version: v2.2.20
 
 
 jobs:
 jobs:
   install:
   install:

+ 1 - 1
.github/workflows/publish-bolt-sdk.yml

@@ -8,7 +8,7 @@ on:
   workflow_dispatch:
   workflow_dispatch:
 
 
 env:
 env:
-  solana_version: v1.18.15
+  solana_version: v2.2.20
 
 
 jobs:
 jobs:
   install:
   install:

+ 1 - 1
.github/workflows/run-lint.yml

@@ -8,7 +8,7 @@ on:
       - main
       - main
 
 
 env:
 env:
-  solana_version: v1.18.15
+  solana_version: v2.2.20
 
 
 jobs:
 jobs:
   setup:
   setup:

+ 1 - 1
.github/workflows/run-tests.yml

@@ -8,7 +8,7 @@ on:
       - main
       - main
 
 
 env:
 env:
-  solana_version: v1.18.15
+  solana_version: v2.2.20
 
 
 jobs:
 jobs:
   setup:
   setup:

File diff suppressed because it is too large
+ 294 - 232
Cargo.lock


+ 36 - 38
Cargo.toml

@@ -11,7 +11,7 @@ members = [
 ]
 ]
 
 
 [workspace.package]
 [workspace.package]
-version = "0.2.3"
+version = "0.2.4"
 authors = ["Magicblock Labs <dev@magicblock.gg>"]
 authors = ["Magicblock Labs <dev@magicblock.gg>"]
 repository = "https://github.com/magicblock-labs/bolt"
 repository = "https://github.com/magicblock-labs/bolt"
 homepage = "https://www.magicblock.gg/"
 homepage = "https://www.magicblock.gg/"
@@ -19,51 +19,49 @@ license = "MIT"
 edition = "2021"
 edition = "2021"
 
 
 [workspace.dependencies]
 [workspace.dependencies]
-bolt-types = { path = "crates/types", version = "=0.2.3" }
-bolt-lang = { path = "crates/bolt-lang", version = "=0.2.3" }
-bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.3" }
-bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.3" }
-bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.3" }
-bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.2.3"}
-bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.2.3" }
-bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.2.3" }
-bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.3" }
-bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.3" }
-bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.3" }
-bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.3" }
-world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.3"}
-bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.3"}
-bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.3"}
+bolt-types = { path = "crates/types", version = "=0.2.4" }
+bolt-lang = { path = "crates/bolt-lang", version = "=0.2.4" }
+bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.2.4" }
+bolt-attribute-bolt-delegate = { path = "crates/bolt-lang/attribute/delegate", version = "=0.2.4" }
+bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.2.4" }
+bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.2.4"}
+bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.2.4" }
+bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.2.4" }
+bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.2.4" }
+bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.2.4" }
+bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.2.4" }
+bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.2.4" }
+world = { path = "crates/programs/world", features = ["cpi"], version = "=0.2.4"}
+bolt-system = { path = "crates/programs/bolt-system", features = ["cpi"], version = "=0.2.4"}
+bolt-component = { path = "crates/programs/bolt-component", features = ["cpi"], version = "=0.2.4"}
 
 
 ## External crates
 ## External crates
-session-keys       = { version = ">=2.0.7", features = ["no-entrypoint"] }
-anchor-lang        = { version = ">=0.31.1", features = ["init-if-needed"] }
-anchor-cli         = { version = ">=0.31.1" }
-anchor-client      = { version = ">=0.31.1", features = ["async"] }
-anchor-syn         = { version = ">=0.31.1" }
-anchor-lang-idl = { version = ">=0.1.2" }
-solana-program  = { version = ">=2.0.25" }
-solana-client   = { version = ">=2.0.25" }
-mpl-token-metadata = { version = ">=5.1.0" }
-solana-security-txt = ">=1.1.1"
+session-keys       = { version = "^2", features = ["no-entrypoint"] }
+anchor-lang        = { version = "^0", features = ["init-if-needed"] }
+anchor-cli         = { version = "^0" }
+anchor-client      = { version = "^0", features = ["async"] }
+anchor-syn         = { version = "^0" }
+anchor-lang-idl = { version = "^0" }
+solana-program  = { version = "^2" }
+zeroize = "^1.7"
+mpl-token-metadata = { version = "^5" }
+solana-security-txt = "^1"
 tuple-conv = "1.0.1"
 tuple-conv = "1.0.1"
 syn = { version = "1.0.60", features = ["full"] }
 syn = { version = "1.0.60", features = ["full"] }
-ligen-ir = "=0.1.18"
 quote = "1.0"
 quote = "1.0"
-proc-macro2 = "=1.0.95"
-serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0"
-anyhow = "1.0.32"
+proc-macro2 = "^1"
+serde = { version = "^1", features = ["derive"] }
+serde_json = "^1"
+anyhow = "^1"
 heck = "0.5.0"
 heck = "0.5.0"
 clap = { version = "4.2.4", features = ["derive"] }
 clap = { version = "4.2.4", features = ["derive"] }
 ahash = "=0.8.11"
 ahash = "=0.8.11"
-ephemeral-rollups-sdk = "0.2.6"
-bincode = "=1.3.3"
-which = "7.0.2"
-tokio = { version = "1", features = ["full"] }
-sysinfo = "0.33.1"
-bytemuck_derive = "=1.8.1"
-
+ephemeral-rollups-sdk = "^0"
+bincode = "^1"
+which = "^7"
+tokio = { version = "^1", features = ["full"] }
+sysinfo = "^0"
+bytemuck_derive = "^1"
 
 
 [profile.release]
 [profile.release]
 overflow-checks = true
 overflow-checks = true

+ 1 - 1
clients/typescript/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@magicblock-labs/bolt-sdk",
   "name": "@magicblock-labs/bolt-sdk",
-  "version": "0.2.3",
+  "version": "0.2.4",
   "description": "Bolt typescript SDK",
   "description": "Bolt typescript SDK",
   "author": "dev@magicblock.gg",
   "author": "dev@magicblock.gg",
   "license": "MIT",
   "license": "MIT",

+ 2 - 2
clients/typescript/src/generated/idl/world.json

@@ -1,8 +1,8 @@
 {
 {
-  "address": "WorLD15A7CrDwLcLy4fRqtaTb9fbd8o8iqiEMUDse2n",
+  "address": "A61GccEkeYiQeRM5HbQW5SZwiicoPjFJaRcLt22qSnhP",
   "metadata": {
   "metadata": {
     "name": "world",
     "name": "world",
-    "version": "0.2.2",
+    "version": "0.2.3",
     "spec": "0.1.0",
     "spec": "0.1.0",
     "description": "Bolt World program",
     "description": "Bolt World program",
     "repository": "https://github.com/magicblock-labs/bolt"
     "repository": "https://github.com/magicblock-labs/bolt"

+ 1 - 1
clients/typescript/src/generated/types/world.ts

@@ -8,7 +8,7 @@ export type World = {
   address: "WorLD15A7CrDwLcLy4fRqtaTb9fbd8o8iqiEMUDse2n";
   address: "WorLD15A7CrDwLcLy4fRqtaTb9fbd8o8iqiEMUDse2n";
   metadata: {
   metadata: {
     name: "world";
     name: "world";
-    version: "0.2.2";
+    version: "0.2.3";
     spec: "0.1.0";
     spec: "0.1.0";
     description: "Bolt World program";
     description: "Bolt World program";
     repository: "https://github.com/magicblock-labs/bolt";
     repository: "https://github.com/magicblock-labs/bolt";

+ 16 - 16
clients/typescript/yarn.lock

@@ -82,7 +82,7 @@
     bs58 "^5.0.0"
     bs58 "^5.0.0"
     debug "^4.3.4"
     debug "^4.3.4"
 
 
-"@metaplex-foundation/beet@^0.7.1", "@metaplex-foundation/beet@^0.7.2", "@metaplex-foundation/beet@>=0.1.0":
+"@metaplex-foundation/beet@>=0.1.0", "@metaplex-foundation/beet@^0.7.1", "@metaplex-foundation/beet@^0.7.2":
   version "0.7.2"
   version "0.7.2"
   resolved "https://registry.npmjs.org/@metaplex-foundation/beet/-/beet-0.7.2.tgz"
   resolved "https://registry.npmjs.org/@metaplex-foundation/beet/-/beet-0.7.2.tgz"
   integrity sha512-K+g3WhyFxKPc0xIvcIjNyV1eaTVJTiuaHZpig7Xx0MuYRMoJLLvhLTnUXhFdR5Tu2l2QSyKwfyXDgZlzhULqFg==
   integrity sha512-K+g3WhyFxKPc0xIvcIjNyV1eaTVJTiuaHZpig7Xx0MuYRMoJLLvhLTnUXhFdR5Tu2l2QSyKwfyXDgZlzhULqFg==
@@ -126,7 +126,7 @@
   dependencies:
   dependencies:
     "@noble/hashes" "1.7.1"
     "@noble/hashes" "1.7.1"
 
 
-"@noble/hashes@^1.3.1", "@noble/hashes@^1.4.0", "@noble/hashes@1.7.1":
+"@noble/hashes@1.7.1", "@noble/hashes@^1.3.1", "@noble/hashes@^1.4.0":
   version "1.7.1"
   version "1.7.1"
   resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.7.1.tgz"
   resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.7.1.tgz"
   integrity sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==
   integrity sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==
@@ -202,6 +202,14 @@
   dependencies:
   dependencies:
     "@types/node" "*"
     "@types/node" "*"
 
 
+JSONStream@^1.3.5:
+  version "1.3.5"
+  resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz"
+  integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==
+  dependencies:
+    jsonparse "^1.2.0"
+    through ">=2.2.7 <3"
+
 agentkeepalive@^4.5.0:
 agentkeepalive@^4.5.0:
   version "4.6.0"
   version "4.6.0"
   resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz"
   resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz"
@@ -340,7 +348,7 @@ buffer-layout@^1.2.0, buffer-layout@^1.2.2:
   resolved "https://registry.npmjs.org/buffer-layout/-/buffer-layout-1.2.2.tgz"
   resolved "https://registry.npmjs.org/buffer-layout/-/buffer-layout-1.2.2.tgz"
   integrity sha512-kWSuLN694+KTk8SrYvCqwP2WcgQjoRCiF5b4QDvkkz8EmgD+aWAIceGFKMIAdmF/pH+vpgNV3d3kAKorcdAmWA==
   integrity sha512-kWSuLN694+KTk8SrYvCqwP2WcgQjoRCiF5b4QDvkkz8EmgD+aWAIceGFKMIAdmF/pH+vpgNV3d3kAKorcdAmWA==
 
 
-buffer@^6.0.3, buffer@~6.0.3, buffer@6.0.3:
+buffer@6.0.3, buffer@^6.0.3, buffer@~6.0.3:
   version "6.0.3"
   version "6.0.3"
   resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz"
   resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz"
   integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==
   integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==
@@ -758,13 +766,13 @@ jayson@^4.1.1:
     "@types/connect" "^3.4.33"
     "@types/connect" "^3.4.33"
     "@types/node" "^12.12.54"
     "@types/node" "^12.12.54"
     "@types/ws" "^7.4.4"
     "@types/ws" "^7.4.4"
+    JSONStream "^1.3.5"
     commander "^2.20.3"
     commander "^2.20.3"
     delay "^5.0.0"
     delay "^5.0.0"
     es6-promisify "^5.0.0"
     es6-promisify "^5.0.0"
     eyes "^0.1.8"
     eyes "^0.1.8"
     isomorphic-ws "^4.0.1"
     isomorphic-ws "^4.0.1"
     json-stringify-safe "^5.0.1"
     json-stringify-safe "^5.0.1"
-    JSONStream "^1.3.5"
     uuid "^8.3.2"
     uuid "^8.3.2"
     ws "^7.5.10"
     ws "^7.5.10"
 
 
@@ -788,14 +796,6 @@ jsonparse@^1.2.0:
   resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz"
   resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz"
   integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==
   integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==
 
 
-JSONStream@^1.3.5:
-  version "1.3.5"
-  resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz"
-  integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==
-  dependencies:
-    jsonparse "^1.2.0"
-    through ">=2.2.7 <3"
-
 loglevel@^1.9.2:
 loglevel@^1.9.2:
   version "1.9.2"
   version "1.9.2"
   resolved "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz"
   resolved "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz"
@@ -1147,7 +1147,7 @@ typedoc-plugin-markdown@^3.17.1:
   dependencies:
   dependencies:
     handlebars "^4.7.7"
     handlebars "^4.7.7"
 
 
-typedoc@^0.25.4, typedoc@>=0.24.0:
+typedoc@^0.25.4:
   version "0.25.13"
   version "0.25.13"
   resolved "https://registry.npmjs.org/typedoc/-/typedoc-0.25.13.tgz"
   resolved "https://registry.npmjs.org/typedoc/-/typedoc-0.25.13.tgz"
   integrity sha512-pQqiwiJ+Z4pigfOnnysObszLiU3mVLWAExSPf+Mu06G/qsc3wzbuM56SZQvONhHLncLUhYzOVkjFFpFfL5AzhQ==
   integrity sha512-pQqiwiJ+Z4pigfOnnysObszLiU3mVLWAExSPf+Mu06G/qsc3wzbuM56SZQvONhHLncLUhYzOVkjFFpFfL5AzhQ==
@@ -1157,7 +1157,7 @@ typedoc@^0.25.4, typedoc@>=0.24.0:
     minimatch "^9.0.3"
     minimatch "^9.0.3"
     shiki "^0.14.7"
     shiki "^0.14.7"
 
 
-typescript@^4.5.5, "typescript@4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x":
+typescript@^4.5.5:
   version "4.9.5"
   version "4.9.5"
   resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
   resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
   integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
   integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
@@ -1167,7 +1167,7 @@ uglify-js@^3.1.4:
   resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz"
   resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz"
   integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==
   integrity sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==
 
 
-utf-8-validate@^5.0.2, utf-8-validate@>=5.0.2:
+utf-8-validate@^5.0.2:
   version "5.0.10"
   version "5.0.10"
   resolved "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz"
   resolved "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz"
   integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==
   integrity sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==
@@ -1255,7 +1255,7 @@ wrap-ansi@^8.1.0:
     string-width "^5.0.1"
     string-width "^5.0.1"
     strip-ansi "^7.0.1"
     strip-ansi "^7.0.1"
 
 
-ws@*, ws@^7.5.10:
+ws@^7.5.10:
   version "7.5.10"
   version "7.5.10"
   resolved "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz"
   resolved "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz"
   integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==
   integrity sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==

+ 8 - 8
crates/bolt-cli/npm-package/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@magicblock-labs/bolt-cli",
   "name": "@magicblock-labs/bolt-cli",
-  "version": "0.2.3",
+  "version": "0.2.4",
   "description": "Bolt CLI tool",
   "description": "Bolt CLI tool",
   "homepage": "https://github.com/magicblock-labs/bolt#readme",
   "homepage": "https://github.com/magicblock-labs/bolt#readme",
   "bugs": {
   "bugs": {
@@ -27,13 +27,13 @@
     "prettier": "^3.3.3"
     "prettier": "^3.3.3"
   },
   },
   "optionalDependencies": {
   "optionalDependencies": {
-    "@magicblock-labs/bolt-cli-darwin-x64": "0.2.3",
-    "@magicblock-labs/bolt-cli-darwin-arm64": "0.2.3",
-    "@magicblock-labs/bolt-cli-linux-x86": "0.2.3",
-    "@magicblock-labs/bolt-cli-linux-x64": "0.2.3",
-    "@magicblock-labs/bolt-cli-linux-arm64": "0.2.3",
-    "@magicblock-labs/bolt-cli-windows-x86": "0.2.3",
-    "@magicblock-labs/bolt-cli-windows-x64": "0.2.3"
+    "@magicblock-labs/bolt-cli-darwin-x64": "0.2.4",
+    "@magicblock-labs/bolt-cli-darwin-arm64": "0.2.4",
+    "@magicblock-labs/bolt-cli-linux-x86": "0.2.4",
+    "@magicblock-labs/bolt-cli-linux-x64": "0.2.4",
+    "@magicblock-labs/bolt-cli-linux-arm64": "0.2.4",
+    "@magicblock-labs/bolt-cli-windows-x86": "0.2.4",
+    "@magicblock-labs/bolt-cli-windows-x64": "0.2.4"
   },
   },
   "publishConfig": {
   "publishConfig": {
     "access": "public"
     "access": "public"

+ 1 - 1
crates/bolt-cli/npm-package/package.json.tmpl

@@ -1,7 +1,7 @@
 {
 {
   "name": "@magicblock-labs/${node_pkg}",
   "name": "@magicblock-labs/${node_pkg}",
   "description": "Bolt CLI tool (${node_pkg})",
   "description": "Bolt CLI tool (${node_pkg})",
-  "version": "0.2.3",
+  "version": "0.2.4",
   "repository": {
   "repository": {
     "type": "git",
     "type": "git",
     "url": "git+https://github.com/magicblock-labs/bolt.git"
     "url": "git+https://github.com/magicblock-labs/bolt.git"

+ 7 - 1
crates/bolt-lang/Cargo.toml

@@ -41,4 +41,10 @@ serde.workspace = true
 serde_json.workspace = true
 serde_json.workspace = true
 ahash.workspace = true
 ahash.workspace = true
 solana-program.workspace = true
 solana-program.workspace = true
-bincode.workspace = true
+bincode.workspace = true
+zeroize.workspace = true
+
+[dependencies.getrandom]
+version = "^0"
+default-features = false
+features = ["dummy"]

+ 1 - 1
crates/bolt-lang/attribute/component/Cargo.toml

@@ -13,7 +13,7 @@ proc-macro = true
 
 
 [dependencies]
 [dependencies]
 syn = { workspace = true }
 syn = { workspace = true }
-ligen-ir = { workspace = true }
 bolt-utils = { workspace = true }
 bolt-utils = { workspace = true }
+heck = { workspace = true }
 quote = { workspace = true }
 quote = { workspace = true }
 proc-macro2 = { workspace = true }
 proc-macro2 = { workspace = true }

+ 4 - 2
crates/bolt-lang/attribute/component/src/lib.rs

@@ -7,6 +7,7 @@ use syn::{
 };
 };
 
 
 use bolt_utils::add_bolt_metadata;
 use bolt_utils::add_bolt_metadata;
+use heck::ToSnakeCase;
 
 
 /// This Component attribute is used to automatically generate the seed and size functions
 /// This Component attribute is used to automatically generate the seed and size functions
 ///
 ///
@@ -53,8 +54,9 @@ pub fn component(attr: TokenStream, item: TokenStream) -> TokenStream {
     add_bolt_metadata(&mut input);
     add_bolt_metadata(&mut input);
 
 
     let name = &input.ident;
     let name = &input.ident;
-    let component_name = ligen_ir::Identifier::new(name.to_string()).to_snake_case();
-    let component_name = syn::Ident::new(&component_name.to_string(), input.ident.span());
+
+    let snake_case_name = name.to_string().to_snake_case();
+    let component_name = syn::Ident::new(&snake_case_name, input.ident.span());
 
 
     let bolt_program = if delegate_set {
     let bolt_program = if delegate_set {
         quote! {
         quote! {

+ 12 - 3
docs/CHANGELOG.md

@@ -1,15 +1,24 @@
 
 
-## [0.2.3] - 2025-04-25
+## [0.2.4] - 2025-07-23
+
+### 📚 Documentation
+ - Adding latest nightly Rust toolchain as a requirement (#181)
+
+## [0.2.3] - 2025-04-28
 
 
 ### ✨️ Features
 ### ✨️ Features
  - Updating Bolt client for C# (#129)
  - Updating Bolt client for C# (#129)
- - Adding DestroyComponent function (#143)
- - Separating apply and apply_with_session (#141)
 
 
 
 
 ### 🐛 Bug Fixes
 ### 🐛 Bug Fixes
  - Fixing async cli commands (#159)
  - Fixing async cli commands (#159)
 
 
+## [0.2.2] - 2025-02-24
+
+### ✨️ Features
+ - Adding DestroyComponent function (#143)
+ - Separating apply and apply_with_session (#141)
+
 ## [0.2.1] - 2025-02-17
 ## [0.2.1] - 2025-02-17
 
 
 ### ✨️ Features
 ### ✨️ Features

Some files were not shown because too many files changed in this diff