chore: Base Names testnet compatibility #3111
Annotations
10 errors
src/network/getChainPublicClient.ts#L14
Error: Unsupported chain ID: [object Object]
❯ Module.getChainPublicClient src/network/getChainPublicClient.ts:14:11
❯ src/network/getChainPublicClient.test.ts:14:26
|
src/identity/hooks/useName.test.tsx#L77
AssertionError: expected 'test.ens' to be 'test.customchain.eth' // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
Expected: "test.customchain.eth"
Received: "test.ens"
❯ src/identity/hooks/useName.test.tsx:77:35
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/identity/hooks/useName.test.tsx#L118
AssertionError: expected 'ethereum.eth' to be undefined // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div />
</body>
</html>
- Expected:
undefined
+ Received:
"ethereum.eth"
❯ src/identity/hooks/useName.test.tsx:118:35
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:124:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:118:16
|
src/identity/utils/getName.test.tsx#L63
AssertionError: expected "spy" to be called with arguments: [ { formatters: undefined, …(8) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.etherscan.io/api",
- "name": "Etherscan",
- "url": "https://etherscan.io",
- },
- },
- "contracts": Object {
- "ensRegistry": Object {
- "address": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
- },
- "ensUniversalResolver": Object {
- "address": "0xce01f8eee7E479C928F8919abD53E553a36CeF67",
- "blockCreated": 19258213,
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 14353601,
- },
- },
- "fees": undefined,
- "formatters": undefined,
- "id": 1,
- "name": "Ethereum",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://cloudflare-eth.com",
- ],
- },
- },
- "serializers": undefined,
- },
+ 1,
]
2nd spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.etherscan.io/api",
- "name": "Etherscan",
- "url": "https://etherscan.io",
- },
- },
- "contracts": Object {
- "ensRegistry": Object {
- "address": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
- },
- "ensUniversalResolver": Object {
- "address": "0xce01f8eee7E479C928F8919abD53E553a36CeF67",
- "blockCreated": 19258213,
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 14353601,
- },
- },
- "fees": undefined,
- "formatters": undefined,
- "id": 1,
- "name": "Ethereum",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://cloudflare-eth.com",
- ],
- },
- },
- "serializers": undefined,
- },
+ 1,
]
Number of calls: 2
❯ src/identity/utils/getName.test.tsx:63:34
|
src/identity/utils/getName.test.tsx#L71
AssertionError: expected "spy" to be called with arguments: [ { formatters: undefined, …(9) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api-sepolia.etherscan.io/api",
- "name": "Etherscan",
- "url": "https://sepolia.etherscan.io",
- },
- },
- "contracts": Object {
- "ensRegistry": Object {
- "address": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
- },
- "ensUniversalResolver": Object {
- "address": "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
- "blockCreated": 5317080,
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 751532,
- },
- },
- "fees": undefined,
- "formatters": undefined,
- "id": 11155111,
- "name": "Sepolia",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Sepolia Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://rpc.sepolia.org",
- ],
- },
- },
- "serializers": undefined,
- "testnet": true,
- },
+ 11155111,
]
2nd spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api-sepolia.etherscan.io/api",
- "name": "Etherscan",
- "url": "https://sepolia.etherscan.io",
- },
- },
- "contracts": Object {
- "ensRegistry": Object {
- "address": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
- },
- "ensUniversalResolver": Object {
- "address": "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC",
- "blockCreated": 5317080,
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 751532,
- },
- },
- "fees": undefined,
- "formatters": undefined,
- "id": 11155111,
- "name": "Sepolia",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Sepolia Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://rpc.sepolia.org",
- ],
- },
- },
- "serializers": undefined,
- "testnet": true,
- },
+ 1,
]
Number of calls: 2
❯ src/identity/utils/getName.test.tsx:71:34
|
src/identity/utils/getName.test.tsx#L82
AssertionError: expected "spy" to be called with arguments: [ { formatters: { …(3) }, …(11) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api-sepolia.basescan.org/api",
- "name": "Basescan",
- "url": "https://sepolia.basescan.org",
- },
- },
- "contracts": Object {
- "disputeGameFactory": Object {
- "11155111": Object {
- "address": "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1",
- },
- },
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "11155111": Object {
- "address": "0xfd0Bf71F60660E2f608ed56e1659C450eB113120",
- "blockCreated": 4446677,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "11155111": Object {
- "address": "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 1059647,
- },
- "portal": Object {
- "11155111": Object {
- "address": "0x49f53e41452c74589e85ca1677426ba426459e85",
- "blockCreated": 4446677,
- },
- },
- },
- "fees": undefined,
- "formatters": Object {
- "block": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "block",
- },
- "transaction": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transaction",
- },
- "transactionReceipt": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transactionReceipt",
- },
- },
- "id": 84532,
- "name": "Base Sepolia",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Sepolia Ether",
- "symbol": "ETH",
- },
- "network": "base-sepolia",
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://sepolia.base.org",
- ],
- },
- },
- "serializers": Object {
- "transaction": [Function serializeTransaction],
- },
- "sourceId": 11155111,
- "testnet": true,
- },
+ 84532,
]
Number of calls: 1
❯ src/identity/utils/getName.test.tsx:82:34
|
src/identity/utils/getName.test.tsx#L90
AssertionError: expected "spy" to be called with arguments: [ { formatters: { …(3) }, …(9) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 5022,
- },
- "portal": Object {
- "1": Object {
- "address": "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",
- "blockCreated": 17482143,
- },
- },
- },
- "fees": undefined,
- "formatters": Object {
- "block": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "block",
- },
- "transaction": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transaction",
- },
- "transactionReceipt": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transactionReceipt",
- },
- },
- "id": 8453,
- "name": "Base",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://mainnet.base.org",
- ],
- },
- },
- "serializers": Object {
- "transaction": [Function serializeTransaction],
- },
- "sourceId": 1,
- },
+ 8453,
]
Number of calls: 1
❯ src/identity/utils/getName.test.tsx:90:34
|
src/identity/utils/getName.test.tsx#L99
AssertionError: expected "spy" to be called with arguments: [ { formatters: { …(3) }, …(9) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 5022,
- },
- "portal": Object {
- "1": Object {
- "address": "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",
- "blockCreated": 17482143,
- },
- },
- },
- "fees": undefined,
- "formatters": Object {
- "block": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "block",
- },
- "transaction": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transaction",
- },
- "transactionReceipt": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transactionReceipt",
- },
- },
- "id": 8453,
- "name": "Base",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://mainnet.base.org",
- ],
- },
- },
- "serializers": Object {
- "transaction": [Function serializeTransaction],
- },
- "sourceId": 1,
- },
+ 8453,
]
2nd spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
-
|
src/identity/utils/getName.test.tsx#L109
AssertionError: expected "spy" to be called with arguments: [ { formatters: { …(3) }, …(9) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 5022,
- },
- "portal": Object {
- "1": Object {
- "address": "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",
- "blockCreated": 17482143,
- },
- },
- },
- "fees": undefined,
- "formatters": Object {
- "block": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "block",
- },
- "transaction": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transaction",
- },
- "transactionReceipt": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transactionReceipt",
- },
- },
- "id": 8453,
- "name": "Base",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://mainnet.base.org",
- ],
- },
- },
- "serializers": Object {
- "transaction": [Function serializeTransaction],
- },
- "sourceId": 1,
- },
+ 8453,
]
2nd spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
-
|
src/identity/utils/getName.test.tsx#L126
AssertionError: expected "spy" to be called with arguments: [ { formatters: { …(3) }, …(9) } ]
Received:
1st spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
- "blockCreated": 5022,
- },
- "portal": Object {
- "1": Object {
- "address": "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e",
- "blockCreated": 17482143,
- },
- },
- },
- "fees": undefined,
- "formatters": Object {
- "block": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "block",
- },
- "transaction": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transaction",
- },
- "transactionReceipt": Object {
- "exclude": undefined,
- "format": [Function format],
- "type": "transactionReceipt",
- },
- },
- "id": 8453,
- "name": "Base",
- "nativeCurrency": Object {
- "decimals": 18,
- "name": "Ether",
- "symbol": "ETH",
- },
- "rpcUrls": Object {
- "default": Object {
- "http": Array [
- "https://mainnet.base.org",
- ],
- },
- },
- "serializers": Object {
- "transaction": [Function serializeTransaction],
- },
- "sourceId": 1,
- },
+ 8453,
]
2nd spy call:
Array [
- Object {
- "blockExplorers": Object {
- "default": Object {
- "apiUrl": "https://api.basescan.org/api",
- "name": "Basescan",
- "url": "https://basescan.org",
- },
- },
- "contracts": Object {
- "gasPriceOracle": Object {
- "address": "0x420000000000000000000000000000000000000F",
- },
- "l1Block": Object {
- "address": "0x4200000000000000000000000000000000000015",
- },
- "l1StandardBridge": Object {
- "1": Object {
- "address": "0x3154Cf16ccdb4C6d922629664174b904d80F2C35",
- "blockCreated": 17482143,
- },
- },
- "l2CrossDomainMessenger": Object {
- "address": "0x4200000000000000000000000000000000000007",
- },
- "l2Erc721Bridge": Object {
- "address": "0x4200000000000000000000000000000000000014",
- },
- "l2OutputOracle": Object {
- "1": Object {
- "address": "0x56315b90c40730925ec5485cf004d835058518A0",
- },
- },
- "l2StandardBridge": Object {
- "address": "0x4200000000000000000000000000000000000010",
- },
- "l2ToL1MessagePasser": Object {
- "address": "0x4200000000000000000000000000000000000016",
- },
- "multicall3": Object {
- "address": "0xca11bde05977b3631167028862be2a173976ca11",
-
|
This job failed
Loading