plugeth-utils/restricted/rlp/rlpgen/testdata/optional.in.txt
Austin Roberts ffa8007e91 Align RLP and transactions with upstream geth
Align RLP implementation with upstream geth

Remove geth import

Update plugeth-utils version

Strip out ethereum import

Add omitted file
2024-01-17 13:04:34 -06:00

18 lines
430 B
Go

// -*- mode: go -*-
package test
type Aux struct {
A uint64
}
type Test struct {
Uint64 uint64 `rlp:"optional"`
Pointer *uint64 `rlp:"optional"`
String string `rlp:"optional"`
Slice []uint64 `rlp:"optional"`
Array [3]byte `rlp:"optional"`
NamedStruct Aux `rlp:"optional"`
AnonStruct struct{ A string } `rlp:"optional"`
}