-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore/remove-legacy-secrets-support
- Loading branch information
Showing
145 changed files
with
1,067 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,42 @@ | ||
{ | ||
"extends": "solhint:recommended", | ||
"plugins": ["prettier"], | ||
"plugins": ["prettier", "chainlink-solidity"], | ||
"rules": { | ||
"prettier/prettier": "error" | ||
"compiler-version": ["off", "^0.8.0"], | ||
"const-name-snakecase": "off", | ||
"constructor-syntax": "error", | ||
"var-name-mixedcase": "off", | ||
"func-named-parameters": "off", | ||
"immutable-vars-naming": "off", | ||
"no-inline-assembly": "off", | ||
"no-unused-import": "error", | ||
"func-visibility": [ | ||
"error", | ||
{ | ||
"ignoreConstructors": true | ||
} | ||
], | ||
"not-rely-on-time": "off", | ||
"prettier/prettier": [ | ||
"off", | ||
{ | ||
"endOfLine": "auto" | ||
} | ||
], | ||
"no-empty-blocks": "off", | ||
"quotes": ["error", "double"], | ||
"reason-string": [ | ||
"warn", | ||
{ | ||
"maxLength": 64 | ||
} | ||
], | ||
"chainlink-solidity/prefix-internal-functions-with-underscore": "warn", | ||
"chainlink-solidity/prefix-private-functions-with-underscore": "warn", | ||
"chainlink-solidity/prefix-storage-variables-with-s-underscore": "warn", | ||
"chainlink-solidity/prefix-immutable-variables-with-i": "warn", | ||
"chainlink-solidity/all-caps-constant-storage-variables": "warn", | ||
"chainlink-solidity/no-hardhat-imports": "warn", | ||
"chainlink-solidity/inherited-constructor-args-not-in-contract-definition": "warn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,32 @@ | ||
node_modules/ | ||
# 368 warnings | ||
#./src/v0.8/automation | ||
# 302 warnings | ||
#./src/v0.8/dev | ||
# 91 warnings | ||
#./src/v0.8/functions | ||
# 91 warnings | ||
#./src/v0.8/l2ep/dev | ||
# 116 warnings | ||
#./src/v0.8/vrf | ||
|
||
# Temp ignore the following files as they contain issues. | ||
./src/v0.8/ChainlinkClient.sol | ||
./src/v0.8/Flags.sol | ||
./src/v0.8/KeepersVRFConsumer.sol | ||
./src/v0.8/PermissionedForwardProxy.sol | ||
./src/v0.8/ValidatorProxy.sol | ||
./src/v0.8/Chainlink.sol | ||
./src/v0.8/ChainSpecificUtil.sol | ||
|
||
|
||
# Ignore tests, this should not be the long term plan but is OK in the short term | ||
./src/v0.8/**/*.t.sol | ||
./src/v0.8/mocks | ||
./src/v0.8/tests | ||
./src/v0.8/llo-feeds/test | ||
./src/v0.8/vrf/testhelpers | ||
./src/v0.8/functions/tests | ||
|
||
# Always ignore vendor | ||
./src/v0.8/vendor | ||
./node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,8 @@ | |
"coverage": "hardhat coverage", | ||
"prepublishOnly": "pnpm compile && ./scripts/prepublish_generate_abi_folder", | ||
"publish-beta": "pnpm publish --tag beta", | ||
"publish-prod": "npm dist-tag add @chainlink/[email protected] latest" | ||
"publish-prod": "npm dist-tag add @chainlink/[email protected] latest", | ||
"solhint": "solhint --max-warnings 593 \"./src/v0.8/**/*.sol\"" | ||
}, | ||
"files": [ | ||
"src/", | ||
|
@@ -73,6 +74,7 @@ | |
"prettier-plugin-solidity": "1.1.3", | ||
"rlp": "^2.2.7", | ||
"solhint": "^3.6.2", | ||
"solhint-plugin-chainlink-solidity": "git+https://github.com/smartcontractkit/chainlink-solhint-rules.git", | ||
"solhint-plugin-prettier": "^0.0.5", | ||
"solidity-coverage": "^0.8.4", | ||
"ts-node": "^10.9.1", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.