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
08a5b63e
Unverified
Commit
08a5b63e
authored
Jun 03, 2022
by
Mark Tyneway
Committed by
GitHub
Jun 03, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2681 from ethereum-optimism/fix/bedrock-itests-build
fix: bedrock itests
parents
5ff7ba66
ac2de68c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
20 deletions
+22
-20
Makefile
Makefile
+6
-13
.gitignore
packages/integration-tests-bedrock/.gitignore
+2
-1
foundry.toml
packages/integration-tests-bedrock/foundry.toml
+8
-0
package.json
packages/integration-tests-bedrock/package.json
+4
-4
deposit.spec.ts
packages/integration-tests-bedrock/test/deposit.spec.ts
+2
-2
No files found.
Makefile
View file @
08a5b63e
COMPOSEFLAGS
=
-d
COMPOSEFLAGS
=
-d
ITESTS_L2_HOST
=
http://localhost:9545
ITESTS_L2_HOST
=
http://localhost:9545
build
:
build-go
contracts integration-tes
ts
build
:
build-go
build-
ts
.PHONY
:
build
.PHONY
:
build
build-go
:
submodules op-node op-proposer op-batcher
build-go
:
submodules op-node op-proposer op-batcher
.PHONY
:
build-go
.PHONY
:
build-go
build-ts
:
submodules contracts integration-tests
build-ts
:
submodules
yarn build
.PHONY
:
build-ts
.PHONY
:
build-ts
submodules
:
submodules
:
...
@@ -42,14 +43,6 @@ mod-tidy:
...
@@ -42,14 +43,6 @@ mod-tidy:
cd
./op-e2e
&&
go mod tidy
&&
cd
..
cd
./op-e2e
&&
go mod tidy
&&
cd
..
.PHONY
:
mod-tidy
.PHONY
:
mod-tidy
contracts
:
cd
./contracts-bedrock
&&
yarn
install
&&
yarn build
.PHONY
:
contracts
integration-tests
:
cd
./packages/integration-tests-bedrock
&&
yarn
install
&&
yarn build:contracts
.PHONY
:
integration-tests
clean
:
clean
:
rm
-rf
./bin
rm
-rf
./bin
.PHONY
:
clean
.PHONY
:
clean
...
@@ -63,7 +56,7 @@ devnet-down:
...
@@ -63,7 +56,7 @@ devnet-down:
.PHONY
:
devnet-down
.PHONY
:
devnet-down
devnet-clean
:
devnet-clean
:
rm
-rf
./contracts-bedrock/deployments/devnetL1
rm
-rf
./
packages/
contracts-bedrock/deployments/devnetL1
rm
-rf
./.devnet
rm
-rf
./.devnet
cd
./ops-bedrock
&&
docker-compose down
cd
./ops-bedrock
&&
docker-compose down
docker volume
rm
ops-bedrock_l1_data
docker volume
rm
ops-bedrock_l1_data
...
@@ -76,12 +69,12 @@ test-unit:
...
@@ -76,12 +69,12 @@ test-unit:
make
-C
./op-proposer
test
make
-C
./op-proposer
test
make
-C
./op-batcher
test
make
-C
./op-batcher
test
make
-C
./op-e2e
test
make
-C
./op-e2e
test
cd
./contracts-bedrock
&&
yarn
test
yarn
test
.PHONY
:
test-unit
.PHONY
:
test-unit
test-integration
:
test-integration
:
bash ./ops-bedrock/test-integration.sh
\
bash ./ops-bedrock/test-integration.sh
\
./contracts-bedrock/deployments/devnetL1
./
packages/
contracts-bedrock/deployments/devnetL1
.PHONY
:
test-integration
.PHONY
:
test-integration
devnet-genesis
:
devnet-genesis
:
...
...
packages/integration-tests-bedrock/.gitignore
View file @
08a5b63e
artifacts
artifacts
cache
cache
\ No newline at end of file
forge-artifacts
packages/integration-tests-bedrock/foundry.toml
0 → 100644
View file @
08a5b63e
[default]
src
=
'contracts'
out
=
'forge-artifacts'
optimizer
=
true
optimizer_runs
=
999999
extra_output
=
[
'devdoc'
,
'userdoc'
,
'metadata'
,
'storageLayout'
]
bytecode_hash
=
"none"
packages/integration-tests-bedrock/package.json
View file @
08a5b63e
...
@@ -2,16 +2,16 @@
...
@@ -2,16 +2,16 @@
"private"
:
true
,
"private"
:
true
,
"name"
:
"@eth-optimism/integration-tests-bedrock"
,
"name"
:
"@eth-optimism/integration-tests-bedrock"
,
"version"
:
"0.5.10"
,
"version"
:
"0.5.10"
,
"description"
:
"[Optimism] Integration tests"
,
"description"
:
"[Optimism]
Bedrock
Integration tests"
,
"scripts"
:
{
"scripts"
:
{
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:check"
:
"eslint . --max-warnings=0"
,
"lint:check"
:
"eslint . --max-warnings=0"
,
"build:contracts"
:
"forge build
--root . -c contracts -o artifacts
"
,
"build:contracts"
:
"forge build"
,
"test"
:
"echo 'no unit tests'"
,
"test"
:
"echo 'no unit tests'"
,
"test:actor"
:
"IS_LIVE_NETWORK=true ts-node actor-tests/lib/runner.ts"
,
"test:actor"
:
"IS_LIVE_NETWORK=true ts-node actor-tests/lib/runner.ts"
,
"test:integration:live"
:
"NO_NETWORK=true IS_LIVE_NETWORK=true hardhat --network optimism test"
,
"test:integration:live"
:
"NO_NETWORK=true IS_LIVE_NETWORK=true hardhat --network optimism test"
,
"clean"
:
"rimraf cache artifacts"
"clean"
:
"rimraf cache artifacts
foundry-artifacts
"
},
},
"keywords"
:
[
"keywords"
:
[
"optimism"
,
"optimism"
,
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"integration"
,
"integration"
,
"tests"
"tests"
],
],
"homepage"
:
"https://github.com/ethereum-optimism/optimism/tree/develop/packages/integration-tests#readme"
,
"homepage"
:
"https://github.com/ethereum-optimism/optimism/tree/develop/packages/integration-tests
-bedrock
#readme"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"author"
:
"Optimism PBC"
,
"author"
:
"Optimism PBC"
,
"repository"
:
{
"repository"
:
{
...
...
packages/integration-tests-bedrock/test/deposit.spec.ts
View file @
08a5b63e
...
@@ -5,8 +5,8 @@ import { awaitCondition } from '@eth-optimism/core-utils'
...
@@ -5,8 +5,8 @@ import { awaitCondition } from '@eth-optimism/core-utils'
/* Imports: Internal */
/* Imports: Internal */
import
{
defaultTransactionFactory
}
from
'
./shared/utils
'
import
{
defaultTransactionFactory
}
from
'
./shared/utils
'
import
env
from
'
./shared/env
'
import
env
from
'
./shared/env
'
import
counterArtifact
from
'
../artifacts/Counter.sol/Counter.json
'
import
counterArtifact
from
'
../
forge-
artifacts/Counter.sol/Counter.json
'
import
multiDepositorArtifact
from
'
../artifacts/MultiDepositor.sol/MultiDepositor.json
'
import
multiDepositorArtifact
from
'
../
forge-
artifacts/MultiDepositor.sol/MultiDepositor.json
'
describe
(
'
Deposits
'
,
()
=>
{
describe
(
'
Deposits
'
,
()
=>
{
let
portal
:
Contract
let
portal
:
Contract
...
...
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