diff --git a/.env b/.env index dd9870f7..1baebc73 100644 --- a/.env +++ b/.env @@ -3,6 +3,6 @@ # ZBC_DEVELOPMENT_PATH=../zbc-development # ZBC_SOLIDITY_PATH=../zbc-solidity # ZBC_FHE_TOOL_PATH=../zbc-fhe-tool -#LOCAL_BUILD=false -LOCAL_BUILD=true +LOCAL_BUILD=false +#LOCAL_BUILD=true GOPRIVATE=github.com/zama-ai/* diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a9dafc3..a2819b61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,35 @@ Ref: https://keepachangelog.com/en/1.0.0/ # Changelog +## [v0.1.8] + +Evmos-node docker image: ghcr.io/zama-ai/evmos-node:v0.1.8 + +Evmos-node developer docker image: ghcr.io/zama-ai/evmos-dev-node:v0.1.8 + +**Major updates**: + +* Add TFHE scalar division operation by @david-zama in [go-ethereum/pull/151](https://github.com/zama-ai/go-ethereum/pull/151) +* Add precompile to all releases by @tremblaythibaultl in [go-ethereum/pull/154](https://github.com/zama-ai/go-ethereum/pull/154) +* Fix gas estimation for explicit decryption by @dartdart26 in [go-ethereum/pull/155](https://github.com/zama-ai/go-ethereum/pull/155) + +For build: + +| Name | Type | version | +| :---------: | :--------: | :--------------------------------------: | +| go-ethereum | repository | v0.1.9 | +| ethermint | repository | v0.1.2 | +| tfhe-rs | repository | 0.3.1 | + + +For e2e test: + +| Name | Type | version | +| :------------------: | :--------: | :-------------: | +| fhevm-solidity | repository | v0.1.9 | +| fhevm-tfhe-cli | repository | v0.2.0 | +| fhevm-decryptions-db | repository | v0.2.0 | + ## [v0.1.7] **This version includes a repository renaming!** diff --git a/README.md b/README.md index 4a34d883..9b82058f 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,6 @@ Please check the [CHANGELOG](./CHANGELOG.md) to get the last version of the publ The quick start is to follow this [section](#from-github-package-registry) -Note: on arm64 we still have some issues, fixes are coming soon - # Local build @@ -84,13 +82,13 @@ Dependencies: ## From sources -If the developer wants to build everything locally from sources, and run the e2e test this build is the more adapted. +If the developer wants to build everything locally from sources, and run the e2e test, this build is the more adapted. Dependencies: | Name | Type | Variable name | where it is defined | | ----------- | ---------- | --------------- | ------------------- | -| evmos | repository | LOCAL_BUILD | .env | +| evmos | repository | LOCAL_BUILD | .env (set to true) | | go-ethereum | repository | - | directly in go.mod | | ethermint | repository | - | directly in go.mod | | tfhe-rs | repository | TFHE_RS_VERSION | Makefile/.env | @@ -138,12 +136,13 @@ CONTAINER ID IMAGE NAMES To execute the e2e test, here are the dependencies: -| Name | Type | Variable name | where it is defined | -| ------------- | ---------- | --------------------- | ------------------- | -| evmos | repository | LOCAL_BUILD | .env | -| zbc-solidity | repository | ZBC_SOLIDITY_VERSION | Makefile/.env | -| zbc-fhe-tool | repository | ZBC_FHE_TOOL_VERSION | Makefile/.env | -| zbc-oracle-db | repository | ZBC_ORACLE_DB_VERSION | Makefile/.env | +| Name | Type | Variable name | where it is defined | +| -------------------- | ---------- | ---------------------------- | ------------------- | +| evmos | repository | LOCAL_BUILD | .env (set to true) | +| fhevm-solidity | repository | FHEVM_SOLIDITY_VERSION | Makefile/.env | +| fhevm-tfhe-cli | repository | FHEVM_TFHE_CLI_VERSION | Makefile/.env | +| fhevm-decryptions-db | repository | FHEVM_DECRYPTIONS_DB_VERSION | Makefile/.env | + @@ -164,11 +163,11 @@ make stop_evmos - check you have all the needed repositories - - zbc-fhe-tool - - zbc-solidity - - zbc-oracledb + - fhevm-tfhe-cli + - fhevm-solidity + - fhevm-decryptions-db - init evmos node by calling /config/setup.sh file -- generate fhe keys using zbc-fhe-tool based on scripts/prepare_volumes_from_fhe_tool.sh script +- generate fhe keys using fhevm-tfhe-cli based on scripts/prepare_volumes_from_fhe_tool.sh script - copy them at the right folder using scripts/prepare_demo_local.sh script - start evmosnodelocal0 and oracledb (local build) using docker-compose/docker-compose.local.yml file - run the e2e test @@ -188,12 +187,10 @@ Dependencies: | Name | Type | Variable name | where it is defined | | -------------------------- | ----------------- | ------------- | ---------------------------- | -| evmos | repository | LOCAL_BUILD | .env | +| evmos | repository | LOCAL_BUILD | .env (set to false) | | ghcr.io/zama-ai/evmos-node | docker image name | hard-coded | docker-compose.validator.yml | - - Init evmos and run it: ```bash @@ -205,7 +202,7 @@ make run_evmos Docker ps output: ``` CONTAINER ID IMAGE NAMES -02b40fb0bdf7 ghcr.io/zama-ai/evmos-node:v0.1.0 evmosnode0 +02b40fb0bdf7 ghcr.io/zama-ai/evmos-node:v0.1.8 evmosnode0 ac2073c0d6fc ghcr.io/zama-ai/oracle-db-service:latest zbcoracledb ``` @@ -218,28 +215,24 @@ make run_evmos make run_e2e_test make stop_evmos ``` -| Name | Type | Variable name | where it is defined | -| :------------------------: | :---------------: | :-------------------: | :--------------------------: | -| evmos | evmos | LOCAL_BUILD | .env | -| ghcr.io/zama-ai/evmos-node | docker image name | hard-coded | docker-compose.validator.yml | -| oracle-db-service | docker image name | hard-coded | docker-compose.validator.yml | -| zbc-solidity | repository | ZBC_SOLIDITY_VERSION | Makefile/.env | -| zbc-fhe-tool | repository | ZBC_FHE_TOOL_VERSION | Makefile/.env | -| zbc-oracle-db | repository | ZBC_ORACLE_DB_VERSION | Makefile/.env | - - +| Name | Type | Variable name | where it is defined | +| :------------------------: | :---------------: | :--------------------------: | :--------------------------: | +| evmos | evmos | LOCAL_BUILD | .env | +| ghcr.io/zama-ai/evmos-node | docker image name | hard-coded | docker-compose.validator.yml | +| oracle-db-service | docker image name | hard-coded | docker-compose.validator.yml | +| fhevm-solidity | repository | FHEVM_SOLIDITY_VERSION | Makefile/.env | +| fhevm-tfhe-cli | repository | FHEVM_TFHE_CLI_VERSION | Makefile/.env | +| fhevm-decryptions-db | repository | FHEVM_DECRYPTIONS_DB_VERSION | Makefile/.env | -Note: -- for the zbc-oracle-db docker image it could not work on arm64 because the arm64 version is not yet pushed in ghcr.io
Troubleshoot ghcr.io -Here is a tutorial on [how to manage ghcr.io access](https://github.com/zama-ai/zbc-fhe-tool#using-the-published-image-easiest-way). +Here is a tutorial on [how to manage ghcr.io access](https://github.com/zama-ai/fhevm-tfhe-cli#using-the-published-image-easiest-way). - If you get trouble to pull image from ghcri.io, one can build it locally with + If you get trouble to pull image from ghcr.io, one can build it locally with ```bash docker build . -t zama-zbc-build -f docker/Dockerfile.zbc.build ``` diff --git a/docker-compose/docker-compose.validator.yml b/docker-compose/docker-compose.validator.yml index 9d2e867e..600d669d 100644 --- a/docker-compose/docker-compose.validator.yml +++ b/docker-compose/docker-compose.validator.yml @@ -2,7 +2,7 @@ version: '3' services: validator: - image: ghcr.io/zama-ai/evmos-node:v0.1.6 + image: ghcr.io/zama-ai/evmos-node:v0.1.8 container_name: evmosnode0 ports: - "26656-26657:26656-26657" @@ -21,7 +21,7 @@ services: ipv4_address: 192.167.10.2 oracledb: - image: ghcr.io/zama-ai/oracle-db-service:latest + image: ghcr.io/zama-ai/fhevm-decryptions-db:v0.1.5 container_name: zbcoracledb security_opt: - no-new-privileges:true