Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
董子豪
sgxwallet
Commits
40b0336f
Unverified
Commit
40b0336f
authored
Nov 17, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-3481-NIGHTLY
parent
8d59222d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
TestUtils.cpp
TestUtils.cpp
+8
-0
testw.py
testw.py
+1
-1
No files found.
TestUtils.cpp
View file @
40b0336f
...
...
@@ -179,6 +179,14 @@ void TestUtils::sendRPCRequest() {
for
(
uint8_t
i
=
0
;
i
<
n
;
i
++
)
{
usleep
(
100000
);
ethKeys
[
i
]
=
c
.
generateECDSAKey
();
for
(
int
i2
=
0
;
i2
<
10000
;
i2
++
)
{
auto
keyName
=
ethKeys
[
i
][
"keyName"
].
asString
();
Json
::
Value
sig
=
c
.
ecdsaSignMessageHash
(
16
,
keyName
,
SAMPLE_HASH
);
CHECK_STATE
(
sig
[
"status"
].
asInt
()
==
0
);
}
CHECK_STATE
(
ethKeys
[
i
][
"status"
]
==
0
);
string
polyName
=
"POLY:SCHAIN_ID:"
+
to_string
(
schainID
)
+
":NODE_ID:"
+
to_string
(
i
)
+
":DKG_ID:"
+
to_string
(
dkgID
);
...
...
testw.py
View file @
40b0336f
...
...
@@ -30,6 +30,7 @@ topDir = os.getcwd() + "/sgxwallet"
print
(
"Top directory is:"
+
topDir
)
testList
=
[
"[first-run]"
,
"[second-run]"
,
"[many-threads-crypto]"
,
"[backup-restore]"
,
"[cert-sign]"
,
"[get-server-status]"
,
...
...
@@ -48,7 +49,6 @@ testList = ["[first-run]",
"[dkg-bls]"
,
"[dkg-poly-exists]"
,
"[dkg-aes-pub-shares]"
,
"[many-threads-crypto]"
,
"[aes-encrypt-decrypt]"
,
"[aes-dkg]"
]
...
...
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