Skip to content

Commit

Permalink
Initial version of random number server (#1103)
Browse files Browse the repository at this point in the history
* feat(pyth-rng): first draft of pyth-rng

* adding api

* ok that wasnt so bad

* minor stuff

* add command to get current request

* refactor config

* refactor

* refactor

* ok

* ok

* it works

* blah

* stuff

* stuff

* builds

* builds

* ok it works

* more stuff

* cleanup

* ok stuff

* format

* docs

* ali comments

* correct fee

* warnings

---------

Co-authored-by: Reisen <[email protected]>
  • Loading branch information
jayantk and Reisen authored Oct 18, 2023
1 parent 49d1a57 commit 76a3379
Show file tree
Hide file tree
Showing 23 changed files with 5,730 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +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
language: "rust"
entry: cargo +nightly-2023-07-23 fmt --manifest-path ./pyth-rng/Cargo.toml --all -- --config-path rustfmt.toml
pass_filenames: false
files: pyth-rng
# Hooks for message buffer contract
- id: cargo-fmt-message-buffer
name: Cargo format for message buffer contract
Expand Down
1 change: 1 addition & 0 deletions pyth-rng/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit 76a3379

Please sign in to comment.