Skip to content

Commit

Permalink
Merge pull request #1 from yourbuddyconner/conner/core-refactor
Browse files Browse the repository at this point in the history
feature: core refactor
  • Loading branch information
yourbuddyconner authored Dec 14, 2024
2 parents 0dfce9c + 94402d0 commit d282952
Show file tree
Hide file tree
Showing 38 changed files with 2,059 additions and 7,955 deletions.
2 changes: 2 additions & 0 deletions .cursorrules
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.
40 changes: 0 additions & 40 deletions .github/workflows/foundry-test.yml

This file was deleted.

52 changes: 52 additions & 0 deletions .github/workflows/lint.yml
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
39 changes: 0 additions & 39 deletions .github/workflows/prove.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ pgo-data.profdata
**/proof-with-io.json

# Env
.env
.env

elf
elf/*
**/*/db_state.bin
10 changes: 1 addition & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@
"Cargo.toml",
],
"rust-analyzer.check.overrideCommand": [
"cargo",
"clippy",
"--workspace",
"--message-format=json",
"--all-features",
"--all-targets",
"--",
"-A",
"incomplete-features"

],
"rust-analyzer.runnables.extraEnv": {
"RUST_LOG": "debug",
Expand Down
Loading

0 comments on commit d282952

Please sign in to comment.