Skip to content

Commit

Permalink
DEV 2645: p256-verifier integration (#2)
Browse files Browse the repository at this point in the history
* forge install: p256-verifier

* P256 import

* cleanup

* removed old library and replaced with p256-verifier

* updated ci and FOUNDRY.toml
  • Loading branch information
preston4896 authored Nov 22, 2023
1 parent d960a42 commit 6d5c78b
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 369 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: test

on: workflow_dispatch
on:
push:
branches: [main]
pull_request:
branches: [main]

workflow_dispatch:

env:
FOUNDRY_PROFILE: ci
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "lib/solady"]
path = lib/solady
url = https://github.com/Vectorized/solady
[submodule "lib/p256-verifier"]
path = lib/p256-verifier
url = https://github.com/daimo-eth/p256-verifier
4 changes: 4 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ src = "src"
out = "out"
libs = ["lib"]

solc = "0.8.21"
optimizer = true
optimizer_runs = 200

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
1 change: 1 addition & 0 deletions lib/p256-verifier
Submodule p256-verifier added at fcaa17
3 changes: 2 additions & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
solady/=lib/solady/src/
solady/=lib/solady/src/
p256-verifier/=lib/p256-verifier/src/
Loading

0 comments on commit 6d5c78b

Please sign in to comment.