Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Merge nitro v2.3.4 (rc3) #35

Merged
merged 152 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
b970825
Added batch poster manager
yahgwai Oct 5, 2023
f2c085c
Formatting
yahgwai Oct 5, 2023
cc5a0fe
Comment typo
yahgwai Oct 5, 2023
12a132f
Added batch poster manager setter
yahgwai Oct 5, 2023
b916a52
Formatting
yahgwai Oct 5, 2023
c7b70dd
Test updates
yahgwai Oct 5, 2023
cd7a3cd
Moved batch poster manager to the end of the storage block
yahgwai Oct 5, 2023
757663b
Allow batch poster manager to set the sequencer mapping
yahgwai Oct 5, 2023
c47f4cc
Updated seq inbox storage
yahgwai Oct 5, 2023
966c2ca
Added test for setting sequencer
yahgwai Oct 6, 2023
ded149d
Merge from seq inbox optimisation
yahgwai Oct 25, 2023
35d6623
Merge branch 'seq-inbox-opt' into batch-poster-manager
yahgwai Oct 25, 2023
7a9e0f6
Add test
yahgwai Oct 25, 2023
06bcefe
Merge branch 'main' into hotfix-new-storage-check
gzeoneth Oct 30, 2023
acb0ef9
Merge pull request #92 from OffchainLabs/hotfix-new-storage-check
gzeoneth Oct 30, 2023
b626087
Merge remote-tracking branch 'origin/seq-inbox-opt' into batch-poster…
gzeoneth Oct 30, 2023
be5e3ed
Merge branch 'seq-inbox-opt' into batch-poster-manager
gzeoneth Oct 30, 2023
6f7e2c1
Update readme and license for AEP
hkalodner Jan 18, 2024
750a54e
Merge pull request #113 from OffchainLabs/aep-update
hkalodner Jan 18, 2024
d31cdff
Fix typo in BSL
hkalodner Jan 18, 2024
38a70a5
Fix AEP link
hkalodner Jan 18, 2024
c39bbdf
Merge branch '4844-only' into batch-poster-manager
gzeoneth Jan 19, 2024
11b105a
fix: various
gzeoneth Jan 19, 2024
d843ac7
fix: set batch poster manager in rollup creator
gzeoneth Jan 19, 2024
b43718a
Update src/bridge/SequencerInbox.sol
yahgwai Jan 22, 2024
0e3d3e0
Add unit test for fee token based chain
gvladika Jan 12, 2024
c0ef200
Add test for arbitrum hosted ETH-based chain
gvladika Jan 12, 2024
c7a03ef
Make it more readable
gvladika Jan 12, 2024
d9e7a30
Add missing deployment block
gvladika Jan 12, 2024
0685d07
Instead of reporting 0 basefee, don't send report at all in case fee …
gvladika Jan 22, 2024
d78ecb2
Add KZG preimage proof
PlasmaPower Jan 2, 2024
1acb8f0
Clarify that we're iterating over bits
PlasmaPower Jan 8, 2024
81e493e
Pull out modExp256 into function
PlasmaPower Jan 9, 2024
d6b1e5f
Fix formatting
PlasmaPower Jan 10, 2024
60cf250
Address some PR comments
PlasmaPower Jan 16, 2024
871b328
Add additional comment explaining proof data
PlasmaPower Jan 16, 2024
eb4d05a
Require blsModulus matches expected value
PlasmaPower Jan 16, 2024
b7c9bb5
Fix comparison in comment
PlasmaPower Jan 16, 2024
458b272
Make 'isUsingFeeToken' immutable to avoid nativeToken() calls
gvladika Jan 22, 2024
5cbeb97
Add constructor/initialization unit tests
gvladika Jan 22, 2024
2dc88d7
Add import
gvladika Jan 22, 2024
56ffcfb
Merge branch 'develop' into fee-token-reports
gvladika Jan 22, 2024
620d60e
Merge branch '4844-only' into fee-token-reports
gvladika Jan 23, 2024
7e41d6a
Format and remove unnecessary
gvladika Jan 23, 2024
95444d5
Format
gvladika Jan 23, 2024
d5d576f
Merge pull request #119 from OffchainLabs/zero-basefee
gzeoneth Jan 24, 2024
e3a656e
Merge pull request #120 from OffchainLabs/fix-stub-creator
gzeoneth Jan 24, 2024
50e7ab4
Merge branch '4844-only' into fee-token-reports
gzeoneth Jan 24, 2024
6a6cd17
fix: stub creator
gzeoneth Jan 24, 2024
12d7a3f
Removed TODOs
yahgwai Jan 24, 2024
d63b064
Increased data size
yahgwai Jan 24, 2024
ecca913
fix: txorigin as spender
gzeoneth Jan 24, 2024
58c6008
chore: deprecate old method
gzeoneth Jan 24, 2024
0a6322f
fix: duplicated declaration
gzeoneth Jan 24, 2024
201890e
refactor: move blob gas logic
gzeoneth Jan 24, 2024
e5c5af2
format: fix
gzeoneth Jan 24, 2024
22dd3a7
docs: more comment
gzeoneth Jan 24, 2024
cc976ab
docs: comments
gzeoneth Jan 24, 2024
86b2b09
Merge pull request #121 from OffchainLabs/4844-blob-spend
gzeoneth Jan 24, 2024
7c841ee
Merge pull request #109 from OffchainLabs/4844-only
gzeoneth Jan 24, 2024
7364e6a
Merge remote-tracking branch 'origin/develop' into batch-poster-manager
gzeoneth Jan 24, 2024
daf757c
Merge remote-tracking branch 'origin/develop' into fee-token-reports
gzeoneth Jan 24, 2024
80d5415
fix: disable fee token blob spending report
gzeoneth Jan 24, 2024
b4c739f
Merge pull request #108 from OffchainLabs/fee-token-reports
gzeoneth Jan 24, 2024
14d2cd4
Merge remote-tracking branch 'origin/develop' into batch-poster-manager
gzeoneth Jan 24, 2024
c755485
Merge pull request #74 from OffchainLabs/batch-poster-manager
gzeoneth Jan 24, 2024
a71cd7d
Updated 4844 test for custom fee token arg
yahgwai Jan 26, 2024
75346fb
Merge pull request #124 from OffchainLabs/missing-4844-flag
yahgwai Jan 26, 2024
a099703
Merge pull request #126 from OffchainLabs/scheduled-upgrade-getter
PlasmaPower Jan 29, 2024
4c4ba8b
Merge branch 'develop' into missing-l1-pricing-getters
gzeoneth Jan 29, 2024
0708a1c
Merge pull request #125 from OffchainLabs/missing-l1-pricing-getters
gzeoneth Jan 30, 2024
8364145
Merge branch 'main' into develop; fix license conflict
DZGoldman Jan 30, 2024
f6aae2c
Merge pull request #127 from OffchainLabs/develop-main
DZGoldman Jan 30, 2024
adc095c
Add contract to test pending block's time and number advance
ganeshvanahalli Feb 2, 2024
e78e2c6
fix name
ganeshvanahalli Feb 2, 2024
3c31d2a
refactor
ganeshvanahalli Feb 2, 2024
38efd0b
chore: remove sol2uml
gzeoneth Feb 5, 2024
76d541c
Merge pull request #134 from OffchainLabs/remove-sol2uml
hkalodner Feb 5, 2024
52ccb26
fix: yarn format and build warnings
gzeoneth Feb 9, 2024
bf96228
fix: solhint warnings
gzeoneth Feb 9, 2024
8871a4a
fix: eslint warnings
gzeoneth Feb 9, 2024
637f953
fmt: spacing
gzeoneth Feb 9, 2024
29642b4
test: fix
gzeoneth Feb 9, 2024
31f35e1
test: unused var
gzeoneth Feb 9, 2024
f3a1326
chore: swap ignore
gzeoneth Feb 9, 2024
7300d7c
release: 1.2.0
gzeoneth Feb 9, 2024
dcc5106
Merge pull request #137 from OffchainLabs/fix-lint-warnings
gzeoneth Feb 9, 2024
5061cad
Merge remote-tracking branch 'origin/main' into develop
gzeoneth Feb 9, 2024
5ebb128
Merge pull request #138 from OffchainLabs/merge-main
gzeoneth Feb 9, 2024
cd79324
refactor: deployment utils
gzeoneth Feb 12, 2024
07698cf
deploy: 4844 upgrade
gzeoneth Feb 12, 2024
590e3ec
chore: add yul build to release
gzeoneth Feb 12, 2024
9a84548
Add reader4844 to deployment script
gvladika Feb 12, 2024
d78de7f
Merge pull request #141 from OffchainLabs/scripts-blob-reader
gzeoneth Feb 12, 2024
2ef39be
fix: struct change
gzeoneth Feb 12, 2024
de9baf6
Merge branch 'deploy-tools' into fix-struct-change
gzeoneth Feb 12, 2024
2c83dec
Properly set seq inbox blob reader
gvladika Feb 13, 2024
3e1dcca
Update script to work with latest design
gvladika Feb 13, 2024
1be15e3
Merge pull request #143 from OffchainLabs/fix-deploy-params
gzeoneth Feb 13, 2024
1ebb4d6
merge audit-ci changes onto develop
DZGoldman Feb 13, 2024
6e15f8a
update audit-ci json
DZGoldman Feb 13, 2024
fac404b
update arbrollup.spec with waffle v4 syntax
DZGoldman Feb 13, 2024
b7925a9
Add check for 4bytes function signatures
gvladika Feb 14, 2024
4fb16f8
Add to CI
gvladika Feb 14, 2024
ca030fd
Update gitignore
gvladika Feb 14, 2024
4446f69
Merge branch 'develop' into sig-ci-check
gvladika Feb 14, 2024
6ba5d9c
Typo
gvladika Feb 14, 2024
e1f83f0
Merge branch 'sig-ci-check' of github.com:OffchainLabs/nitro-contract…
gvladika Feb 14, 2024
2641673
Merge pull request #140 from OffchainLabs/deploy-tools
gzeoneth Feb 15, 2024
649e824
Merge pull request #139 from OffchainLabs/develop
gzeoneth Feb 15, 2024
885bd00
Merge branch 'develop' into fix-struct-change
gzeoneth Feb 15, 2024
fd48ece
Merge branch 'develop' into sig-ci-check
gzeoneth Feb 15, 2024
ecf46de
Merge pull request #145 from OffchainLabs/sig-ci-check
gzeoneth Feb 15, 2024
c6095e7
Merge remote-tracking branch 'origin/develop' into fix-struct-change
gzeoneth Feb 15, 2024
cc34639
chore: 4bytes update
gzeoneth Feb 15, 2024
fa2dafd
chore: remove unused errors
gzeoneth Feb 15, 2024
8e1693b
feat: safe cast in setMaxTimeVariation
gzeoneth Feb 15, 2024
e89e01b
fmt: yarn format
gzeoneth Feb 15, 2024
ca74d31
test: setMaxTimeVariation
gzeoneth Feb 15, 2024
1f8f124
fix: eslint
gzeoneth Feb 15, 2024
399790b
v1.2.1
gzeoneth Feb 15, 2024
7fbbdd4
Merge pull request #142 from OffchainLabs/fix-struct-change
gzeoneth Feb 15, 2024
2e5a2cb
Merge branch 'develop' into audit-ci-dev, fix conflict
DZGoldman Feb 15, 2024
90037b9
Merge pull request #146 from OffchainLabs/develop
gzeoneth Feb 16, 2024
b8a12f1
Merge pull request #144 from OffchainLabs/audit-ci-dev
gzeoneth Feb 21, 2024
7c46876
Merge branch 'develop' into add-pendingblk-blktimeadvance-contract
ganeshvanahalli Feb 21, 2024
f44d525
Basic Slither CI config
gvladika Feb 22, 2024
f61129c
Use sarif
gvladika Feb 22, 2024
1e1bce5
Check if job fails
gvladika Feb 22, 2024
6f3f111
Do not fail
gvladika Feb 22, 2024
8ea61ce
Add slither config
gvladika Feb 22, 2024
b28f0a8
Exclude optimizations
gvladika Feb 22, 2024
d9841e6
Exclude test/mock files
gvladika Feb 22, 2024
2feab15
Upload triage DB
gvladika Feb 22, 2024
ccc3ff2
Add dangerous call to test slither reporter
gvladika Feb 23, 2024
47a597c
Revert "Add dangerous call to test slither reporter"
gvladika Feb 23, 2024
f3973f3
Update config to always upload results
gvladika Feb 23, 2024
9ecaa64
chore: remove hardhat patch
gzeoneth Feb 26, 2024
fd0af84
fix: foundry optimizer_runs
gzeoneth Feb 26, 2024
551da72
Merge pull request #133 from OffchainLabs/add-pendingblk-blktimeadvan…
ganeshvanahalli Feb 27, 2024
be8879c
Merge branch 'remove-hardhat-patch' into fix-audit
gzeoneth Feb 27, 2024
147352e
fix: audit:ci
gzeoneth Feb 27, 2024
409b3e1
ci: unignore advisories
gzeoneth Feb 28, 2024
18b2e79
Merge pull request #152 from OffchainLabs/fix-audit
gzeoneth Feb 28, 2024
bd62252
update yarn audit: OZ base 64
DZGoldman Mar 5, 2024
0f88cf7
Merge pull request #157 from OffchainLabs/oz-audit
gzeoneth Mar 5, 2024
819596d
Merge branch 'develop' into slither-integration
gzeoneth Mar 5, 2024
58b6741
Update triage slither db
gvladika Mar 5, 2024
b3df270
Merge pull request #148 from OffchainLabs/slither-integration
gzeoneth Mar 5, 2024
11e643e
Add function to test if arbBlockHash on pending block returns latest
ganeshvanahalli Mar 15, 2024
1cab72f
address PR comments
ganeshvanahalli Mar 18, 2024
3b23020
Merge commit '1cab72ff3' into merge-nitro-v2.3.4
tsahee Apr 6, 2024
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
48 changes: 48 additions & 0 deletions .github/workflows/audit-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Audit NPM packages

on:
workflow_dispatch:
pull_request:
merge_group:
push:
branches:
- main
- develop

jobs:
install:
name: 'Install'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main

yarn-audit:
name: Audit
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Restore node_modules
uses: OffchainLabs/actions/node-modules/restore@main

- name: Run audit
run: yarn audit:ci
3 changes: 3 additions & 0 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ jobs:
- name: Test Storage Layouts
run: yarn run test:storage

- name: Test function signatures
run: yarn run test:signatures

- name: Run coverage
run: yarn hardhat coverage --testfiles "test/contract/*.spec.ts"

Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Slither Analysis

on:
workflow_dispatch:
pull_request:

jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run Slither
uses: crytic/[email protected]
id: slither
with:
sarif: results.sarif
fail-on: medium

- name: Upload SARIF file
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ deployments/
/test/prover/proofs/*.json
/test/prover/spec-proofs/*.json
/test/storage/*-old
/test/signatures/*-old
scripts/config.ts
forge-cache/
out/
Expand Down
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"no-empty-blocks": "off",
"reason-string": ["warn", { "maxLength": 128 }],
"not-rely-on-time": "off",
"max-states-count": ["warn", 30],
"max-states-count": ["warn", 40],
"no-inline-assembly": "off"
},
"plugins": ["prettier"]
Expand Down
24 changes: 13 additions & 11 deletions LICENSE → LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,19 @@ Additional Use Grant: You may use the Licensed Work in a production environment
to provide a point of interface to permit end users or applications
utilizing the Covered Arbitrum Chains to interact and query the
state of a Covered Arbitrum Chain, including without limitation
validating the correctness of the posted chain state. For purposes
of this Additional Use Grant, the "Covered Arbitrum Chains" are
means (a) Arbitrum One (chainid:42161), Arbitrum Nova (chainid:42170),
Arbitrum Rinkeby testnet/Rinkarby (chainid:421611), and
Arbitrum Nitro Goerli testnet (chainid:421613) (b) any future
blockchains authorized to be designated as Covered Arbitrum Chains
by the decentralized autonomous organization governing the Arbitrum
network; and (c) any “Layer 3” Arbitrum-based blockchain that is built
on and settles to another Covered Arbitrum Chain.


validating the correctness of the posted chain state, or to deploy
and operate (x) a blockchain that settles to a Covered Arbitrum Chain
or (y) a blockchain in accordance with, and subject to, the [Arbitrum
Expansion Program Term of Use](https://docs.arbitrum.foundation/assets/files/Arbitrum%20Expansion%20Program%20Jan182024-4f08b0c2cb476a55dc153380fa3e64b0.pdf). For purposes of this
Additional Use Grant, the "Covered Arbitrum Chains" are
(a) Arbitrum One (chainid:42161), Arbitrum Nova (chainid:42170),
rbitrum Rinkeby testnet/Rinkarby (chainid:421611),Arbitrum Nitro
Goerli testnet (chainid:421613), and Arbitrum Sepolia Testnet
(chainid:421614); (b) any future blockchains authorized to be
designated as Covered Arbitrum Chains by the decentralized autonomous
organization governing the Arbitrum network; and (c) any “Layer 3”
Arbitrum-based blockchain that is built on and settles to another
Covered Arbitrum Chain.



Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,17 @@ cd nitro-contracts
yarn install
yarn build
```

## License

Nitro is currently licensed under a [Business Source License](./LICENSE), similar to our friends at Uniswap and Aave, with an "Additional Use Grant" to ensure that everyone can have full comfort using and running nodes on all public Arbitrum chains.

The Additional Use Grant also permits the deployment of the Nitro software, in a permissionless fashion and without cost, as a new blockchain provided that the chain settles to either Arbitrum One or Arbitrum Nova.

For those that prefer to deploy the Nitro software either directly on Ethereum (i.e. an L2) or have it settle to another Layer-2 on top of Ethereum, the [Arbitrum Expansion Program (the "AEP")](https://docs.arbitrum.foundation/assets/files/Arbitrum%20Expansion%20Program%20Jan182024-4f08b0c2cb476a55dc153380fa3e64b0.pdf) was recently established. The AEP allows for the permissionless deployment in the aforementioned fashion provided that 10% of net revenue is contributed back to the Arbitrum community in accordance with the requirements of the AEP.

## Contact

Discord - [Arbitrum](https://discord.com/invite/5KE54JwyTs)

Twitter: [Arbitrum](https://twitter.com/arbitrum)
52 changes: 52 additions & 0 deletions audit-ci.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
"low": true,
"allowlist": [
// OpenZeppelin Contracts's SignatureChecker may revert on invalid EIP-1271 signers
"GHSA-4g63-c64m-25w9",
// OpenZeppelin Contracts's GovernorVotesQuorumFraction updates to quorum may affect past defeated proposals
"GHSA-xrc4-737v-9q75",
// OpenZeppelin Contracts's ERC165Checker may revert instead of returning false
"GHSA-qh9x-gcfh-pcrw",
// OpenZeppelin Contracts vulnerable to ECDSA signature malleability. Only an issue for the functions that take a single `bytes` argument, and not the functions that take `r, v, s` or `r, vs` as separate arguments.
"GHSA-4h98-2769-gh6h",
// GovernorCompatibilityBravo may trim proposal calldata
"GHSA-93hq-5wgc-jc82",
// OpenZeppelin Contracts ERC165Checker unbounded gas consumption
"GHSA-7grf-83vw-6f5x",
// OpenZeppelin: Using ERC2771Context with a custom forwarder can yield address(0)
"GHSA-g4vp-m682-qqmp",
// OpenZeppelin Contracts TransparentUpgradeableProxy clashing selector calls may not be delegated
"GHSA-mx2q-35m2-x2rh",
// OpenZeppelin Contracts's governor proposal creation may be blocked by frontrunning
"GHSA-5h3x-9wvq-w4m2",
// axios cookies data-privacy issue; used only in hardhat-deploy and sol2uml (dev deps)
"GHSA-wf5p-g6vw-rhxx",
// flat vulnerable to Prototype Pollution
"GHSA-2j2x-2gpw-g8fm",
// regular expression DoS in debug
"GHSA-gxpj-cx7g-858c",
// tough-cookie Prototype Pollution vulnerability; used only via eth-gas-reporter
"GHSA-72xf-g2v4-qvf3",
// minimatch ReDoS vulnerability
"GHSA-f8q6-p94x-37v3",
// Server-Side Request Forgery in Request
"GHSA-p8p7-x288-28g6",
// OpenZeppelin Contracts using MerkleProof multiproofs may allow proving arbitrary leaves for specific trees; unused
"GHSA-wprv-93r4-jj2p",
// follow-redirects improperly handles URLs in the url.parse() function
"GHSA-jchw-25xp-jwwc",
// yargs-parser Vulnerable to Prototype Pollution
"GHSA-p9pc-299p-vxgp",
// Axios vulnerable to Server-Side Request Forgery
"GHSA-4w2v-q235-vp99",
// axios Inefficient Regular Expression Complexity vulnerability
"GHSA-cph5-m8f7-6c5x",
// Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects
"GHSA-pw2r-vq6v-hr8c",
// Exposure of sensitive information in follow-redirects
"GHSA-74fj-2j2h-c42q",
// Open Zeppelin: Base64 encoding may read from potentially dirty memory
"GHSA-9vx6-7xxf-x967"
]
}
5 changes: 4 additions & 1 deletion deploy/SequencerInboxStubCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ module.exports = async hre => {
const { deployer } = await getNamedAccounts()

const bridge = await ethers.getContract('BridgeStub')
const reader4844 = await Toolkit4844.deployReader4844(await ethers.getSigner(deployer))
const reader4844 = await Toolkit4844.deployReader4844(
await ethers.getSigner(deployer)
)
const maxTime = {
delayBlocks: 10000,
futureBlocks: 10000,
Expand All @@ -21,6 +23,7 @@ module.exports = async hre => {
maxTime,
117964,
reader4844.address,
false,
],
})
}
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ libs = ['node_modules', 'lib']
test = 'test/foundry'
cache_path = 'forge-cache/sol'
optimizer = true
optimizer_runs = 20000
optimizer_runs = 100
via_ir = false
solc_version = '0.8.9'

Expand Down
25 changes: 14 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arbitrum/nitro-contracts",
"version": "1.1.0",
"version": "1.2.1",
"description": "Layer 2 precompiles and rollup for Arbitrum Nitro",
"author": "Offchain Labs, Inc.",
"license": "BUSL-1.1",
Expand All @@ -11,13 +11,16 @@
"files": [
"src/",
"build/contracts/src",
"build/contracts/@openzeppelin"
"build/contracts/@openzeppelin",
"out/yul/Reader4844.yul/Reader4844.json"
],
"bugs": {
"url": "https://github.com/offchainlabs/nitro-contracts/issues"
},
"scripts": {
"prepublishOnly": "hardhat clean && hardhat compile",
"audit:ci": "audit-ci --config ./audit-ci.jsonc",
"audit:fix": "yarn-audit-fix",
"prepublishOnly": "hardhat clean && forge clean && hardhat compile && yarn build:forge:yul",
"build:all": "yarn build && yarn build:forge",
"build": "hardhat compile",
"build:forge:sol": "forge build --skip *.yul",
Expand All @@ -26,13 +29,14 @@
"lint:test": "eslint ./test",
"solhint": "solhint -f table src/**/*.sol",
"prettier:solidity": "prettier --write src/**/*.sol",
"format": "prettier './**/*.{js,json,md,ts,yml,sol}' --write && yarn run lint:test --fix",
"format": "prettier './**/*.{js,json,ts,yml,sol}' --write && yarn run lint:test --fix",
"build:0.6": "INTERFACE_TESTER_SOLC_VERSION=0.6.9 yarn run build",
"build:0.7": "INTERFACE_TESTER_SOLC_VERSION=0.7.0 yarn run build",
"test": "DISABLE_GAS_REPORTER=true hardhat --network hardhat test test/contract/*.spec.ts",
"test:4844": "DISABLE_GAS_REPORTER=true hardhat --network hardhat test test/contract/*.spec.4844.ts",
"test:compatibility": "yarn run build:0.6 && yarn run build:0.7",
"test:storage": "./test/storage/test.bash",
"test:signatures": "./test/signatures/test-sigs.bash",
"test:e2e": "hardhat test test/e2e/*.ts",
"postinstall": "patch-package",
"deploy-factory": "hardhat run scripts/deployment.ts",
Expand Down Expand Up @@ -61,14 +65,15 @@
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.27.1",
"@typescript-eslint/parser": "^5.14.0",
"audit-ci": "^6.6.1",
"chai": "^4.3.4",
"dotenv": "^16.3.1",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.2",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.5.4",
"hardhat": "^2.17.2",
"hardhat-deploy": "^0.11.37",
"hardhat-gas-reporter": "^1.0.9",
Expand All @@ -81,10 +86,8 @@
"solidity-coverage": "^0.8.4",
"ts-node": "^10.4.0",
"tslint": "^6.1.3",
"typechain": "^8.0.0",
"typescript": "^4.5.4"
},
"optionalDependencies": {
"sol2uml": "2.2.0"
"typechain": "^8.3.2",
"typescript": "^4.5.4",
"yarn-audit-fix": "^10.0.7"
}
}
Loading
Loading