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
77995af7
Commit
77995af7
authored
Oct 23, 2023
by
Eugene Y. Q. Shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specs: rename contracts to contracts-bedrock
parent
bc8a1da1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
CONTRIBUTING.md
CONTRIBUTING.md
+2
-2
deposits.md
specs/deposits.md
+3
-3
devnet.md
specs/meta/devnet.md
+1
-1
No files found.
CONTRIBUTING.md
View file @
77995af7
...
@@ -181,9 +181,9 @@ You must have Python 3.x installed to run `slither`.
...
@@ -181,9 +181,9 @@ You must have Python 3.x installed to run `slither`.
To run
`slither`
locally, do:
To run
`slither`
locally, do:
```
bash
```
bash
cd
packages/contracts
cd
packages/contracts
-bedrock
pip3
install
slither-analyzer
pip3
install
slither-analyzer
pnpm
test
:
slither
pnpm slither
```
```
## Labels
## Labels
...
...
specs/deposits.md
View file @
77995af7
...
@@ -308,9 +308,9 @@ A reference implementation of the L1 Attributes predeploy contract can be found
...
@@ -308,9 +308,9 @@ A reference implementation of the L1 Attributes predeploy contract can be found
[
L1Block.sol
]:
../packages/contracts-bedrock/src/L2/L1Block.sol
[
L1Block.sol
]:
../packages/contracts-bedrock/src/L2/L1Block.sol
After running
`pnpm build`
in the
`packages/contracts
`
directory, the bytecode to add to the genesis
After running
`pnpm build`
in the
`packages/contracts
-bedrock`
directory, the bytecode to add to
file will be located in the
`deployedBytecode`
field of the build artifacts file at
the genesis
file will be located in the
`deployedBytecode`
field of the build artifacts file at
`/packages/contracts
/artifacts/contracts/L2
/L1Block.sol/L1Block.json`
.
`/packages/contracts
-bedrock/forge-artifacts
/L1Block.sol/L1Block.json`
.
## User-Deposited Transactions
## User-Deposited Transactions
...
...
specs/meta/devnet.md
View file @
77995af7
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
You can spin up a local devnet via
`docker compose`
.
You can spin up a local devnet via
`docker compose`
.
For convenience, we have defined
`make`
targets to start and stop the devnet with a single command.
For convenience, we have defined
`make`
targets to start and stop the devnet with a single command.
To run the devnet, you will need
`docker`
installed.
To run the devnet, you will need
`docker`
installed.
Then, as a precondition, make sure that you have compiled the contracts by
`cd`
ing into
`packages/contracts`
Then, as a precondition, make sure that you have compiled the contracts by
`cd`
ing into
`packages/contracts
-bedrock
`
and running
`pnpm i`
followed by
`pnpm build`
. You'll only need to do this if you change the contracts in the future.
and running
`pnpm i`
followed by
`pnpm build`
. You'll only need to do this if you change the contracts in the future.
Then, run the following:
Then, run the following:
...
...
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