cmd/evm:fix Env struct json tag (#8986)

use geth found this doc problem
https://github.com/ethereum/go-ethereum/pull/28635
This commit is contained in:
ddl 2023-12-15 08:24:03 +08:00 committed by GitHub
parent e82147caf3
commit e018bb062a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ type Env struct {
CurrentTimestamp uint64 `json:"currentTimestamp"`
Withdrawals []*Withdrawal `json:"withdrawals"`
// optional
CurrentDifficulty *big.Int `json:"currentDifficuly"`
CurrentDifficulty *big.Int `json:"currentDifficulty"`
CurrentRandom *big.Int `json:"currentRandom"`
CurrentBaseFee *big.Int `json:"currentBaseFee"`
ParentDifficulty *big.Int `json:"parentDifficulty"`