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
11bec4c5
Unverified
Commit
11bec4c5
authored
Sep 20, 2021
by
elenadimitrova
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix linting issues
parent
75b70b93
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
batch-submitter.ts
...es/batch-submitter/src/batch-submitter/batch-submitter.ts
+1
-3
tx-batch-submitter.ts
...batch-submitter/src/batch-submitter/tx-batch-submitter.ts
+1
-3
batch-submitter.spec.ts
...ch-submitter/test/batch-submitter/batch-submitter.spec.ts
+4
-2
No files found.
packages/batch-submitter/src/batch-submitter/batch-submitter.ts
View file @
11bec4c5
...
...
@@ -137,9 +137,7 @@ export abstract class BatchSubmitter {
const
addressManager
=
(
await
getContractFactory
(
'
Lib_AddressManager
'
,
this
.
signer
)
).
attach
(
this
.
addressManagerAddress
)
const
sccAddress
=
await
addressManager
.
getAddress
(
'
StateCommitmentChain
'
)
const
sccAddress
=
await
addressManager
.
getAddress
(
'
StateCommitmentChain
'
)
const
ctcAddress
=
await
addressManager
.
getAddress
(
'
CanonicalTransactionChain
'
)
...
...
packages/batch-submitter/src/batch-submitter/tx-batch-submitter.ts
View file @
11bec4c5
...
...
@@ -572,9 +572,7 @@ export class TransactionBatchSubmitter extends BatchSubmitter {
this
.
signer
.
provider
)
const
addr
=
await
manager
.
getAddress
(
'
ChainStorageContainer-CTC-batches
'
)
const
addr
=
await
manager
.
getAddress
(
'
ChainStorageContainer-CTC-batches
'
)
const
container
=
new
Contract
(
addr
,
...
...
packages/batch-submitter/test/batch-submitter/batch-submitter.spec.ts
View file @
11bec4c5
...
...
@@ -142,13 +142,15 @@ describe('BatchSubmitter', () => {
'
OVM_CanonicalTransactionChain
'
)
Factory__OVM_CanonicalTransactionChain
=
Factory__OVM_CanonicalTransactionChain
.
connect
(
signer
)
Factory__OVM_CanonicalTransactionChain
=
Factory__OVM_CanonicalTransactionChain
.
connect
(
signer
)
Factory__OVM_StateCommitmentChain
=
await
getContractFactory
(
'
OVM_StateCommitmentChain
'
)
Factory__OVM_StateCommitmentChain
=
Factory__OVM_StateCommitmentChain
.
connect
(
signer
)
Factory__OVM_StateCommitmentChain
=
Factory__OVM_StateCommitmentChain
.
connect
(
signer
)
})
let
OVM_CanonicalTransactionChain
:
CanonicalTransactionChainContract
...
...
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