core: refactor TestStateProcessorErrors

This commit is contained in:
HAOYUatHZ 2024-05-30 14:41:40 +08:00 committed by GitHub
parent 6bb13e8e2b
commit 8843165e3b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,8 +62,8 @@ func TestStateProcessorErrors(t *testing.T) {
Ethash: new(params.EthashConfig), Ethash: new(params.EthashConfig),
TerminalTotalDifficulty: big.NewInt(0), TerminalTotalDifficulty: big.NewInt(0),
TerminalTotalDifficultyPassed: true, TerminalTotalDifficultyPassed: true,
ShanghaiTime: new(uint64), ShanghaiTime: u64(0),
CancunTime: new(uint64), CancunTime: u64(0),
} }
signer = types.LatestSigner(config) signer = types.LatestSigner(config)
key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291") key1, _ = crypto.HexToECDSA("b71c71a67e1177ad4e901695e1b4b9ee17ae16c6668d313eac2f96dbcda3f291")