From 18a85559a207e08d8583bfefb2478b5ebac91f88 Mon Sep 17 00:00:00 2001 From: Eshel Date: Mon, 11 Nov 2024 01:05:20 +0200 Subject: [PATCH] adding emoji to Randomness; also adding sidebar to Gas and Benchmarks which was missing one --- docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md | 6 ++++++ docs/devdocs/Writing Smart Contracts/Randomness.md | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md b/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md index e2398f35..753b12a9 100644 --- a/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md +++ b/docs/devdocs/Writing Smart Contracts/Gas-and-Benchmarks.md @@ -1,3 +1,9 @@ +--- +sidebar_position: 901 +title: 🔥 Gas and Benchmarks +description: Gas costs for FHE operations +--- + # 🔥 Gas and Benchmarks This section will list the gas costs for every operation based on its inputs. diff --git a/docs/devdocs/Writing Smart Contracts/Randomness.md b/docs/devdocs/Writing Smart Contracts/Randomness.md index 7d87c693..775179e0 100644 --- a/docs/devdocs/Writing Smart Contracts/Randomness.md +++ b/docs/devdocs/Writing Smart Contracts/Randomness.md @@ -1,4 +1,9 @@ -# Randomness +--- +sidebar_position: 9 +title: 🎲 Randomness +description: How to generate random numbers in Fhenix +--- +# 🎲 Randomness Randomness was introduced in the Nitrogen testnet. Contracts in Fhenix can get random numbers by calling one of the randomness functions in `FHE.sol`.