Skip to content

Commit

Permalink
Merge pull request #2 from PierrickGT/main
Browse files Browse the repository at this point in the history
Use official Solidity style guide
  • Loading branch information
PierrickGT authored Oct 24, 2023
2 parents 9c0fccd + ac006ca commit f08a56b
Show file tree
Hide file tree
Showing 9 changed files with 1,170 additions and 3,159 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
forge --version
forge build --sizes
id: build

- name: Run Forge test with gas report
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
Expand Down
6 changes: 3 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
{
"files": "*.sol",
"options": {
"compiler": "0.8.19",
"compiler": "0.8.21",
"bracketSpacing": true,
"printWidth": 100,
"tabWidth": 2
"printWidth": 120,
"tabWidth": 4
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"plugins": ["prettier"],
"rules": {
"avoid-low-level-calls": "off",
"compiler-version": ["error", "0.8.19"],
"compiler-version": ["error", "0.8.21"],
"func-visibility": "off",
"no-empty-blocks": "off",
"no-inline-assembly": "off"
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ src = 'src'
out = 'out'
test = 'test'
libs = ['lib']
solc = "0.8.19"
solc = "0.8.21"
fs_permissions = [{ access = "read", path = "./broadcast" }]
gas_reports = ["Foo"]

Expand Down
Loading

0 comments on commit f08a56b

Please sign in to comment.