Commit ea5a035c authored by Mark Tyneway's avatar Mark Tyneway

op-chain-ops: skip extra json serialization

Ignore JSON serialization of the skip calldata field
as it is meant to be a helper for the implementation
and should not be included in the serialized JSON.
parent 1a4b6761
......@@ -25,7 +25,7 @@ import (
// the raw calldata when both the calldata and ABIs with arguments are
// present.
type Batch struct {
SkipCalldata bool
SkipCalldata bool `json:"-"`
Version string `json:"version"`
ChainID *big.Int `json:"chainId"`
CreatedAt uint64 `json:"createdAt"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment