mirror of https://github.com/hyperledger/besu
Transaction call object to accept both input and data field if equal (#6702)
* relax JsonCallParameter constructor to allow for both input and data being set if equal Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com> * fix: format Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com> * add changelog entry Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com> --------- Signed-off-by: Friedemann Fürst <friedemann.fuerst@smartcontract.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>pull/6676/head
parent
b2ca0e9bf9
commit
8becd5a3a8
@ -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 |
||||
} |
Loading…
Reference in new issue