Fix consolidation request json (#7577)

Signed-off-by: Lucas Saldanha <lucascrsaldanha@gmail.com>
pull/7576/head
Lucas Saldanha 3 months ago committed by GitHub
parent 2881994f0f
commit b763d96c75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      acceptance-tests/tests/src/test/resources/jsonrpc/engine/prague/test-cases/16_prague_getPayloadV4.json
  2. 4
      ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/ConsolidationRequestParameter.java

@ -40,8 +40,8 @@
"consolidationRequests": [ "consolidationRequests": [
{ {
"sourceAddress": "0x23618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f", "sourceAddress": "0x23618e81e3f5cdf7f54c3d65f7fbc0abf5b21e8f",
"sourcePubKey": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "sourcePubkey": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"targetPubKey": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe" "targetPubkey": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe"
} }
], ],
"blockNumber": "0x4", "blockNumber": "0x4",

@ -61,12 +61,12 @@ public class ConsolidationRequestParameter {
} }
@JsonGetter @JsonGetter
public String getSourcePubKey() { public String getSourcePubkey() {
return sourcePubkey; return sourcePubkey;
} }
@JsonGetter @JsonGetter
public String getTargetPubKey() { public String getTargetPubkey() {
return targetPubkey; return targetPubkey;
} }

Loading…
Cancel
Save