-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
next-patchIssues scheduled for the next arch release.Issues scheduled for the next arch release.on-deckThis Enhancement or Bug is currently being worked on.This Enhancement or Bug is currently being worked on.v6Issues regarding v6Issues regarding v6
Description
Ethers Version
6.14.4
Search Terms
authorizationList
Describe the Problem
I encounter following error while getting a specific block in Binance Smart Chain:
Code Snippet
import { ethers, Transaction } from "ethers";
const provider = new ethers.JsonRpcProvider(
"https://bsc-dataseed1.defibit.io"
);
const height = 52168031;
const block = await provider.getBlock(height, true);
if (!block) throw Error(`Block [${height}] not found`)
for (const tx of block.prefetchedTransactions) {
console.log(`${Transaction.from(tx).unsignedHash}, ${tx.hash}`)
}
Contract ABI
Errors
Error: invalid value for value.authorizationList (non-canonical s (argument="signature", value={ "address": "0x9d36c16f83eec483804e2a37d8aaf9c373f5f60f", "chainId": "0x38", "nonce": "0x2c2", "r": "0x1a41c1f8ec658194178786844fe9753bb45657b001163c7594ae2b2a0144c6df", "s": "0xbc9e236e566d1b5f974ce95387741611d6f724e7131ce2d541d0972f3b1a62c2", "yParity": "0x1" }, code=INVALID_ARGUMENT, version=6.14.4)) (value={ "accessList": [ ], "authorizationList": [ { "address": "0x9d36c16f83eec483804e2a37d8aaf9c373f5f60f", "chainId": "0x38", "nonce": "0x2c2", "r": "0x1a41c1f8ec658194178786844fe9753bb45657b001163c7594ae2b2a0144c6df", "s": "0xbc9e236e566d1b5f974ce95387741611d6f724e7131ce2d541d0972f3b1a62c2", "yParity": "0x1" } ], "blockHash": "0xf62f3f7cb09d55c6884b48fd14ece1a73ffbd5702ed6b2f9d9b36723798d2866", "blockNumber": "0x31c055f", "chainId": "0x38", "from": "0xb3ab51ae7df25f40bf7781a75ee4f7bdd391ec57", "gas": "0xf4240", "gasPrice": "0x5f5e100", "hash": "0x8fd3625ee2f6e33d589c00faac6b1d5163a40a3213bfee0760a89767e0097aef", "input": "0x8129fc1c", "maxFeePerGas": "0x5f5e100", "maxPriorityFeePerGas": "0x5f5e100", "nonce": "0x41", "r": "0x8ea92611f819fdd19c11557ad5668ea8e6ba7ce8d5fb70b307f6a387a07c8b14", "s": "0x3b37d8b960c3e6977bf707e4ab35184840f1f15a8b94260abc1941e1c8227a3f", "to": "0x47f6a801d5f85ece22f0bb1cdfdb21e49c9842d1", "transactionIndex": "0xc4", "type": "0x4", "v": "0x0", "value": "0x0", "yParity": "0x0" }, code=BAD_DATA, version=6.14.4)
Environment
node.js (v12 or newer)
Environment (Other)
Node.js V20.12.2
Metadata
Metadata
Assignees
Labels
next-patchIssues scheduled for the next arch release.Issues scheduled for the next arch release.on-deckThis Enhancement or Bug is currently being worked on.This Enhancement or Bug is currently being worked on.v6Issues regarding v6Issues regarding v6