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
bc7398ca
Commit
bc7398ca
authored
Nov 06, 2023
by
Tei Im
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove OP_E2E_USE_SPAN_BATCH env usage
parent
4cddf82c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
21 deletions
+0
-21
config.yml
.circleci/config.yml
+0
-7
Makefile
op-e2e/Makefile
+0
-4
setup.go
op-e2e/e2eutils/setup.go
+0
-9
setup.go
op-e2e/setup.go
+0
-1
No files found.
.circleci/config.yml
View file @
bc7398ca
...
@@ -1418,13 +1418,6 @@ workflows:
...
@@ -1418,13 +1418,6 @@ workflows:
-
op-stack-go-lint
-
op-stack-go-lint
-
devnet-allocs
-
devnet-allocs
-
l1-geth-version-check
-
l1-geth-version-check
-
go-e2e-test
:
name
:
op-e2e-span-batch-tests
module
:
op-e2e
target
:
test-span-batch
requires
:
-
op-stack-go-lint
-
devnet-allocs
-
op-program-compat
:
-
op-program-compat
:
requires
:
requires
:
-
op-program-tests
-
op-program-tests
...
...
op-e2e/Makefile
View file @
bc7398ca
...
@@ -23,10 +23,6 @@ test-http: pre-test
...
@@ -23,10 +23,6 @@ test-http: pre-test
OP_E2E_USE_HTTP
=
true
$(go_test)
$(go_test_flags)
./...
OP_E2E_USE_HTTP
=
true
$(go_test)
$(go_test_flags)
./...
.PHONY
:
test-http
.PHONY
:
test-http
test-span-batch
:
pre-test
OP_E2E_USE_SPAN_BATCH
=
true
$(go_test)
$(go_test_flags)
./...
.PHONY
:
test-span-batch
cannon-prestate
:
cannon-prestate
:
make
-C
.. cannon-prestate
make
-C
.. cannon-prestate
.PHONY
:
cannon-prestate
.PHONY
:
cannon-prestate
...
...
op-e2e/e2eutils/setup.go
View file @
bc7398ca
...
@@ -59,7 +59,6 @@ func MakeDeployParams(t require.TestingT, tp *TestParams) *DeployParams {
...
@@ -59,7 +59,6 @@ func MakeDeployParams(t require.TestingT, tp *TestParams) *DeployParams {
deployConfig
.
L1BlockTime
=
tp
.
L1BlockTime
deployConfig
.
L1BlockTime
=
tp
.
L1BlockTime
deployConfig
.
L2GenesisRegolithTimeOffset
=
nil
deployConfig
.
L2GenesisRegolithTimeOffset
=
nil
deployConfig
.
L2GenesisCanyonTimeOffset
=
CanyonTimeOffset
()
deployConfig
.
L2GenesisCanyonTimeOffset
=
CanyonTimeOffset
()
deployConfig
.
L2GenesisSpanBatchTimeOffset
=
SpanBatchTimeOffset
()
require
.
NoError
(
t
,
deployConfig
.
Check
())
require
.
NoError
(
t
,
deployConfig
.
Check
())
require
.
Equal
(
t
,
addresses
.
Batcher
,
deployConfig
.
BatchSenderAddress
)
require
.
Equal
(
t
,
addresses
.
Batcher
,
deployConfig
.
BatchSenderAddress
)
...
@@ -186,14 +185,6 @@ func SystemConfigFromDeployConfig(deployConfig *genesis.DeployConfig) eth.System
...
@@ -186,14 +185,6 @@ func SystemConfigFromDeployConfig(deployConfig *genesis.DeployConfig) eth.System
}
}
}
}
func
SpanBatchTimeOffset
()
*
hexutil
.
Uint64
{
if
os
.
Getenv
(
"OP_E2E_USE_SPAN_BATCH"
)
==
"true"
{
offset
:=
hexutil
.
Uint64
(
0
)
return
&
offset
}
return
nil
}
func
CanyonTimeOffset
()
*
hexutil
.
Uint64
{
func
CanyonTimeOffset
()
*
hexutil
.
Uint64
{
if
os
.
Getenv
(
"OP_E2E_USE_CANYON"
)
==
"true"
{
if
os
.
Getenv
(
"OP_E2E_USE_CANYON"
)
==
"true"
{
offset
:=
hexutil
.
Uint64
(
0
)
offset
:=
hexutil
.
Uint64
(
0
)
...
...
op-e2e/setup.go
View file @
bc7398ca
...
@@ -88,7 +88,6 @@ func DefaultSystemConfig(t *testing.T) SystemConfig {
...
@@ -88,7 +88,6 @@ func DefaultSystemConfig(t *testing.T) SystemConfig {
deployConfig
:=
config
.
DeployConfig
.
Copy
()
deployConfig
:=
config
.
DeployConfig
.
Copy
()
deployConfig
.
L1GenesisBlockTimestamp
=
hexutil
.
Uint64
(
time
.
Now
()
.
Unix
())
deployConfig
.
L1GenesisBlockTimestamp
=
hexutil
.
Uint64
(
time
.
Now
()
.
Unix
())
deployConfig
.
L2GenesisCanyonTimeOffset
=
e2eutils
.
CanyonTimeOffset
()
deployConfig
.
L2GenesisCanyonTimeOffset
=
e2eutils
.
CanyonTimeOffset
()
deployConfig
.
L2GenesisSpanBatchTimeOffset
=
e2eutils
.
SpanBatchTimeOffset
()
require
.
NoError
(
t
,
deployConfig
.
Check
(),
"Deploy config is invalid, do you need to run make devnet-allocs?"
)
require
.
NoError
(
t
,
deployConfig
.
Check
(),
"Deploy config is invalid, do you need to run make devnet-allocs?"
)
l1Deployments
:=
config
.
L1Deployments
.
Copy
()
l1Deployments
:=
config
.
L1Deployments
.
Copy
()
require
.
NoError
(
t
,
l1Deployments
.
Check
())
require
.
NoError
(
t
,
l1Deployments
.
Check
())
...
...
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