From 1520c91068b7cd00027612f6bb8c6efb05c07bea Mon Sep 17 00:00:00 2001 From: Pavlo Botnar Date: Fri, 13 Dec 2024 13:10:39 +0200 Subject: [PATCH 1/3] fix(iota-genesis-builder): address_swap_map_path becomes optional (#4490) --- crates/iota-genesis-builder/src/main.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/crates/iota-genesis-builder/src/main.rs b/crates/iota-genesis-builder/src/main.rs index 403080b5ee7..e0adc0db630 100644 --- a/crates/iota-genesis-builder/src/main.rs +++ b/crates/iota-genesis-builder/src/main.rs @@ -46,7 +46,7 @@ enum Snapshot { long, help = "Path to the address swap map file. This must be a CSV file with two columns, where an entry contains in the first column an IotaAddress present in the Hornet full-snapshot and in the second column an IotaAddress that will be used for the swap." )] - address_swap_map_path: String, + address_swap_map_path: Option, #[clap(long, value_parser = clap::value_parser!(MigrationTargetNetwork), help = "Target network for migration")] target_network: MigrationTargetNetwork, }, @@ -84,7 +84,11 @@ fn main() -> Result<()> { CoinType::Iota => scale_amount_for_iota(snapshot_parser.total_supply()?)?, }; - let address_swap_map = AddressSwapMap::from_csv(&address_swap_map_path)?; + let address_swap_map = if let Some(address_swap_map_path) = address_swap_map_path { + AddressSwapMap::from_csv(&address_swap_map_path)? + } else { + AddressSwapMap::default() + }; // Prepare the migration using the parser output stream let migration = Migration::new( snapshot_parser.target_milestone_timestamp(), From cf7ec2bd6de6bf6054e53ea718c9a61fe5d39a40 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 12:31:33 +0100 Subject: [PATCH 2/3] Version Packages (#4484) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: BegoƱa Alvarez --- .changeset/silly-bulldogs-divide.md | 6 ------ sdk/create-dapp/CHANGELOG.md | 8 ++++++++ sdk/create-dapp/package.json | 2 +- sdk/dapp-kit/CHANGELOG.md | 8 ++++++++ sdk/dapp-kit/package.json | 2 +- sdk/graphql-transport/CHANGELOG.md | 7 +++++++ sdk/graphql-transport/package.json | 2 +- sdk/kiosk/CHANGELOG.md | 12 ++++++++++++ sdk/kiosk/package.json | 2 +- sdk/typescript/CHANGELOG.md | 7 +++++++ sdk/typescript/package.json | 2 +- sdk/typescript/src/version.ts | 2 +- sdk/wallet-standard/CHANGELOG.md | 7 +++++++ sdk/wallet-standard/package.json | 2 +- 14 files changed, 56 insertions(+), 13 deletions(-) delete mode 100644 .changeset/silly-bulldogs-divide.md diff --git a/.changeset/silly-bulldogs-divide.md b/.changeset/silly-bulldogs-divide.md deleted file mode 100644 index 9db48e0918f..00000000000 --- a/.changeset/silly-bulldogs-divide.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@iota/kiosk': minor -'@iota/iota-sdk': minor ---- - -Add default royalty, kiosk lock, floor price & personal kiosk rules package ids to testnet network diff --git a/sdk/create-dapp/CHANGELOG.md b/sdk/create-dapp/CHANGELOG.md index 1354dbff338..d04a319a617 100644 --- a/sdk/create-dapp/CHANGELOG.md +++ b/sdk/create-dapp/CHANGELOG.md @@ -1,5 +1,13 @@ # @iota/create-dapp +## 0.2.2 + +### Patch Changes + +- Updated dependencies [9864dcb] + - @iota/iota-sdk@0.4.0 + - @iota/dapp-kit@0.3.2 + ## 0.2.1 ### Patch Changes diff --git a/sdk/create-dapp/package.json b/sdk/create-dapp/package.json index af275038111..29361e97cce 100644 --- a/sdk/create-dapp/package.json +++ b/sdk/create-dapp/package.json @@ -3,7 +3,7 @@ "author": "IOTA Foundation ", "description": "A CLI for creating new IOTA dApps", "homepage": "https://docs.iota.org/references/ts-sdk/typescript/", - "version": "0.2.1", + "version": "0.2.2", "license": "Apache-2.0", "files": [ "CHANGELOG.md", diff --git a/sdk/dapp-kit/CHANGELOG.md b/sdk/dapp-kit/CHANGELOG.md index c385559519c..224182b16a1 100644 --- a/sdk/dapp-kit/CHANGELOG.md +++ b/sdk/dapp-kit/CHANGELOG.md @@ -1,5 +1,13 @@ # @iota/dapp-kit +## 0.3.2 + +### Patch Changes + +- Updated dependencies [9864dcb] + - @iota/iota-sdk@0.4.0 + - @iota/wallet-standard@0.2.2 + ## 0.3.1 ### Patch Changes diff --git a/sdk/dapp-kit/package.json b/sdk/dapp-kit/package.json index 4060a691508..096b7694d2e 100644 --- a/sdk/dapp-kit/package.json +++ b/sdk/dapp-kit/package.json @@ -3,7 +3,7 @@ "author": "IOTA Foundation ", "description": "A collection of React hooks and components for interacting with the IOTA blockchain and wallets.", "homepage": "https://docs.iota.org/references/ts-sdk/dapp-kit/", - "version": "0.3.1", + "version": "0.3.2", "license": "Apache-2.0", "files": [ "CHANGELOG.md", diff --git a/sdk/graphql-transport/CHANGELOG.md b/sdk/graphql-transport/CHANGELOG.md index 09c3bda7086..ab39c68ca55 100644 --- a/sdk/graphql-transport/CHANGELOG.md +++ b/sdk/graphql-transport/CHANGELOG.md @@ -1,5 +1,12 @@ # @iota/graphql-transport +## 0.2.2 + +### Patch Changes + +- Updated dependencies [9864dcb] + - @iota/iota-sdk@0.4.0 + ## 0.2.1 ### Patch Changes diff --git a/sdk/graphql-transport/package.json b/sdk/graphql-transport/package.json index 2227a81a102..262ab7e6e3d 100644 --- a/sdk/graphql-transport/package.json +++ b/sdk/graphql-transport/package.json @@ -1,6 +1,6 @@ { "name": "@iota/graphql-transport", - "version": "0.2.1", + "version": "0.2.2", "description": "A GraphQL transport to allow IotaClient to work with RPC 2.0", "license": "Apache-2.0", "author": "IOTA Foundation ", diff --git a/sdk/kiosk/CHANGELOG.md b/sdk/kiosk/CHANGELOG.md index 64072a1683d..893388e7e87 100644 --- a/sdk/kiosk/CHANGELOG.md +++ b/sdk/kiosk/CHANGELOG.md @@ -1,5 +1,17 @@ # @iota/kiosk +## 0.3.0 + +### Minor Changes + +- 9864dcb: Add default royalty, kiosk lock, floor price & personal kiosk rules package ids to + testnet network + +### Patch Changes + +- Updated dependencies [9864dcb] + - @iota/iota-sdk@0.4.0 + ## 0.2.1 ### Patch Changes diff --git a/sdk/kiosk/package.json b/sdk/kiosk/package.json index ac2524cfc11..e210f5b4661 100644 --- a/sdk/kiosk/package.json +++ b/sdk/kiosk/package.json @@ -2,7 +2,7 @@ "name": "@iota/kiosk", "author": "IOTA Foundation ", "description": "IOTA Kiosk library", - "version": "0.2.1", + "version": "0.3.0", "license": "Apache-2.0", "type": "commonjs", "main": "./dist/cjs/index.js", diff --git a/sdk/typescript/CHANGELOG.md b/sdk/typescript/CHANGELOG.md index 21d1242a7af..d69da4adad8 100644 --- a/sdk/typescript/CHANGELOG.md +++ b/sdk/typescript/CHANGELOG.md @@ -1,5 +1,12 @@ # @iota/iota-sdk +## 0.4.0 + +### Minor Changes + +- 9864dcb: Add default royalty, kiosk lock, floor price & personal kiosk rules package ids to + testnet network + ## 0.3.1 ### Patch Changes diff --git a/sdk/typescript/package.json b/sdk/typescript/package.json index 2285a952c73..45cf01555b8 100644 --- a/sdk/typescript/package.json +++ b/sdk/typescript/package.json @@ -3,7 +3,7 @@ "author": "IOTA Foundation ", "description": "IOTA TypeScript API", "homepage": "https://docs.iota.org/references/ts-sdk/typescript/", - "version": "0.3.1", + "version": "0.4.0", "license": "Apache-2.0", "sideEffects": false, "files": [ diff --git a/sdk/typescript/src/version.ts b/sdk/typescript/src/version.ts index 8e619f300a4..d2405a15cce 100644 --- a/sdk/typescript/src/version.ts +++ b/sdk/typescript/src/version.ts @@ -4,5 +4,5 @@ // This file is generated by genversion.mjs. Do not edit it directly. -export const PACKAGE_VERSION = '0.3.1'; +export const PACKAGE_VERSION = '0.4.0'; export const TARGETED_RPC_VERSION = '0.8.0-alpha'; diff --git a/sdk/wallet-standard/CHANGELOG.md b/sdk/wallet-standard/CHANGELOG.md index f66c15f48d7..bc16a2364f5 100644 --- a/sdk/wallet-standard/CHANGELOG.md +++ b/sdk/wallet-standard/CHANGELOG.md @@ -1,5 +1,12 @@ # @iota/wallet-standard +## 0.2.2 + +### Patch Changes + +- Updated dependencies [9864dcb] + - @iota/iota-sdk@0.4.0 + ## 0.2.1 ### Patch Changes diff --git a/sdk/wallet-standard/package.json b/sdk/wallet-standard/package.json index 2939771ea80..09593d4d8ef 100644 --- a/sdk/wallet-standard/package.json +++ b/sdk/wallet-standard/package.json @@ -1,6 +1,6 @@ { "name": "@iota/wallet-standard", - "version": "0.2.1", + "version": "0.2.2", "description": "A suite of standard utilities for implementing wallets based on the Wallet Standard.", "license": "Apache-2.0", "author": "IOTA Foundation ", From 3befeadb92c51f4879c765ace612fec507062ad1 Mon Sep 17 00:00:00 2001 From: Lucas Tortora <85233773+lucas-tortora@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:35:26 -0300 Subject: [PATCH 3/3] fix(devx): fix move.toml and build-test.mdx (#4456) * fix(devx): fix move.toml and build-test.mdx * dprint --- docs/content/developer/getting-started/build-test.mdx | 2 +- examples/move/first_package/Move.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/developer/getting-started/build-test.mdx b/docs/content/developer/getting-started/build-test.mdx index 69b5289b910..6c4db2d6cf3 100644 --- a/docs/content/developer/getting-started/build-test.mdx +++ b/docs/content/developer/getting-started/build-test.mdx @@ -60,7 +60,7 @@ Test result: OK. Total tests: 0; passed: 0; failed: 0 ### Add Tests -You can add your first unit test by copying the following public test function and adding it to `first_package_tests` file, within the `tests` directory. +You can add your first unit test by copying the following public test function and adding it to the `first_package` file. ```move #[test] diff --git a/examples/move/first_package/Move.toml b/examples/move/first_package/Move.toml index 9003fc5d467..df18f6f1957 100644 --- a/examples/move/first_package/Move.toml +++ b/examples/move/first_package/Move.toml @@ -5,7 +5,7 @@ edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move # authors = ["..."] # e.g., ["Joe Smith (joesmith@noemail.com)", "John Snow (johnsnow@noemail.com)"] [dependencies] -Iota = { local = "../../../crates/iota-framework/packages/iota-framework" } +Iota = { git = "https://github.com/iotaledger/iota.git", subdir = "crates/iota-framework/packages/iota-framework", rev = "testnet" } # For remote import, use the `{ git = "...", subdir = "...", rev = "..." }`. # Revision can be a branch, a tag, and a commit hash.