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
a3acacf7
Unverified
Commit
a3acacf7
authored
May 08, 2023
by
mergify[bot]
Committed by
GitHub
May 08, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into refcell/fix/proposer
parents
06fb8243
73e62b94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
goerli.go
op-program/verify/cmd/goerli.go
+1
-1
types.ts
packages/sdk/src/interfaces/types.ts
+1
-0
chain-constants.ts
packages/sdk/src/utils/chain-constants.ts
+17
-0
No files found.
op-program/verify/cmd/goerli.go
View file @
a3acacf7
...
...
@@ -127,7 +127,7 @@ func Run(l1RpcUrl string, l2RpcUrl string, l2OracleAddr common.Address) error {
}
func
runFaultProofProgram
(
ctx
context
.
Context
,
args
[]
string
)
error
{
ctx
,
cancel
:=
context
.
WithTimeout
(
ctx
,
3
0
*
time
.
Minute
)
ctx
,
cancel
:=
context
.
WithTimeout
(
ctx
,
6
0
*
time
.
Minute
)
defer
cancel
()
cmd
:=
exec
.
CommandContext
(
ctx
,
"./bin/op-program"
,
args
...
)
cmd
.
Stdout
=
os
.
Stdout
...
...
packages/sdk/src/interfaces/types.ts
View file @
a3acacf7
...
...
@@ -29,6 +29,7 @@ export enum L2ChainID {
OPTIMISM_HARDHAT_DEVNET
=
17
,
OPTIMISM_BEDROCK_LOCAL_DEVNET
=
901
,
OPTIMISM_BEDROCK_ALPHA_TESTNET
=
28528
,
BASE_GOERLI
=
84531
,
}
/**
...
...
packages/sdk/src/utils/chain-constants.ts
View file @
a3acacf7
...
...
@@ -23,6 +23,7 @@ export const DEPOSIT_CONFIRMATION_BLOCKS: {
[
L2ChainID
.
OPTIMISM_HARDHAT_DEVNET
]:
2
as
const
,
[
L2ChainID
.
OPTIMISM_BEDROCK_LOCAL_DEVNET
]:
2
as
const
,
[
L2ChainID
.
OPTIMISM_BEDROCK_ALPHA_TESTNET
]:
12
as
const
,
[
L2ChainID
.
BASE_GOERLI
]:
12
as
const
,
}
export
const
CHAIN_BLOCK_TIMES
:
{
...
...
@@ -157,6 +158,22 @@ export const CONTRACT_ADDRESSES: {
},
l2
:
DEFAULT_L2_CONTRACT_ADDRESSES
,
},
[
L2ChainID
.
BASE_GOERLI
]:
{
l1
:
{
AddressManager
:
'
0x4Cf6b56b14c6CFcB72A75611080514F94624c54e
'
as
const
,
L1CrossDomainMessenger
:
'
0x8e5693140eA606bcEB98761d9beB1BC87383706D
'
as
const
,
L1StandardBridge
:
'
0xfA6D8Ee5BE770F84FC001D098C4bD604Fe01284a
'
as
const
,
StateCommitmentChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
CanonicalTransactionChain
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
BondManager
:
'
0x0000000000000000000000000000000000000000
'
as
const
,
OptimismPortal
:
'
0xe93c8cD0D409341205A592f8c4Ac1A5fe5585cfA
'
as
const
,
L2OutputOracle
:
'
0x2A35891ff30313CcFa6CE88dcf3858bb075A2298
'
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