mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 15:13:58 -05:00
TransactionResult: add v for blob and pending tx (#8196)
* add v for blob and pending tx Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> * add v for blob and pending tx in tests Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> * add v for blob tx in test Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> --------- Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -130,8 +130,9 @@ public class TransactionCompleteResult implements TransactionResult {
|
||||
this.yParity = Quantity.create(transaction.getYParity());
|
||||
this.v =
|
||||
(transactionType == TransactionType.ACCESS_LIST
|
||||
|| transactionType == TransactionType.EIP1559)
|
||||
|| transactionType == TransactionType.EIP1559
|
||||
|| transactionType == TransactionType.DELEGATE_CODE
|
||||
|| transactionType == TransactionType.BLOB)
|
||||
? Quantity.create(transaction.getYParity())
|
||||
: null;
|
||||
}
|
||||
|
||||
@@ -115,7 +115,9 @@ public class TransactionPendingResult implements TransactionResult {
|
||||
this.yParity = Quantity.create(transaction.getYParity());
|
||||
this.v =
|
||||
(transactionType == TransactionType.ACCESS_LIST
|
||||
|| transactionType == TransactionType.EIP1559)
|
||||
|| transactionType == TransactionType.EIP1559
|
||||
|| transactionType == TransactionType.DELEGATE_CODE
|
||||
|| transactionType == TransactionType.BLOB)
|
||||
? Quantity.create(transaction.getYParity())
|
||||
: null;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
"type": "0x3",
|
||||
"value": "0x0",
|
||||
"yParity": "0x0",
|
||||
"v" : "0x0",
|
||||
"r": "0x6ae0612cfda43a9b464b10b4881c6fc2e4c24533cf89bbe07934da65c3ae49ce",
|
||||
"s": "0x125387aeb222ec51130cf99cbdabf24bd4a881914faed69f254e4a3f4bc507fc",
|
||||
"blobVersionedHashes": [
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"type": "0x3",
|
||||
"value": "0x0",
|
||||
"yParity": "0x0",
|
||||
"v" : "0x0",
|
||||
"r": "0x6ae0612cfda43a9b464b10b4881c6fc2e4c24533cf89bbe07934da65c3ae49ce",
|
||||
"s": "0x125387aeb222ec51130cf99cbdabf24bd4a881914faed69f254e4a3f4bc507fc",
|
||||
"blobVersionedHashes": [
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"type": "0x3",
|
||||
"value": "0x0",
|
||||
"yParity": "0x0",
|
||||
"v" : "0x0",
|
||||
"r": "0x6ae0612cfda43a9b464b10b4881c6fc2e4c24533cf89bbe07934da65c3ae49ce",
|
||||
"s": "0x125387aeb222ec51130cf99cbdabf24bd4a881914faed69f254e4a3f4bc507fc",
|
||||
"blobVersionedHashes": [
|
||||
|
||||
Reference in New Issue
Block a user