-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from yourbuddyconner/conner/core-refactor
feature: core refactor
- Loading branch information
Showing
38 changed files
with
2,059 additions
and
7,955 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
When writing comments always put a period at the end of the comment. | ||
When writing logs always make them lowercase unless they begin with an acronym. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Rust CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
check: | ||
name: Check and Lint | ||
runs-on: ubuntu-20.04 | ||
env: | ||
CARGO_NET_GIT_FETCH_WITH_CLI: "true" | ||
RUST_BACKTRACE: "1" | ||
SP1_PATH: "/home/runner/.sp1" | ||
RUSTUP_HOME: "/home/runner/.rustup" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: 1.81.0 | ||
components: clippy, rustfmt | ||
|
||
- name: Install SP1 toolchain | ||
run: | | ||
curl -L https://sp1.succinct.xyz | bash | ||
~/.sp1/bin/sp1up | ||
echo "$SP1_PATH/bin" >> $GITHUB_PATH | ||
- name: Verify SP1 installation | ||
run: | | ||
cargo prove --version | ||
- name: Run cargo fmt | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
env: | ||
CARGO_INCREMENTAL: 1 | ||
|
||
- name: Run cargo check | ||
uses: actions-rs/cargo@v1 | ||
env: | ||
CARGO_INCREMENTAL: 1 | ||
with: | ||
command: check | ||
args: --all-targets |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,8 @@ pgo-data.profdata | |
**/proof-with-io.json | ||
|
||
# Env | ||
.env | ||
.env | ||
|
||
elf | ||
elf/* | ||
**/*/db_state.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.