See https://github.com/api3dao/tasks/issues/85#issuecomment-1742776927
Recently polygon-testnet started including system transactions in its blocks that have big number chain IDs. ethers treats chain IDs as a Number, which causes it to throw while trying to process said transactions. The latestBlockPercentileGasPrice gas price strategy processes individual transactions from past blocks, which means it would also be affected by this.
Two possible solutions:
See https://github.com/api3dao/tasks/issues/85#issuecomment-1742776927
Recently polygon-testnet started including system transactions in its blocks that have big number chain IDs. ethers treats chain IDs as a
Number, which causes it to throw while trying to process said transactions. ThelatestBlockPercentileGasPricegas price strategy processes individual transactions from past blocks, which means it would also be affected by this.Two possible solutions:
latestBlockPercentileGasPricealtogether