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
7c6a00c7
Unverified
Commit
7c6a00c7
authored
Aug 16, 2023
by
mergify[bot]
Committed by
GitHub
Aug 16, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 08-15-feat_indexer_Add_basic_docs
parents
519373bf
671a92c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
68 deletions
+34
-68
config.yml
.circleci/config.yml
+31
-67
getting-started.json
...ages/contracts-bedrock/deploy-config/getting-started.json
+3
-1
No files found.
.circleci/config.yml
View file @
7c6a00c7
...
@@ -115,20 +115,23 @@ jobs:
...
@@ -115,20 +115,23 @@ jobs:
name
:
Restore PNPM Package Cache
name
:
Restore PNPM Package Cache
keys
:
keys
:
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
-
run
:
# Fetch node_modules into the pnpm store
name
:
Install dependencies
# This will cache node_modules based on pnpm-lock so other steps can instantly install them with `pnpm install --prefer-offline`
command
:
pnpm install --frozen-lockfile
# --prefer-offline installs node_modules instantly by just reading from cache if it exists rather than fetching from network
# when installing node_modules pnpm simply adds symlinks instead of copying the files which is why it is pretty much instant to run --prefer-offline
# this allows a caching strategy of only checking pnpm-lockfile so we don't have to keep it in sync with our packages
# For more information see https://pnpm.io/cli/fetch
-
run
:
name
:
Fetch dependencies
command
:
pnpm fetch --frozen-lockfile --prefer-offline
-
save_cache
:
-
save_cache
:
name
:
Save PNPM Package Cache
name
:
Save PNPM Package Cache
key
:
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
key
:
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
paths
:
paths
:
-
"
node_modules"
-
"
node_modules"
-
"
packages/chain-mon/node_modules"
-
run
:
-
"
packages/common-ts/node_modules"
name
:
Install dependencies
-
"
packages/contracts-bedrock/node_modules"
command
:
pnpm install --frozen-lockfile --offline
-
"
packages/core-utils/node_modules"
-
"
packages/sdk/node_modules"
-
"
packages/contracts-ts/node_modules"
-
run
:
-
run
:
name
:
print forge version
name
:
print forge version
command
:
forge --version
command
:
forge --version
...
@@ -469,6 +472,10 @@ jobs:
...
@@ -469,6 +472,10 @@ jobs:
name
:
Restore PNPM Package Cache
name
:
Restore PNPM Package Cache
keys
:
keys
:
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
# populate node modules from the cache
-
run
:
name
:
Install dependencies
command
:
pnpm install --frozen-lockfile --prefer-offline
-
check-changed
:
-
check-changed
:
patterns
:
contracts-bedrock
patterns
:
contracts-bedrock
-
run
:
-
run
:
...
@@ -476,51 +483,6 @@ jobs:
...
@@ -476,51 +483,6 @@ jobs:
command
:
pnpm validate-spacers
command
:
pnpm validate-spacers
working_directory
:
packages/contracts-bedrock
working_directory
:
packages/contracts-bedrock
bedrock-echidna-build
:
docker
:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
steps
:
-
checkout
-
attach_workspace
:
{
at
:
"
."
}
-
check-changed
:
patterns
:
contracts-bedrock
-
run
:
name
:
Compile with metadata hash
command
:
pnpm clean && pnpm build:with-metadata
working_directory
:
packages/contracts-bedrock
-
persist_to_workspace
:
root
:
.
paths
:
-
"
node_modules"
-
packages/contracts-bedrock
bedrock-echidna-run
:
docker
:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
parameters
:
echidna_target
:
description
:
Which echidna fuzz contract to run
type
:
string
size
:
description
:
Custom resource class size for the run
type
:
string
default
:
large
resource_class
:
<<parameters.size>>
steps
:
-
checkout
-
attach_workspace
:
{
at
:
"
."
}
-
restore_cache
:
name
:
Restore PNPM Package Cache
keys
:
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
-
check-changed
:
patterns
:
contracts-bedrock
-
run
:
name
:
Echidna Fuzz <<parameters.echidna_target>>
command
:
pnpm echidna:<<parameters.echidna_target>>
working_directory
:
packages/contracts-bedrock
no_output_timeout
:
15m
op-bindings-build
:
op-bindings-build
:
docker
:
docker
:
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
-
image
:
us-docker.pkg.dev/oplabs-tools-artifacts/images/ci-builder:latest
...
@@ -556,6 +518,10 @@ jobs:
...
@@ -556,6 +518,10 @@ jobs:
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
-
pnpm-packages-v2-{{ checksum "pnpm-lock.yaml" }}
-
check-changed
:
-
check-changed
:
patterns
:
<<parameters.package_name>>,<<parameters.dependencies>>
patterns
:
<<parameters.package_name>>,<<parameters.dependencies>>
# populate node modules from the cache
-
run
:
name
:
Install dependencies
command
:
pnpm install --frozen-lockfile --prefer-offline
-
run
:
-
run
:
name
:
Lint
name
:
Lint
command
:
pnpm lint && git diff --exit-code
command
:
pnpm lint && git diff --exit-code
...
@@ -581,6 +547,10 @@ jobs:
...
@@ -581,6 +547,10 @@ jobs:
-
pnpm-packages-v2-{{ checksum "pnpm.lock.yaml" }}
-
pnpm-packages-v2-{{ checksum "pnpm.lock.yaml" }}
-
check-changed
:
-
check-changed
:
patterns
:
sdk,contracts-bedrock,contracts
patterns
:
sdk,contracts-bedrock,contracts
# populate node modules from the cache
-
run
:
name
:
Install dependencies
command
:
pnpm install --frozen-lockfile --prefer-offline
-
run
:
-
run
:
name
:
Check generated and build
name
:
Check generated and build
command
:
pnpm generate:check
command
:
pnpm generate:check
...
@@ -599,6 +569,10 @@ jobs:
...
@@ -599,6 +569,10 @@ jobs:
-
pnpm-packages-v2-{{ checksum "pnpm.lock.yaml" }}
-
pnpm-packages-v2-{{ checksum "pnpm.lock.yaml" }}
-
check-changed
:
-
check-changed
:
patterns
:
sdk,contracts-bedrock,contracts
patterns
:
sdk,contracts-bedrock,contracts
# populate node modules from the cache
-
run
:
name
:
Install dependencies
command
:
pnpm install --frozen-lockfile --prefer-offline
-
run
:
-
run
:
name
:
anvil-l1
name
:
anvil-l1
background
:
true
background
:
true
...
@@ -643,22 +617,13 @@ jobs:
...
@@ -643,22 +617,13 @@ jobs:
-
checkout
-
checkout
-
check-changed
:
-
check-changed
:
patterns
:
specs/(.*)\.md$
patterns
:
specs/(.*)\.md$
# TODO remove me after ci builder updated
-
run
:
-
run
:
name
:
Install pnpm package manager
name
:
Install pnpm package manager
command
:
|
command
:
|
npm i pnpm --global
npm i pnpm --global
# TODO remove me after ci builder updated
# A github dep clones-with-immutable-args is installed via github
# packages installed via npm via github automatically run postpack scripts
# their postpack script happens to use yarn so we need it here
-
run
:
name
:
Install yarn package manager
command
:
|
npm i yarn@1 --global
-
run
:
-
run
:
name
:
pnpm dev deps
name
:
pnpm dev deps
command
:
pnpm install
command
:
pnpm install
--frozen-lockfile --prefer-offline
-
run
:
-
run
:
name
:
specs toc
name
:
specs toc
command
:
pnpm lint:specs:toc && git diff --exit-code ./specs
command
:
pnpm lint:specs:toc && git diff --exit-code ./specs
...
@@ -671,7 +636,6 @@ jobs:
...
@@ -671,7 +636,6 @@ jobs:
image
:
ubuntu-2204:2022.07.1
image
:
ubuntu-2204:2022.07.1
steps
:
steps
:
-
checkout
-
checkout
# TODO remove me after ci builder updated
-
run
:
-
run
:
name
:
Install pnpm package manager
name
:
Install pnpm package manager
command
:
|
command
:
|
...
@@ -679,7 +643,7 @@ jobs:
...
@@ -679,7 +643,7 @@ jobs:
-
run
:
-
run
:
name
:
Install node_modules
name
:
Install node_modules
command
:
|
command
:
|
pnpm install
pnpm install
--frozen-lockfile --prefer-offline
-
run
:
-
run
:
name
:
Lint check
name
:
Lint check
command
:
|
command
:
|
...
@@ -981,7 +945,7 @@ jobs:
...
@@ -981,7 +945,7 @@ jobs:
-
run
:
-
run
:
name
:
Install and build
name
:
Install and build
command
:
|
command
:
|
pnpm install && pnpm build
pnpm install
--frozen-lockfile --prefer-offline
&& pnpm build
-
run
:
-
run
:
name
:
generate cannon prestate
name
:
generate cannon prestate
command
:
make cannon-prestate
command
:
make cannon-prestate
...
...
packages/contracts-bedrock/deploy-config/getting-started.json
View file @
7c6a00c7
...
@@ -52,5 +52,7 @@
...
@@ -52,5 +52,7 @@
"l2GenesisRegolithTimeOffset"
:
"0x0"
,
"l2GenesisRegolithTimeOffset"
:
"0x0"
,
"eip1559Denominator"
:
50
,
"eip1559Denominator"
:
50
,
"eip1559Elasticity"
:
10
"eip1559Elasticity"
:
10
,
"systemConfigStartBlock"
:
0
}
}
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