Skip to content

Commit 37455fd

Browse files
committed
Clarify UDC source code version
1 parent e2e5e94 commit 37455fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/contracts-cairo/3.x/guides/deploy-udc.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ under one important assumption: **the declared UDC class hash MUST be the same a
3333
Different compiler versions may produce different class hashes for the same contract, so you need to make
3434
sure you are using the same compiler version to build the UDC class (and the release profile).
3535

36-
The latest version of the UDC available in the `openzeppelin_presets` package was compiled with **Cairo v2.11.4** (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`.
3737

3838
<Callout type='warn'>
3939
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.

0 commit comments

Comments
 (0)