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
865fcd28
Unverified
Commit
865fcd28
authored
Feb 14, 2024
by
Frieren
Committed by
GitHub
Feb 14, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: proofread (#9540)
* op-bindings * op-challenger n ops
parent
59e9915c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
registry.go
op-bindings/bindings/registry.go
+1
-1
registry.go
op-bindings/bindingspreview/registry.go
+1
-1
faultdisputegame_test.go
op-challenger/game/fault/contracts/faultdisputegame_test.go
+1
-1
sign_image.py
ops/signer/sign_image.py
+4
-4
No files found.
op-bindings/bindings/registry.go
View file @
865fcd28
...
...
@@ -10,7 +10,7 @@ import (
"github.com/ethereum/go-ethereum/common"
)
// layouts re
s
presents the set of storage layouts. It is populated in an init function.
// layouts represents the set of storage layouts. It is populated in an init function.
var
layouts
=
make
(
map
[
string
]
*
solc
.
StorageLayout
)
// deployedBytecodes represents the set of deployed bytecodes. It is populated
...
...
op-bindings/bindingspreview/registry.go
View file @
865fcd28
...
...
@@ -10,7 +10,7 @@ import (
"github.com/ethereum/go-ethereum/common"
)
// layouts re
s
presents the set of storage layouts. It is populated in an init function.
// layouts represents the set of storage layouts. It is populated in an init function.
var
layouts
=
make
(
map
[
string
]
*
solc
.
StorageLayout
)
// deployedBytecodes represents the set of deployed bytecodes. It is populated
...
...
op-challenger/game/fault/contracts/faultdisputegame_test.go
View file @
865fcd28
...
...
@@ -360,7 +360,7 @@ func TestFaultDisputeGame_GetCredits(t *testing.T) {
require
.
NoError
(
t
,
err
)
require
.
Equal
(
t
,
len
(
expected
),
len
(
actual
))
for
i
:=
range
expected
{
require
.
Zerof
(
t
,
expected
[
i
]
.
Cmp
(
actual
[
i
]),
"expectd: %v actual: %v"
,
expected
[
i
],
actual
[
i
])
require
.
Zerof
(
t
,
expected
[
i
]
.
Cmp
(
actual
[
i
]),
"expect
e
d: %v actual: %v"
,
expected
[
i
],
actual
[
i
])
}
}
...
...
ops/signer/sign_image.py
View file @
865fcd28
...
...
@@ -306,15 +306,15 @@ def main():
logging
.
debug
(
f
"Acting as {current_user_email}"
)
#------ Retrieve initial image info ----------------------#
logging
.
info
(
"Retriving docker image"
)
logging
.
info
(
"Retri
e
ving docker image"
)
image_info
=
retrieve_image_info
(
env_variables
[
'IMAGE_PATH'
][
'value'
])
if
not
image_info
:
logging
.
critical
(
"it was not possible to retrive image digest. Please make sure to set the image digest or the image tag in the parameters"
)
logging
.
critical
(
"it was not possible to retri
e
ve image digest. Please make sure to set the image digest or the image tag in the parameters"
)
return
#------ Retrieve initial attestor key info ----------------------#
logging
.
info
(
"Retri
ving attestor informations
"
)
logging
.
info
(
"Retri
eving attestor information
"
)
attestor_retrieved_info
=
retrieve_attestor_info
(
attestor_info
=
attestor_info
,
current_user_email
=
current_user_email
)
if
not
attestor_retrieved_info
:
logging
.
critical
(
f
"attestor {attestor_info} not present"
)
...
...
@@ -330,7 +330,7 @@ def main():
key_info
=
get_key_info
(
attestor_info
=
attestor_info
)
#------ Gener
e
ting payload ----------------------#
#------ Gener
a
ting payload ----------------------#
logging
.
info
(
"Generating json docker_image_descriptiion with image url@sha256-digest"
)
image_description_payload
=
generate_image_description_payload
(
image_info
)
logging
.
info
(
"Generating docker_image_description in base64 of the docker_image_description_sha256"
)
...
...
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