Skip to content

Commit

Permalink
Merge branch 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
artemmartyhin committed Sep 24, 2024
2 parents 9977def + d27d00c commit 8e94bb3
Show file tree
Hide file tree
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.
5 changes: 5 additions & 0 deletions .clabot
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"
}
52 changes: 52 additions & 0 deletions .dockerignore
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
26 changes: 26 additions & 0 deletions .gitignore
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/*
18 changes: 18 additions & 0 deletions .gitmodules
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
53 changes: 53 additions & 0 deletions .golangci.yml
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 added .nitro-tag.txt
Empty file.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
Loading

0 comments on commit 8e94bb3

Please sign in to comment.