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

feat: add missing access control #277

Merged
merged 17 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/generated-files_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v1/**'
types:
- synchronize
- opened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generated-files_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v2/**'
types:
- synchronize
- opened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v1/**'
types:
- synchronize
- opened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v2/**'
types:
- synchronize
- opened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/slither_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v2/**'
types:
- synchronize
- opened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v1/**'
types:
- synchronize
- opened
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
pull_request:
branches:
- "*"
paths:
- 'v2/**'
types:
- synchronize
- opened
Expand Down
4 changes: 2 additions & 2 deletions v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"lint": "npx eslint . --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern out --ignore-pattern cache_forge/",
"lint:fix": "npx eslint . --fix --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern out --ignore-pattern cache_forge/",
"localnet": "concurrently --names \"NODE,WORKER\" --prefix-colors \"blue.bold,green.bold\" \"anvil --auto-impersonate\" \"wait-on tcp:8545 && npx ts-node scripts/localnet/worker.ts\"",
"test": "forge clean && forge test -vv",
"test": "forge clean && forge test -vvv",
"coverage": "forge clean && forge coverage --report lcov",
"typechain": "npx typechain --target ethers-v6 \"out/**/!(*.t|test).sol/!(*.abi).json\" --out-dir typechain-types",
"generate": "forge clean && forge build && ./scripts/generate_go.sh || true && yarn lint:fix && forge fmt && yarn typechain"
"generate": "forge clean && forge build && forge fmt && ./scripts/generate_go.sh || true && yarn lint:fix && yarn typechain"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
Expand Down
854 changes: 854 additions & 0 deletions v2/pkg/accesscontrol.sol/accesscontrol.go

Large diffs are not rendered by default.

988 changes: 988 additions & 0 deletions v2/pkg/accesscontrolupgradeable.sol/accesscontrolupgradeable.go

Large diffs are not rendered by default.

212 changes: 212 additions & 0 deletions v2/pkg/erc165.sol/erc165.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading