Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EIP: Circuit Breaker #7265

Closed
wants to merge 16 commits into from
372 changes: 372 additions & 0 deletions EIPS/eip-7265.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions assets/eip-7265/.gitignore
@@ -0,0 +1,3 @@
/out
/lib
/cache
13 changes: 13 additions & 0 deletions assets/eip-7265/README.md
@@ -0,0 +1,13 @@
# EIP-7265 Reference Implementations

This is the source code for a reference implementation of EIP-7265.

## Build and Test

The repo expects a [Foundry](https://github.com/foundry-rs/foundry/tree/master/forge) build system, optionally using visual studio code for editing. You can run the test suite with:

```bash
forge install openzeppelin/openzeppelin-contracts --no-git
forge install foundry-rs/forge-std --no-git
forge test
```
6 changes: 6 additions & 0 deletions assets/eip-7265/foundry.toml
@@ -0,0 +1,6 @@
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
3 changes: 3 additions & 0 deletions assets/eip-7265/remappings.txt
@@ -0,0 +1,3 @@
ds-test/=lib/forge-std/lib/ds-test/src/
forge-std/=lib/forge-std/src/
openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/