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
9047f5cd
Unverified
Commit
9047f5cd
authored
Nov 12, 2023
by
Mark Tyneway
Committed by
GitHub
Nov 12, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8101 from ethereum-optimism/jm/style-update
docs(ctb): Add network-specific to style guide
parents
079a99b0
1f9f4458
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
STYLE_GUIDE.md
packages/contracts-bedrock/STYLE_GUIDE.md
+3
-2
No files found.
packages/contracts-bedrock/STYLE_GUIDE.md
View file @
9047f5cd
...
@@ -21,9 +21,10 @@ with additional rules. These are:
...
@@ -21,9 +21,10 @@ with additional rules. These are:
We also have the following custom tags:
We also have the following custom tags:
-
`@custom:proxied`
: Add to a contract whenever it's meant to live behind a proxy.
-
`@custom:proxied`
: Add to a contract whenever it's meant to live behind a proxy.
-
`@custom:upgradeable`
: Add to a contract whenever it's meant to be
used in
an upgradeable contract.
-
`@custom:upgradeable`
: Add to a contract whenever it's meant to be
inherited by
an upgradeable contract.
-
`@custom:semver`
: Add to
a constructor to indicate the version of a contract
.
-
`@custom:semver`
: Add to
`version`
variable which indicate the contracts semver
.
-
`@custom:legacy`
: Add to an event or function when it only exists for legacy support.
-
`@custom:legacy`
: Add to an event or function when it only exists for legacy support.
-
`@custom:network-specific`
: Add to state variables which vary between OP Chains.
#### Errors
#### Errors
...
...
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