You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: steps/29/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Our goal over the next few steps will be to continually make our runtime more ge
6
6
7
7
The flexibility of generic runtime means that we can write code which works for multiple different configurations and types.
8
8
9
-
For example, up until now, we have been using `&'static str` to represent the accounts of users. This is obviously not the right thing to do, but is easy to implement for a basic blockchain tutorial like this.
9
+
For example, up until now, we have been using `String` to represent the accounts of users. This is obviously not the right thing to do, but is easy to implement for a basic blockchain tutorial like this.
10
10
11
11
What would you need to change in order to use more traditional cryptographic public keys?
12
12
@@ -83,7 +83,7 @@ But now that `Pallet` is generic, we need to concretely define those types when
You will notice that now the types are defined wherever the generic `struct Pallet` is being instantiated. This means that you can extract the types out of your Pallets, and move them into the Runtime.
0 commit comments