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
6d5ea8be
Unverified
Commit
6d5ea8be
authored
Sep 10, 2021
by
Mark Tyneway
Committed by
GitHub
Sep 10, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1438 from ethereum-optimism/develop
Develop -> Master PR
parents
c352c99f
7ad93ce4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
rotten-kids-fly.md
.changeset/rotten-kids-fly.md
+5
-0
state-batch-submitter.ts
...ch-submitter/src/batch-submitter/state-batch-submitter.ts
+3
-1
yarn.lock
yarn.lock
+8
-8
No files found.
.changeset/rotten-kids-fly.md
0 → 100644
View file @
6d5ea8be
---
'
@eth-optimism/batch-submitter'
:
patch
---
Fixes a bug in the batch submitted that would cause it to submit transactions with increasing nonces
packages/batch-submitter/src/batch-submitter/state-batch-submitter.ts
View file @
6d5ea8be
...
@@ -173,9 +173,11 @@ export class StateBatchSubmitter extends BatchSubmitter {
...
@@ -173,9 +173,11 @@ export class StateBatchSubmitter extends BatchSubmitter {
this
.
logger
.
debug
(
'
Submitting batch.
'
,
{
calldata
})
this
.
logger
.
debug
(
'
Submitting batch.
'
,
{
calldata
})
// Generate the transaction we will repeatedly submit
// Generate the transaction we will repeatedly submit
const
nonce
=
await
this
.
signer
.
getTransactionCount
()
const
tx
=
await
this
.
chainContract
.
populateTransaction
.
appendStateBatch
(
const
tx
=
await
this
.
chainContract
.
populateTransaction
.
appendStateBatch
(
batch
,
batch
,
offsetStartsAtIndex
offsetStartsAtIndex
,
{
nonce
}
)
)
const
submitTransaction
=
():
Promise
<
TransactionReceipt
>
=>
{
const
submitTransaction
=
():
Promise
<
TransactionReceipt
>
=>
{
return
this
.
transactionSubmitter
.
submitTransaction
(
return
this
.
transactionSubmitter
.
submitTransaction
(
...
...
yarn.lock
View file @
6d5ea8be
...
@@ -3511,11 +3511,11 @@ aws4@^1.8.0:
...
@@ -3511,11 +3511,11 @@ aws4@^1.8.0:
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
axios@^0.21.1:
axios@^0.21.1:
version "0.21.
1
"
version "0.21.
2
"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.
1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8
"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.
2.tgz#21297d5084b2aeeb422f5d38e7be4fbb82239017
"
integrity sha512-
dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA
==
integrity sha512-
87otirqUw3e8CzHTMO+/9kh/FSgXt/eVDvipijwDtEuwbkySWZ9SBm6VEubmJ/kLKEoLQV/POhxXFb66bfekfg
==
dependencies:
dependencies:
follow-redirects "^1.1
0
.0"
follow-redirects "^1.1
4
.0"
babel-code-frame@^6.26.0:
babel-code-frame@^6.26.0:
version "6.26.0"
version "6.26.0"
...
@@ -7396,10 +7396,10 @@ fmix@^0.1.0:
...
@@ -7396,10 +7396,10 @@ fmix@^0.1.0:
dependencies:
dependencies:
imul "^1.0.0"
imul "^1.0.0"
follow-redirects@^1.1
0.0, follow-redirects@^1.12.1
:
follow-redirects@^1.1
2.1, follow-redirects@^1.14.0
:
version "1.14.
2
"
version "1.14.
3
"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.
2.tgz#cecb825047c00f5e66b142f90fed4f515dec789b
"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.
3.tgz#6ada78118d8d24caee595595accdc0ac6abd022e
"
integrity sha512-
yLR6WaE2lbF0x4K2qE2p9PEXKLDjUjnR/xmjS3wHAYxtlsI9MLLBJUZirAHKzUZDGLxje7w/cXR49WOUo4rbsA
==
integrity sha512-
3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw
==
for-each@^0.3.3, for-each@~0.3.3:
for-each@^0.3.3, for-each@~0.3.3:
version "0.3.3"
version "0.3.3"
...
...
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