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
271f79c5
Unverified
Commit
271f79c5
authored
Sep 28, 2023
by
mergify[bot]
Committed by
GitHub
Sep 28, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into aj/error-msg
parents
9d352a8a
b5095f27
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
l2_engine.go
op-e2e/actions/l2_engine.go
+3
-4
package.json
packages/common-ts/package.json
+1
-1
pnpm-lock.yaml
pnpm-lock.yaml
+4
-4
No files found.
op-e2e/actions/l2_engine.go
View file @
271f79c5
...
...
@@ -178,9 +178,8 @@ func (e *L2Engine) ActL2IncludeTx(from common.Address) Action {
i
:=
e
.
engineApi
.
PendingIndices
(
from
)
txs
,
q
:=
e
.
eth
.
TxPool
()
.
ContentFrom
(
from
)
if
uint64
(
len
(
txs
))
<=
i
{
t
.
Fatalf
(
"no pending txs from %s, and have %d unprocessable queued txs from this account"
,
from
,
len
(
q
))
}
require
.
Greaterf
(
t
,
uint64
(
len
(
txs
)),
i
,
"no pending txs from %s, and have %d unprocessable queued txs from this account"
,
from
,
len
(
q
))
tx
:=
txs
[
i
]
err
:=
e
.
engineApi
.
IncludeTx
(
tx
,
from
)
if
errors
.
Is
(
err
,
engineapi
.
ErrNotBuildingBlock
)
{
...
...
@@ -188,7 +187,7 @@ func (e *L2Engine) ActL2IncludeTx(from common.Address) Action {
}
else
if
errors
.
Is
(
err
,
engineapi
.
ErrUsesTooMuchGas
)
{
t
.
InvalidAction
(
"included tx uses too much gas: %v"
,
err
)
}
else
if
err
!=
nil
{
t
.
Fatalf
(
"include tx: %v"
,
err
)
require
.
NoError
(
t
,
err
,
"include tx"
)
}
}
}
...
...
packages/common-ts/package.json
View file @
271f79c5
...
...
@@ -57,7 +57,7 @@
"@types/express"
:
"^4.17.17"
,
"@types/morgan"
:
"^1.9.4"
,
"@types/pino"
:
"^7.0.5"
,
"@types/pino-multi-stream"
:
"^5.1.
3
"
,
"@types/pino-multi-stream"
:
"^5.1.
4
"
,
"chai"
:
"^4.3.9"
,
"supertest"
:
"^6.3.3"
}
...
...
pnpm-lock.yaml
View file @
271f79c5
...
...
@@ -256,8 +256,8 @@ importers:
specifier
:
^7.0.5
version
:
7.0.5
'
@types/pino-multi-stream'
:
specifier
:
^5.1.
3
version
:
5.1.
3
specifier
:
^5.1.
4
version
:
5.1.
4
chai
:
specifier
:
^4.3.9
version
:
4.3.9
...
...
@@ -4043,8 +4043,8 @@ packages:
'
@types/node'
:
20.7.0
dev
:
true
/@types/pino-multi-stream@5.1.
3
:
resolution
:
{
integrity
:
sha512-
OxIkhBpfXw1q1BkOIkTSrq0YAkOmlSBaZbM5EXjgjTvgNLZLBwC7/+HGVWw7wW5/ofRyNPDg8Ykd/cx4bq69PQ
==
}
/@types/pino-multi-stream@5.1.
4
:
resolution
:
{
integrity
:
sha512-
+UrFCcIx4cUo473GwCt5/v8m0r+W08iuaphu8L5bx76zcShvQRWPtKkRxImUCLXW9bHpPFHAJZKANMP/vAbycA
==
}
dependencies
:
'
@types/pino'
:
6.3.11
dev
:
true
...
...
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