-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4,014 changed files
with
1,062,986 additions
and
257 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"contributors": "https://api.github.com/repos/OffchainLabs/clabot-config/contents/nitro-contributors.json", | ||
"message": "We require contributors to sign our Contributor License Agreement. In order for us to review and merge your code, please sign the linked documents below to get yourself added. https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=b15c81cc-b5ea-42a6-9107-3992526f2898&env=na3&acct=6e152afc-6284-44af-a4c1-d8ef291db402&v=2", | ||
"label": "s" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
**/.github | ||
.make | ||
**/.dockerignore | ||
**/Dockerfile | ||
**/.gitignore | ||
**/.git | ||
**/.gitmodules | ||
go-ethereum/tests | ||
**/*.yml | ||
contracts/build | ||
contracts/cache/ | ||
safe-smart-account/build/ | ||
# solgen/go | ||
**/node_modules | ||
|
||
target/**/* | ||
!target/machines | ||
!target/machines/* | ||
!target/machines/**/* | ||
brotli/buildfiles/**/* | ||
|
||
# these are used by environment outside the docker: | ||
nitro-testnode/**/* | ||
|
||
# Arbitrator ignores | ||
arbitrator/tools/module_roots | ||
arbitrator/tools/pricer | ||
|
||
# Rust outputs | ||
arbitrator/target/**/* | ||
arbitrator/target | ||
arbitrator/stylus/tests/*/target/ | ||
arbitrator/wasm-testsuite/target/ | ||
arbitrator/wasm-libraries/target/ | ||
arbitrator/tools/wasmer/target/ | ||
arbitrator/tools/wasm-tools/ | ||
arbitrator/tools/pricers/ | ||
arbitrator/tools/module_roots/ | ||
arbitrator/langs/rust/target/ | ||
arbitrator/langs/bf/target/ | ||
|
||
# Compiled files | ||
**/*.o | ||
**/*.a | ||
*.wasm | ||
|
||
# Autogenerated test files | ||
arbitrator/prover/test-cases/**/* | ||
arbitrator/prover/test-cases | ||
|
||
# external tools and IDEs | ||
.vscode |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/record | ||
/cmd/record/record | ||
/replay | ||
/cmd/replay/replay | ||
/*.bin | ||
/*.test | ||
/system_tests/*_fuzz/* | ||
!/system_tests/*_fuzz/*_fuzz.go | ||
node_modules | ||
.DS_Store | ||
.idea | ||
.vscode | ||
cmd/node/data | ||
cmd/node/node | ||
solgen/go/ | ||
.make/ | ||
/cmd/statetransfer/statetransfer | ||
/reproducible-wasm/*.wasm | ||
target/ | ||
yarn-error.log | ||
local/ | ||
system_tests/test-data/* | ||
.configs/ | ||
system_tests/testdata/* | ||
arbos/testdata/* | ||
keys/* |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[submodule "fastcache"] | ||
path = fastcache | ||
url = https://github.com/OffchainLabs/fastcache | ||
[submodule "nitro-testnode"] | ||
path = nitro-testnode | ||
url = https://github.com/OffchainLabs/nitro-testnode | ||
[submodule "fhevm-go"] | ||
path = fhevm-go | ||
url = [email protected]:z1labs/Cypher-fhEVM-Go.git | ||
[submodule "go-ethereum"] | ||
path = go-ethereum | ||
url = [email protected]:z1labs/Cypher-Go-Ethereum.git | ||
[submodule "safe-smart-account"] | ||
path = safe-smart-account | ||
url = https://github.com/safe-global/safe-smart-account.git | ||
[submodule "contracts"] | ||
path = contracts | ||
url = https://github.com/OffchainLabs/nitro-contracts |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# golangci-lint configuration | ||
|
||
run: | ||
timeout: 10m | ||
|
||
issues: | ||
exclude-dirs: | ||
- go-ethereum | ||
- fastcache | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- staticcheck | ||
|
||
linters: | ||
enable: | ||
- asciicheck # check for non-ascii characters | ||
- errorlint # enure error wrapping is safely done | ||
- gocritic # check for certain simplifications | ||
- gofmt # ensure code is formatted | ||
- gosec # check for security concerns | ||
- nilerr # ensure errors aren't mishandled | ||
- staticcheck # check for suspicious constructs | ||
- unused # check for unused constructs | ||
|
||
linters-settings: | ||
errcheck: | ||
# report when type assertions aren't checked for errors as in | ||
# a := b.(MyStruct) | ||
# | ||
check-type-assertions: true | ||
|
||
gocritic: | ||
disabled-tags: | ||
- experimental | ||
- opinionated | ||
|
||
disabled-checks: | ||
- ifElseChain | ||
- assignOp | ||
- unlambda | ||
- exitAfterDefer | ||
|
||
gosec: | ||
excludes: | ||
- G404 # checks that random numbers are securely generated | ||
- G402 | ||
|
||
govet: | ||
enable-all: true | ||
disable: | ||
- shadow | ||
- fieldalignment |
Empty file.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
18 |
Oops, something went wrong.