From 91b6a509b77d96661ed672f14c5ec1c99a81ccee Mon Sep 17 00:00:00 2001 From: Jayant Krishnamurthy Date: Fri, 20 Oct 2023 09:26:21 -0700 Subject: [PATCH] rename --- .pre-commit-config.yaml | 10 +++++----- {pyth-rng => fortuna}/.gitignore | 0 {pyth-rng => fortuna}/Cargo.lock | 0 {pyth-rng => fortuna}/Cargo.toml | 2 +- {pyth-rng => fortuna}/config.yaml | 0 {pyth-rng => fortuna}/src/abi.json | 0 {pyth-rng => fortuna}/src/api.rs | 0 {pyth-rng => fortuna}/src/api/chain_ids.rs | 0 {pyth-rng => fortuna}/src/api/index.rs | 0 {pyth-rng => fortuna}/src/api/live.rs | 0 {pyth-rng => fortuna}/src/api/metrics.rs | 0 {pyth-rng => fortuna}/src/api/ready.rs | 0 {pyth-rng => fortuna}/src/api/revelation.rs | 0 {pyth-rng => fortuna}/src/command.rs | 0 {pyth-rng => fortuna}/src/command/generate.rs | 0 {pyth-rng => fortuna}/src/command/get_request.rs | 0 {pyth-rng => fortuna}/src/command/register_provider.rs | 0 .../src/command/request_randomness.rs | 0 {pyth-rng => fortuna}/src/command/run.rs | 0 {pyth-rng => fortuna}/src/config.rs | 0 {pyth-rng => fortuna}/src/config/generate.rs | 0 {pyth-rng => fortuna}/src/config/get_request.rs | 0 {pyth-rng => fortuna}/src/config/register_provider.rs | 0 {pyth-rng => fortuna}/src/config/request_randomness.rs | 0 {pyth-rng => fortuna}/src/config/run.rs | 0 {pyth-rng => fortuna}/src/ethereum.rs | 0 {pyth-rng => fortuna}/src/main.rs | 0 {pyth-rng => fortuna}/src/state.rs | 0 28 files changed, 6 insertions(+), 6 deletions(-) rename {pyth-rng => fortuna}/.gitignore (100%) rename {pyth-rng => fortuna}/Cargo.lock (100%) rename {pyth-rng => fortuna}/Cargo.toml (98%) rename {pyth-rng => fortuna}/config.yaml (100%) rename {pyth-rng => fortuna}/src/abi.json (100%) rename {pyth-rng => fortuna}/src/api.rs (100%) rename {pyth-rng => fortuna}/src/api/chain_ids.rs (100%) rename {pyth-rng => fortuna}/src/api/index.rs (100%) rename {pyth-rng => fortuna}/src/api/live.rs (100%) rename {pyth-rng => fortuna}/src/api/metrics.rs (100%) rename {pyth-rng => fortuna}/src/api/ready.rs (100%) rename {pyth-rng => fortuna}/src/api/revelation.rs (100%) rename {pyth-rng => fortuna}/src/command.rs (100%) rename {pyth-rng => fortuna}/src/command/generate.rs (100%) rename {pyth-rng => fortuna}/src/command/get_request.rs (100%) rename {pyth-rng => fortuna}/src/command/register_provider.rs (100%) rename {pyth-rng => fortuna}/src/command/request_randomness.rs (100%) rename {pyth-rng => fortuna}/src/command/run.rs (100%) rename {pyth-rng => fortuna}/src/config.rs (100%) rename {pyth-rng => fortuna}/src/config/generate.rs (100%) rename {pyth-rng => fortuna}/src/config/get_request.rs (100%) rename {pyth-rng => fortuna}/src/config/register_provider.rs (100%) rename {pyth-rng => fortuna}/src/config/request_randomness.rs (100%) rename {pyth-rng => fortuna}/src/config/run.rs (100%) rename {pyth-rng => fortuna}/src/ethereum.rs (100%) rename {pyth-rng => fortuna}/src/main.rs (100%) rename {pyth-rng => fortuna}/src/state.rs (100%) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e16b12773..80a41583f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,13 +65,13 @@ repos: entry: cargo +nightly-2023-07-23 fmt --manifest-path ./hermes/Cargo.toml --all -- --config-path rustfmt.toml pass_filenames: false files: hermes - # Hooks for pyth-rng - - id: cargo-fmt-pyth-rng - name: Cargo format for Pyth RNG + # Hooks for Fortuna + - id: cargo-fmt-fortuna + name: Cargo format for Fortuna language: "rust" - entry: cargo +nightly-2023-07-23 fmt --manifest-path ./pyth-rng/Cargo.toml --all -- --config-path rustfmt.toml + entry: cargo +nightly-2023-07-23 fmt --manifest-path ./fortuna/Cargo.toml --all -- --config-path rustfmt.toml pass_filenames: false - files: pyth-rng + files: fortuna # Hooks for message buffer contract - id: cargo-fmt-message-buffer name: Cargo format for message buffer contract diff --git a/pyth-rng/.gitignore b/fortuna/.gitignore similarity index 100% rename from pyth-rng/.gitignore rename to fortuna/.gitignore diff --git a/pyth-rng/Cargo.lock b/fortuna/Cargo.lock similarity index 100% rename from pyth-rng/Cargo.lock rename to fortuna/Cargo.lock diff --git a/pyth-rng/Cargo.toml b/fortuna/Cargo.toml similarity index 98% rename from pyth-rng/Cargo.toml rename to fortuna/Cargo.toml index d5abdbc49..5eb8fd4b5 100644 --- a/pyth-rng/Cargo.toml +++ b/fortuna/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "pyth-rng" +name = "fortuna" version = "0.1.0" edition = "2021" diff --git a/pyth-rng/config.yaml b/fortuna/config.yaml similarity index 100% rename from pyth-rng/config.yaml rename to fortuna/config.yaml diff --git a/pyth-rng/src/abi.json b/fortuna/src/abi.json similarity index 100% rename from pyth-rng/src/abi.json rename to fortuna/src/abi.json diff --git a/pyth-rng/src/api.rs b/fortuna/src/api.rs similarity index 100% rename from pyth-rng/src/api.rs rename to fortuna/src/api.rs diff --git a/pyth-rng/src/api/chain_ids.rs b/fortuna/src/api/chain_ids.rs similarity index 100% rename from pyth-rng/src/api/chain_ids.rs rename to fortuna/src/api/chain_ids.rs diff --git a/pyth-rng/src/api/index.rs b/fortuna/src/api/index.rs similarity index 100% rename from pyth-rng/src/api/index.rs rename to fortuna/src/api/index.rs diff --git a/pyth-rng/src/api/live.rs b/fortuna/src/api/live.rs similarity index 100% rename from pyth-rng/src/api/live.rs rename to fortuna/src/api/live.rs diff --git a/pyth-rng/src/api/metrics.rs b/fortuna/src/api/metrics.rs similarity index 100% rename from pyth-rng/src/api/metrics.rs rename to fortuna/src/api/metrics.rs diff --git a/pyth-rng/src/api/ready.rs b/fortuna/src/api/ready.rs similarity index 100% rename from pyth-rng/src/api/ready.rs rename to fortuna/src/api/ready.rs diff --git a/pyth-rng/src/api/revelation.rs b/fortuna/src/api/revelation.rs similarity index 100% rename from pyth-rng/src/api/revelation.rs rename to fortuna/src/api/revelation.rs diff --git a/pyth-rng/src/command.rs b/fortuna/src/command.rs similarity index 100% rename from pyth-rng/src/command.rs rename to fortuna/src/command.rs diff --git a/pyth-rng/src/command/generate.rs b/fortuna/src/command/generate.rs similarity index 100% rename from pyth-rng/src/command/generate.rs rename to fortuna/src/command/generate.rs diff --git a/pyth-rng/src/command/get_request.rs b/fortuna/src/command/get_request.rs similarity index 100% rename from pyth-rng/src/command/get_request.rs rename to fortuna/src/command/get_request.rs diff --git a/pyth-rng/src/command/register_provider.rs b/fortuna/src/command/register_provider.rs similarity index 100% rename from pyth-rng/src/command/register_provider.rs rename to fortuna/src/command/register_provider.rs diff --git a/pyth-rng/src/command/request_randomness.rs b/fortuna/src/command/request_randomness.rs similarity index 100% rename from pyth-rng/src/command/request_randomness.rs rename to fortuna/src/command/request_randomness.rs diff --git a/pyth-rng/src/command/run.rs b/fortuna/src/command/run.rs similarity index 100% rename from pyth-rng/src/command/run.rs rename to fortuna/src/command/run.rs diff --git a/pyth-rng/src/config.rs b/fortuna/src/config.rs similarity index 100% rename from pyth-rng/src/config.rs rename to fortuna/src/config.rs diff --git a/pyth-rng/src/config/generate.rs b/fortuna/src/config/generate.rs similarity index 100% rename from pyth-rng/src/config/generate.rs rename to fortuna/src/config/generate.rs diff --git a/pyth-rng/src/config/get_request.rs b/fortuna/src/config/get_request.rs similarity index 100% rename from pyth-rng/src/config/get_request.rs rename to fortuna/src/config/get_request.rs diff --git a/pyth-rng/src/config/register_provider.rs b/fortuna/src/config/register_provider.rs similarity index 100% rename from pyth-rng/src/config/register_provider.rs rename to fortuna/src/config/register_provider.rs diff --git a/pyth-rng/src/config/request_randomness.rs b/fortuna/src/config/request_randomness.rs similarity index 100% rename from pyth-rng/src/config/request_randomness.rs rename to fortuna/src/config/request_randomness.rs diff --git a/pyth-rng/src/config/run.rs b/fortuna/src/config/run.rs similarity index 100% rename from pyth-rng/src/config/run.rs rename to fortuna/src/config/run.rs diff --git a/pyth-rng/src/ethereum.rs b/fortuna/src/ethereum.rs similarity index 100% rename from pyth-rng/src/ethereum.rs rename to fortuna/src/ethereum.rs diff --git a/pyth-rng/src/main.rs b/fortuna/src/main.rs similarity index 100% rename from pyth-rng/src/main.rs rename to fortuna/src/main.rs diff --git a/pyth-rng/src/state.rs b/fortuna/src/state.rs similarity index 100% rename from pyth-rng/src/state.rs rename to fortuna/src/state.rs