Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
2cfb8e88
Unverified
Commit
2cfb8e88
authored
Aug 23, 2021
by
Mark Tyneway
Committed by
GitHub
Aug 23, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1374 from ethereum-optimism/develop
Merge Develop into Master
parents
19953579
97101d41
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1750 additions
and
1746 deletions
+1750
-1746
hot-dryers-joke.md
.changeset/hot-dryers-joke.md
+11
-0
package.json
integration-tests/package.json
+2
-2
rpc.spec.ts
integration-tests/test/rpc.spec.ts
+11
-0
hardhat.config.js
ops/docker/hardhat/hardhat.config.js
+9
-0
package.json
ops/docker/hardhat/package.json
+2
-2
yarn.lock
ops/docker/hardhat/yarn.lock
+563
-483
package.json
packages/batch-submitter/package.json
+3
-3
package.json
packages/contracts/package.json
+8
-8
package.json
packages/core-utils/package.json
+2
-2
package.json
packages/data-transport-layer/package.json
+3
-3
package.json
packages/hardhat-ovm/package.json
+1
-1
package.json
packages/message-relayer/package.json
+1
-1
package.json
packages/replica-healthcheck/package.json
+1
-1
yarn.lock
yarn.lock
+1133
-1240
No files found.
.changeset/hot-dryers-joke.md
0 → 100644
View file @
2cfb8e88
---
'
@eth-optimism/integration-tests'
:
patch
'
@eth-optimism/batch-submitter'
:
patch
'
@eth-optimism/contracts'
:
patch
'
@eth-optimism/core-utils'
:
patch
'
@eth-optimism/data-transport-layer'
:
patch
'
@eth-optimism/hardhat-ovm'
:
patch
'
@eth-optimism/message-relayer'
:
patch
---
Bump ethers dependency to 5.4.x to support eip1559
integration-tests/package.json
View file @
2cfb8e88
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/hardhat-ovm"
:
"^0.2.2"
,
"@eth-optimism/hardhat-ovm"
:
"^0.2.2"
,
"@eth-optimism/message-relayer"
:
"^0.1.8"
,
"@eth-optimism/message-relayer"
:
"^0.1.8"
,
"@ethersproject/providers"
:
"^5.
0.2
4"
,
"@ethersproject/providers"
:
"^5.
4.
4"
,
"@nomiclabs/hardhat-ethers"
:
"^2.0.2"
,
"@nomiclabs/hardhat-ethers"
:
"^2.0.2"
,
"@nomiclabs/hardhat-waffle"
:
"^2.0.1"
,
"@nomiclabs/hardhat-waffle"
:
"^2.0.1"
,
"@types/chai"
:
"^4.2.17"
,
"@types/chai"
:
"^4.2.17"
,
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
"eslint-plugin-react"
:
"^7.24.0"
,
"eslint-plugin-react"
:
"^7.24.0"
,
"eslint-plugin-unicorn"
:
"^32.0.1"
,
"eslint-plugin-unicorn"
:
"^32.0.1"
,
"ethereum-waffle"
:
"^3.3.0"
,
"ethereum-waffle"
:
"^3.3.0"
,
"ethers"
:
"^5.
0.32
"
,
"ethers"
:
"^5.
4.5
"
,
"hardhat"
:
"^2.2.1"
,
"hardhat"
:
"^2.2.1"
,
"hardhat-gas-reporter"
:
"^1.0.4"
,
"hardhat-gas-reporter"
:
"^1.0.4"
,
"mocha"
:
"^8.3.1"
,
"mocha"
:
"^8.3.1"
,
...
...
integration-tests/test/rpc.spec.ts
View file @
2cfb8e88
...
@@ -328,10 +328,21 @@ describe('Basic RPC tests', () => {
...
@@ -328,10 +328,21 @@ describe('Basic RPC tests', () => {
// Get latest block once to start.
// Get latest block once to start.
const
prev
=
await
provider
.
getBlockWithTransactions
(
'
latest
'
)
const
prev
=
await
provider
.
getBlockWithTransactions
(
'
latest
'
)
// set wait to null to allow a deep object comparison
prev
.
transactions
[
0
].
wait
=
null
// Over ten seconds, repeatedly check the latest block to make sure nothing has changed.
// Over ten seconds, repeatedly check the latest block to make sure nothing has changed.
for
(
let
i
=
0
;
i
<
5
;
i
++
)
{
for
(
let
i
=
0
;
i
<
5
;
i
++
)
{
const
latest
=
await
provider
.
getBlockWithTransactions
(
'
latest
'
)
const
latest
=
await
provider
.
getBlockWithTransactions
(
'
latest
'
)
latest
.
transactions
[
0
].
wait
=
null
// Check each key of the transaction individually
// for easy debugging if one field changes
for
(
const
[
key
,
value
]
of
Object
.
entries
(
latest
.
transactions
[
0
]))
{
expect
(
value
).
to
.
deep
.
equal
(
prev
.
transactions
[
0
][
key
],
`mismatch
${
key
}
`
)
}
expect
(
latest
).
to
.
deep
.
equal
(
prev
)
expect
(
latest
).
to
.
deep
.
equal
(
prev
)
await
sleep
(
2000
)
await
sleep
(
2000
)
}
}
...
...
ops/docker/hardhat/hardhat.config.js
View file @
2cfb8e88
module
.
exports
=
{
networks
:
{
hardhat
:
{
gasPrice
:
0
,
initialBaseFeePerGas
:
0
},
},
analytics
:
{
enabled
:
false
},
}
ops/docker/hardhat/package.json
View file @
2cfb8e88
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
"name"
:
"@eth-optimism/hardhat-node"
,
"name"
:
"@eth-optimism/hardhat-node"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"scripts"
:
{
"scripts"
:
{
"start"
:
"hardhat node"
"start"
:
"hardhat node
--network hardhat
"
},
},
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"dependencies"
:
{
"dependencies"
:
{
"hardhat"
:
"^2.
1.2
"
"hardhat"
:
"^2.
6.1
"
}
}
}
}
ops/docker/hardhat/yarn.lock
View file @
2cfb8e88
This diff is collapsed.
Click to expand it.
packages/batch-submitter/package.json
View file @
2cfb8e88
...
@@ -36,13 +36,13 @@
...
@@ -36,13 +36,13 @@
"@eth-optimism/contracts"
:
"^0.4.9"
,
"@eth-optimism/contracts"
:
"^0.4.9"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/ynatm"
:
"^0.2.2"
,
"@eth-optimism/ynatm"
:
"^0.2.2"
,
"@ethersproject/abstract-provider"
:
"^5.
0.5
"
,
"@ethersproject/abstract-provider"
:
"^5.
4.1
"
,
"@ethersproject/providers"
:
"^5.
0.1
4"
,
"@ethersproject/providers"
:
"^5.
4.
4"
,
"@sentry/node"
:
"^6.2.5"
,
"@sentry/node"
:
"^6.2.5"
,
"bcfg"
:
"^0.1.6"
,
"bcfg"
:
"^0.1.6"
,
"bluebird"
:
"^3.7.2"
,
"bluebird"
:
"^3.7.2"
,
"dotenv"
:
"^8.2.0"
,
"dotenv"
:
"^8.2.0"
,
"ethers"
:
"
5.0.0
"
,
"ethers"
:
"
^5.4.5
"
,
"old-contracts"
:
"npm:@eth-optimism/contracts@^0.0.2-alpha.7"
,
"old-contracts"
:
"npm:@eth-optimism/contracts@^0.0.2-alpha.7"
,
"prom-client"
:
"^13.1.0"
"prom-client"
:
"^13.1.0"
},
},
...
...
packages/contracts/package.json
View file @
2cfb8e88
...
@@ -51,9 +51,9 @@
...
@@ -51,9 +51,9 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@ethersproject/abstract-provider"
:
"^5.
0.8
"
,
"@ethersproject/abstract-provider"
:
"^5.
4.1
"
,
"@ethersproject/abstract-signer"
:
"^5.
1.0
"
,
"@ethersproject/abstract-signer"
:
"^5.
4.1
"
,
"@ethersproject/contracts"
:
"^5.
0.5
"
,
"@ethersproject/contracts"
:
"^5.
4.1
"
,
"@ethersproject/hardware-wallets"
:
"^5.4.0"
,
"@ethersproject/hardware-wallets"
:
"^5.4.0"
,
"glob"
:
"^7.1.6"
"glob"
:
"^7.1.6"
},
},
...
@@ -61,13 +61,13 @@
...
@@ -61,13 +61,13 @@
"@codechecks/client"
:
"0.1.10-beta"
,
"@codechecks/client"
:
"0.1.10-beta"
,
"@eth-optimism/hardhat-ovm"
:
"^0.2.2"
,
"@eth-optimism/hardhat-ovm"
:
"^0.2.2"
,
"@eth-optimism/smock"
:
"^1.1.10"
,
"@eth-optimism/smock"
:
"^1.1.10"
,
"@ethersproject/transactions"
:
"^5.
0.31
"
,
"@ethersproject/transactions"
:
"^5.
4.0
"
,
"@nomiclabs/hardhat-ethers"
:
"^2.0.1"
,
"@nomiclabs/hardhat-ethers"
:
"^2.0.1"
,
"@nomiclabs/hardhat-waffle"
:
"^2.0.1"
,
"@nomiclabs/hardhat-waffle"
:
"^2.0.1"
,
"@openzeppelin/contracts"
:
"^3.3.0"
,
"@openzeppelin/contracts"
:
"^3.3.0"
,
"@openzeppelin/contracts-upgradeable"
:
"^3.3.0"
,
"@openzeppelin/contracts-upgradeable"
:
"^3.3.0"
,
"@typechain/ethers-v5"
:
"
1.0.0
"
,
"@typechain/ethers-v5"
:
"
^7.0.1
"
,
"@typechain/hardhat"
:
"^
1.0.1
"
,
"@typechain/hardhat"
:
"^
2.3.0
"
,
"@types/buffer-xor"
:
"^2.0.0"
,
"@types/buffer-xor"
:
"^2.0.0"
,
"@types/chai"
:
"^4.2.17"
,
"@types/chai"
:
"^4.2.17"
,
"@types/copyfiles"
:
"^2.4.0"
,
"@types/copyfiles"
:
"^2.4.0"
,
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
"eslint-plugin-react"
:
"^7.24.0"
,
"eslint-plugin-react"
:
"^7.24.0"
,
"eslint-plugin-unicorn"
:
"^32.0.1"
,
"eslint-plugin-unicorn"
:
"^32.0.1"
,
"ethereum-waffle"
:
"^3.3.0"
,
"ethereum-waffle"
:
"^3.3.0"
,
"ethers"
:
"^5.
0.31
"
,
"ethers"
:
"^5.
4.5
"
,
"ganache-core"
:
"^2.13.2"
,
"ganache-core"
:
"^2.13.2"
,
"hardhat"
:
"^2.2.1"
,
"hardhat"
:
"^2.2.1"
,
"hardhat-deploy"
:
"^0.7.4"
,
"hardhat-deploy"
:
"^0.7.4"
,
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
"solidity-coverage"
:
"^0.7.16"
,
"solidity-coverage"
:
"^0.7.16"
,
"ts-generator"
:
"0.0.8"
,
"ts-generator"
:
"0.0.8"
,
"ts-node"
:
"^9.1.1"
,
"ts-node"
:
"^9.1.1"
,
"typechain"
:
"
2.0
.0"
,
"typechain"
:
"
^5.1
.0"
,
"typescript"
:
"^4.2.3"
,
"typescript"
:
"^4.2.3"
,
"yargs"
:
"^16.2.0"
"yargs"
:
"^16.2.0"
},
},
...
...
packages/core-utils/package.json
View file @
2cfb8e88
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
"typescript"
:
"^4.2.3"
"typescript"
:
"^4.2.3"
},
},
"dependencies"
:
{
"dependencies"
:
{
"@ethersproject/abstract-provider"
:
"^5.
0.9
"
,
"@ethersproject/abstract-provider"
:
"^5.
4.1
"
,
"ethers"
:
"^5.
0.31
"
,
"ethers"
:
"^5.
4.5
"
,
"lodash"
:
"^4.17.21"
"lodash"
:
"^4.17.21"
}
}
}
}
packages/data-transport-layer/package.json
View file @
2cfb8e88
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
"@eth-optimism/common-ts"
:
"^0.1.5"
,
"@eth-optimism/common-ts"
:
"^0.1.5"
,
"@eth-optimism/contracts"
:
"^0.4.9"
,
"@eth-optimism/contracts"
:
"^0.4.9"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@ethersproject/providers"
:
"^5.
0.21
"
,
"@ethersproject/providers"
:
"^5.
4.4
"
,
"@ethersproject/transactions"
:
"^5.0.21"
,
"@ethersproject/transactions"
:
"^5.0.21"
,
"@sentry/node"
:
"^6.3.1"
,
"@sentry/node"
:
"^6.3.1"
,
"@sentry/tracing"
:
"^6.3.1"
,
"@sentry/tracing"
:
"^6.3.1"
,
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
"browser-or-node"
:
"^1.3.0"
,
"browser-or-node"
:
"^1.3.0"
,
"cors"
:
"^2.8.5"
,
"cors"
:
"^2.8.5"
,
"dotenv"
:
"^8.2.0"
,
"dotenv"
:
"^8.2.0"
,
"ethers"
:
"^5.
0.26
"
,
"ethers"
:
"^5.
4.0
"
,
"express"
:
"^4.17.1"
,
"express"
:
"^4.17.1"
,
"express-prom-bundle"
:
"^6.3.6"
,
"express-prom-bundle"
:
"^6.3.6"
,
"level"
:
"^6.0.1"
,
"level"
:
"^6.0.1"
,
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
"node-fetch"
:
"^2.6.1"
"node-fetch"
:
"^2.6.1"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@ethersproject/abstract-provider"
:
"^5.
1.0
"
,
"@ethersproject/abstract-provider"
:
"^5.
4.1
"
,
"@types/browser-or-node"
:
"^1.3.0"
,
"@types/browser-or-node"
:
"^1.3.0"
,
"@types/chai"
:
"^4.2.17"
,
"@types/chai"
:
"^4.2.17"
,
"@types/chai-as-promised"
:
"^7.1.3"
,
"@types/chai-as-promised"
:
"^7.1.3"
,
...
...
packages/hardhat-ovm/package.json
View file @
2cfb8e88
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
"node-fetch"
:
"^2.6.1"
"node-fetch"
:
"^2.6.1"
},
},
"peerDependencies"
:
{
"peerDependencies"
:
{
"ethers"
:
"^5.
1.4
"
,
"ethers"
:
"^5.
4.0
"
,
"hardhat"
:
"^2.2.1"
"hardhat"
:
"^2.2.1"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
...
...
packages/message-relayer/package.json
View file @
2cfb8e88
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
"@sentry/node"
:
"6.2.5"
,
"@sentry/node"
:
"6.2.5"
,
"bcfg"
:
"^0.1.6"
,
"bcfg"
:
"^0.1.6"
,
"dotenv"
:
"^8.2.0"
,
"dotenv"
:
"^8.2.0"
,
"ethers"
:
"^5.
1.0
"
,
"ethers"
:
"^5.
4.5
"
,
"merkletreejs"
:
"^0.2.18"
,
"merkletreejs"
:
"^0.2.18"
,
"rlp"
:
"^2.2.6"
"rlp"
:
"^2.2.6"
},
},
...
...
packages/replica-healthcheck/package.json
View file @
2cfb8e88
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
"dependencies"
:
{
"dependencies"
:
{
"@eth-optimism/common-ts"
:
"0.1.5"
,
"@eth-optimism/common-ts"
:
"0.1.5"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"@eth-optimism/core-utils"
:
"^0.5.1"
,
"ethers"
:
"^5.
3.0
"
,
"ethers"
:
"^5.
4.5
"
,
"express"
:
"^4.17.1"
,
"express"
:
"^4.17.1"
,
"express-prom-bundle"
:
"^6.3.6"
,
"express-prom-bundle"
:
"^6.3.6"
,
"prom-client"
:
"^13.1.0"
"prom-client"
:
"^13.1.0"
...
...
yarn.lock
View file @
2cfb8e88
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment