使用hardhat 2.22.2在主网分叉上进行测试时:错误:响应报告错误`429`

问题描述 投票:0回答:1

当分叉主网时,我有时会看到这个错误:

我再次尝试发送后它就消失了:

[Error: The response reported error `429`: `Your app has exceeded its compute units per second capacity. If you have retries enabled, you can safely ignore this message. If not, check out https://docs.alchemy.com/reference/throughput`. (optional data: None). Request: [{"id":8,"jsonrpc":"2.0","method":"eth_getBalance","params":["0x90f79bf6eb2c4f870365e785982e1f101e93b906","0x12bb9c5"]},{"id":9,"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0x90f79bf6eb2c4f870365e785982e1f101e93b906","0x12bb9c5"]},{"id":10,"jsonrpc":"2.0","method":"eth_getCode","params":["0x90f79bf6eb2c4f870365e785982e1f101e93b906","0x12bb9c5"]}]] {
  code: 'GenericFailure'
}
ethereum blockchain solidity smartcontracts hardhat
1个回答
0
投票

似乎是安全帽最近引入的一个错误。

降级为

"hardhat": "2.21"

似乎修复了它

© www.soinside.com 2019 - 2024. All rights reserved.