Skip to content

Commit

Permalink
doc: add last step
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Oct 2, 2023
1 parent 05b7788 commit c2afc85
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down Expand Up @@ -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"
```

0 comments on commit c2afc85

Please sign in to comment.