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: content/contracts-cairo/3.x/guides/deploy-udc.mdx
+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
@@ -33,7 +33,7 @@ under one important assumption: **the declared UDC class hash MUST be the same a
33
33
Different compiler versions may produce different class hashes for the same contract, so you need to make
34
34
sure you are using the same compiler version to build the UDC class (and the release profile).
35
35
36
-
The latest version of the UDC available in the `openzeppelin_presets` package was compiled with **Cairo v2.13.1** (release profile) and the resulting class hash is `0x01b2df6d8861670d4a8ca4670433b2418d78169c2947f46dc614e69f333745c8`.
36
+
The latest UDC version available in the `openzeppelin_presets` package was compiled from library version `v2.0.0` using **Cairo v2.11.4** (release profile). The resulting class hash is `0x01b2df6d8861670d4a8ca4670433b2418d78169c2947f46dc614e69f333745c8`.
37
37
38
38
<Callouttype='warn'>
39
39
If you are using a different compiler version, you need to make sure the class hash is the same as the one above in order to keep the same address across all networks.
@@ -88,7 +88,7 @@ The bootstrapper contract is a simple contract that declares the UDC and allows
88
88
You can find a reference implementation below:
89
89
90
90
<Callout>
91
-
This reference implementation targets Cairo v2.13.1. If you are using a different version of Cairo, you may need to update the code to match your compiler version.
91
+
This reference implementation targets Cairo v2.11.4. If you are using a different version of Cairo, you may need to update the code to match your compiler version.
0 commit comments