File tree 2 files changed +4
-2
lines changed
bus-mapping/src/circuit_input_builder
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,8 @@ pub struct Transaction {
194
194
pub signature : Signature ,
195
195
/// RLP bytes
196
196
pub rlp_bytes : Vec < u8 > ,
197
- /// RLP bytes for signing
197
+ /// RLP bytes for signing, only used for PreEip155 tx without chain_id
198
+ /// for other tx types: rlp == rlp_unsigned.
198
199
pub rlp_unsigned_bytes : Vec < u8 > ,
199
200
/// RLP bytes for signed tx
200
201
pub rlp_signed_bytes : Vec < u8 > ,
Original file line number Diff line number Diff line change @@ -287,7 +287,8 @@ pub struct Transaction {
287
287
288
288
/// RLP bytes
289
289
pub rlp_bytes : Vec < u8 > ,
290
- /// RLP unsigned bytes
290
+ /// RLP unsigned bytes, only used for PreEip155 tx without chain_id
291
+ /// for other tx types: rlp == rlp_unsigned.
291
292
pub rlp_unsigned_bytes : Vec < u8 > ,
292
293
// TODO: add rlp_signed_bytes as well ?
293
294
/// Transaction hash
You can’t perform that action at this time.
0 commit comments