ignore all unknown fields for eth_call and eth_estimateGas (#2690)

* ignoreUnknown=true
* changelog

Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net>
pull/2675/head
Sally MacFarlane 3 years ago committed by GitHub
parent 031c443fc3
commit 98410082e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/parameters/JsonCallParameter.java

@ -16,6 +16,7 @@
- support for `eth/66` networking protocol [#2365](https://github.com/hyperledger/besu/pull/2365)
- update RPC methods for post london 1559 transaction [#2535](https://github.com/hyperledger/besu/pull/2535)
- \[EXPERIMENTAL\] Added support for using DNS host name in place of IP address in onchain node permissioning rules [#2667](https://github.com/hyperledger/besu/pull/2667)
- Ignore all unknown fields when supplied to eth_estimateGas or eth_call. [\#2690](https://github.com/hyperledger/besu/pull/2690)
### Bug Fixes
- Consider effective price and effective priority fee in transaction replacement rules [\#2529](https://github.com/hyperledger/besu/issues/2529)

@ -29,7 +29,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.apache.tuweni.bytes.Bytes;
@JsonIgnoreProperties({"nonce", "privateFor", "timestamp"})
@JsonIgnoreProperties(ignoreUnknown = true)
public class JsonCallParameter extends CallParameter {
private final Optional<Boolean> strict;

Loading…
Cancel
Save