From e9bcb3cccdc833ec7bf49d94f08166f7147d1e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Mon, 2 Oct 2023 21:28:02 +0300 Subject: [PATCH] doc: add last step --- .../v0.9_to_v1.0.0_near_sdk_rs.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md b/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md index e9285d157..a1f8d50c5 100644 --- a/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md +++ b/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md @@ -1,6 +1,6 @@ -# upgrade `v0.9` -> `v1.0.0` `near-sdk-rs` upgrade `migration guide` +# `v0.9` -> `v1.0.0` `near-sdk-rs` upgrade `migration guide` -The link to `nearcore` pr is [chore: borsh version update](https://github.com/near/near-sdk-rs/pull/1075) +The link to `near-sdk-rs` pr is [chore: borsh version update](https://github.com/near/near-sdk-rs/pull/1075) Steps: @@ -569,5 +569,19 @@ index d61ee8e..cae776c 100644 pub struct FungibleToken { ``` +## 12. finally, we update `borsh` version to `1.0.0`: + +```diff +diff --git a/near-sdk/Cargo.toml b/near-sdk/Cargo.toml +index a015a64..e6099d4 100644 +--- a/near-sdk/Cargo.toml ++++ b/near-sdk/Cargo.toml +@@ -26,3 +26,3 @@ near-sys = { path = "../near-sys", version = "0.2" } + base64 = "0.13" +-borsh = { version = "1.0.0-alpha.5", features = ["derive"] } ++borsh = { version = "1.0.0", features = ["derive"] } + bs58 = "0.4" +``` +