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
b002d657
Unverified
Commit
b002d657
authored
Jan 17, 2023
by
Mark Tyneway
Committed by
GitHub
Jan 17, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4732 from ethereum-optimism/fix/cdm-json
op-chain-ops: add in json struct tags to cdm
parents
38a6b213
1abe7a59
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
message.go
op-chain-ops/crossdomain/message.go
+6
-6
No files found.
op-chain-ops/crossdomain/message.go
View file @
b002d657
...
@@ -14,12 +14,12 @@ import (
...
@@ -14,12 +14,12 @@ import (
// version 1 messages have a value and the most significant
// version 1 messages have a value and the most significant
// byte of the nonce is a 1
// byte of the nonce is a 1
type
CrossDomainMessage
struct
{
type
CrossDomainMessage
struct
{
Nonce
*
big
.
Int
Nonce
*
big
.
Int
`json:"nonce"`
Sender
*
common
.
Address
Sender
*
common
.
Address
`json:"sender"`
Target
*
common
.
Address
Target
*
common
.
Address
`json:"target"`
Value
*
big
.
Int
Value
*
big
.
Int
`json:"value"`
GasLimit
*
big
.
Int
GasLimit
*
big
.
Int
`json:"gasLimit"`
Data
[]
byte
Data
[]
byte
`json:"data"`
}
}
// NewCrossDomainMessage creates a CrossDomainMessage.
// NewCrossDomainMessage creates a CrossDomainMessage.
...
...
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