forked from hyperledger/besu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transaction call object to accept both input and data field if equal (h…
…yperledger#6702) * relax JsonCallParameter constructor to allow for both input and data being set if equal Signed-off-by: Friedemann Fürst <[email protected]> * fix: format Signed-off-by: Friedemann Fürst <[email protected]> * add changelog entry Signed-off-by: Friedemann Fürst <[email protected]> --------- Signed-off-by: Friedemann Fürst <[email protected]> Co-authored-by: Sally MacFarlane <[email protected]> Signed-off-by: MASDXI <[email protected]>
- Loading branch information
Showing
5 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...ces/org/hyperledger/besu/ethereum/api/jsonrpc/eth/eth_call_withInputAndDataAttribute.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"request": { | ||
"id": 3, | ||
"jsonrpc": "2.0", | ||
"method": "eth_call", | ||
"params": [ | ||
{ | ||
"to": "0x6295ee1b4f6dd65047762f924ecd367c17eabf8f", | ||
"from": "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", | ||
"input": "0x12a7b914", | ||
"data": "0x12a7b914" | ||
}, | ||
"0x19" | ||
] | ||
}, | ||
"response": { | ||
"jsonrpc": "2.0", | ||
"id": 3, | ||
"result": "0x0000000000000000000000000000000000000000000000000000000000000001" | ||
}, | ||
"statusCode": 200 | ||
} |