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
e40b268f
Unverified
Commit
e40b268f
authored
Jun 27, 2023
by
mergify[bot]
Committed by
GitHub
Jun 27, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into jg/game_agent
parents
22197da0
dc03b1c9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
1 deletion
+40
-1
slither.sh
packages/contracts-bedrock/scripts/slither.sh
+3
-1
types.ts
packages/sdk/src/interfaces/types.ts
+2
-0
chain-constants.ts
packages/sdk/src/utils/chain-constants.ts
+35
-0
No files found.
packages/contracts-bedrock/scripts/slither.sh
View file @
e40b268f
...
...
@@ -4,8 +4,10 @@ rm -rf artifacts forge-artifacts
# See slither.config.json for slither settings
if
[[
-z
"
$TRIAGE_MODE
"
]]
;
then
echo
"Building contracts"
forge build
--build-info
--force
echo
"Running slither"
slither
.
slither
--ignore-compile
.
else
echo
"Running slither in triage mode"
# Slither's triage mode will run an 'interview' in the terminal, allowing you to review each of
...
...
packages/sdk/src/interfaces/types.ts
View file @
e40b268f
...
...
@@ -30,6 +30,8 @@ export enum L2ChainID {
OPTIMISM_BEDROCK_LOCAL_DEVNET
=
901
,
OPTIMISM_BEDROCK_ALPHA_TESTNET
=
28528
,
BASE_GOERLI
=
84531
,
ZORA_GOERLI
=
999
,
ZORA_MAINNET
=
7777777
,
}
/**
...
...
packages/sdk/src/utils/chain-constants.ts
View file @
e40b268f
...
...
@@ -72,6 +72,8 @@ export const DEPOSIT_CONFIRMATION_BLOCKS: {
[
L2ChainID
.
OPTIMISM_BEDROCK_LOCAL_DEVNET
]:
2
as
const
,
[
L2ChainID
.
OPTIMISM_BEDROCK_ALPHA_TESTNET
]:
12
as
const
,
[
L2ChainID
.
BASE_GOERLI
]:
12
as
const
,
[
L2ChainID
.
ZORA_GOERLI
]:
12
as
const
,
[
L2ChainID
.
ZORA_MAINNET
]:
50
as
const
,
}
export
const
CHAIN_BLOCK_TIMES
:
{
...
...
@@ -216,6 +218,39 @@ export const CONTRACT_ADDRESSES: {
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
// Zora Goerli
[
L2ChainID
.
ZORA_GOERLI
]:
{
l1
:
{
AddressManager
:
'
0x54f4676203dEDA6C08E0D40557A119c602bFA246
'
as
const
,
L1CrossDomainMessenger
:
'
0xD87342e16352D33170557A7dA1e5fB966a60FafC
'
as
const
,
L1StandardBridge
:
'
0x7CC09AC2452D6555d5e0C213Ab9E2d44eFbFc956
'
as
const
,
StateCommitmentChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
CanonicalTransactionChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
BondManager
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
OptimismPortal
:
'
0xDb9F51790365e7dc196e7D072728df39Be958ACe
'
as
const
,
L2OutputOracle
:
'
0xdD292C9eEd00f6A32Ff5245d0BCd7f2a15f24e00
'
as
const
,
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
[
L2ChainID
.
ZORA_MAINNET
]:
{
l1
:
{
AddressManager
:
'
0xEF8115F2733fb2033a7c756402Fc1deaa56550Ef
'
as
const
,
L1CrossDomainMessenger
:
'
0xdC40a14d9abd6F410226f1E6de71aE03441ca506
'
as
const
,
L1StandardBridge
:
'
0x3e2Ea9B92B7E48A52296fD261dc26fd995284631
'
as
const
,
StateCommitmentChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
CanonicalTransactionChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
BondManager
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
OptimismPortal
:
'
0x1a0ad011913A150f69f6A19DF447A0CfD9551054
'
as
const
,
L2OutputOracle
:
'
0x9E6204F750cD866b299594e2aC9eA824E2e5f95c
'
as
const
,
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
}
/**
...
...
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