Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liorbond committed Feb 5, 2024
1 parent 940c79c commit becf52b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/devdocs/Writing Smart Contracts/Gas-and-Banchmarks.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 🔥 Gas and Banchmarks

This section will list the gas costs for every operation based on it's inputs.
The way we decided how much gas will each and every operation consume was by checking how much time each operation takes in a QUERY. We decided to set the gas cost of `FHE.div` of `euint32` to be around 1 million gas units and set the price of other operations accordingly
The gas prices are a subject to change based on usage and performance.

:::tip
The current gas limit for a tranasaction is set to be 50 million
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ In this example, lhs.add(rhs) performs the addition, using the library function

For an even more intuitive approach, FHE.sol supports operator overloading. This means you can use standard arithmetic operators like +, -, \*, etc., directly on encrypted types. Here's how you can use it for adding two euint8 values:

```
```javascript
euint8 result = lhs + rhs;
```

Expand Down

0 comments on commit becf52b

Please sign in to comment.