From 78dcd7a25d24799ed332e583ded6dc74fc6eee2a Mon Sep 17 00:00:00 2001 From: Paul Etscheit Date: Tue, 23 Apr 2024 13:40:09 +0200 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b5d8695..7d1b70c 100644 --- a/README.md +++ b/README.md @@ -15,17 +15,17 @@ As these functions are written in cairo0, we rely on git submodules for using th E.g. like this: ```gitmodules -[submodule "packages/evm_libs_cairo"] - path = packages/evm_libs_cairo - url = https://github.com/HerodotusDev/evm_libs_cairo.git +[submodule "packages/eth-essentials"] + path = packages/eth-essentials + url = https://github.com/HerodotusDev/eth-essentials.git ``` -When compiling your program, it is important to set the `CAIRO_PATH` environment variable to the path of the `evm_libs_cairo` directory. This is necessary for the compiler to find the imported functions. For the example above, this would look like this: `cairo-compile --cairo_path="packages/evm_libs_cairo" ...` +When compiling your program, it is important to set the `CAIRO_PATH` environment variable to the path of the `eth-essentials` directory. This is necessary for the compiler to find the imported functions. For the example above, this would look like this: `cairo-compile --cairo_path="packages/eth-essentials" ...` Now the functions can be imported like this: ```python -from packages.evm_libs_cairo.lib.utils import pow2alloc128 +from packages.eth-essentials.lib.utils import pow2alloc128 ``` ### Testing