Merge pull request #744 from balancer/changeset-release/main #415
Annotations
3 errors
|
Test
Process completed with exit code 1.
|
|
Test:
test/lib/utils/helper.ts#L66
ContractFunctionExecutionError: The request took too long to respond.
URL: http://127.0.0.1:8946
Request body: {"method":"eth_call","params":[{"data":"0x927da105000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000007b79995e5f793a07bc00c21412e50ecae098e7f90000000000000000000000005e315f96389c1aaf9324d97d3512ae1e0bf3c21a","to":"0x000000000022D473030F116dDEE9F6B43aC78BA3"},"latest"]}
Raw Call Arguments:
to: 0x000000000022D473030F116dDEE9F6B43aC78BA3
data: 0x927da105000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000007b79995e5f793a07bc00c21412e50ecae098e7f90000000000000000000000005e315f96389c1aaf9324d97d3512ae1e0bf3c21a
Contract Call:
address: 0x000000000022D473030F116dDEE9F6B43aC78BA3
function: allowance(address, address, address)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x7b79995e5f793a07bc00c21412e50ecae098e7f9, 0x5e315f96389C1aaF9324D97d3512ae1e0Bf3C21a)
Docs: https://viem.sh/docs/contract/readContract
Details: The request timed out.
Version: [email protected]
❯ getContractError node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:81:10
❯ readContract node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:138:11
❯ hasApprovedTokenOnPermit2 test/lib/utils/helper.ts:66:28
❯ approveSpenderOnPermit2 test/lib/utils/helper.ts:248:20
❯ approveToken test/lib/utils/helper.ts:110:45
❯ approveTokens test/lib/utils/helper.ts:167:26
❯ test/entities/swaps/v3/swapV3.integration.test.ts:197:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: '/docs/contract/readContract', metaMessages: [ 'URL: http://127.0.0.1:8946', 'Request body: {"method":"eth_call","params":[{"data":"0x927da105000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000007b79995e5f793a07bc00c21412e50ecae098e7f90000000000000000000000005e315f96389c1aaf9324d97d3512ae1e0bf3c21a","to":"0x000000000022D473030F116dDEE9F6B43aC78BA3"},"latest"]}', ' ', 'Raw Call Arguments:', ' to: 0x000000000022D473030F116dDEE9F6B43aC78BA3\n data: 0x927da105000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb922660000000000000000000000007b79995e5f793a07bc00c21412e50ecae098e7f90000000000000000000000005e315f96389c1aaf9324d97d3512ae1e0bf3c21a', ' ', 'Contract Call:', ' address: 0x000000000022D473030F116dDEE9F6B43aC78BA3\n function: allowance(address, address, address)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x7b79995e5f793a07bc00c21412e50ecae098e7f9, 0x5e315f96389C1aaF9324D97d3512ae1e0Bf3C21a)' ], shortMessage: 'The request took too long to respond.', version: '2.39.3', abi: [ { inputs: [ { internalType: 'uint256', name: 'deadline', type: 'uint256' } ], name: 'AllowanceExpired', type: 'error' }, { inputs: [], name: 'ExcessiveInvalidation', type: 'error' }, { inputs: [ { internalType: 'uint256', name: 'amount', type: 'uint256' } ], name: 'InsufficientAllowance', type: 'error' }, { inputs: [ { internalType: 'uint256', name: 'maxAmount', type: 'uint256' } ], name: 'InvalidAmount', type: 'error' }, { inputs: [], name: 'InvalidContractSignature', type: 'error' }, { inputs: [], name: 'InvalidNonce', type: 'error' }, { inputs: [], name: 'InvalidSignature', type: 'error' }, { inputs: [], name: 'InvalidSignatureLength', type: 'error' }, { inputs: [], name: 'InvalidSigner', type: 'error' }, { inputs: [], name: 'LengthMismatch', type: 'error' }, { inputs: [ { internalType: 'uint256', name: 'signatureDeadline', type: 'uint256' } ], name: 'SignatureExpired', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'address', name: 'token', type: 'address' }, { indexed: true, internalType: 'address', name: 'spender', type: 'address' }, { indexed: false, internalType: 'uint160', name: 'amount', type: 'uint160' }, { indexed: false, internalType: 'uint48', name: 'expiration', type: 'uint48' } ], na
|
|
Test:
test/lib/utils/helper.ts#L47
ContractFunctionExecutionError: The contract function "allowance" reverted with the following reason:
failed to get storage for 0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0 at 92802890045874136953140108791527116444475550631382534382945591146530435032310: Max retries exceeded HTTP error 429 with empty body
Contract Call:
address: 0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0
function: allowance(address owner, address spender)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x000000000022D473030F116dDEE9F6B43aC78BA3)
Docs: https://viem.sh/docs/contract/readContract
Version: [email protected]
❯ getContractError node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getContractError.ts:81:10
❯ readContract node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/public/readContract.ts:138:11
❯ hasApprovedToken test/lib/utils/helper.ts:47:23
❯ approveSpenderOnToken test/lib/utils/helper.ts:207:20
❯ approveSpenderOnTokens test/lib/utils/helper.ts:188:26
❯ test/v3/addLiquidityBoosted/addLiquidityBoosted.integration.test.ts:144:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'Contract Call:', ' address: 0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0\n function: allowance(address owner, address spender)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x000000000022D473030F116dDEE9F6B43aC78BA3)' ], shortMessage: 'The contract function "allowance" reverted with the following reason:\nfailed to get storage for 0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0 at 92802890045874136953140108791527116444475550631382534382945591146530435032310: Max retries exceeded HTTP error 429 with empty body', version: '2.39.3', abi: [ { type: 'event', name: 'Approval', inputs: [ { indexed: true, name: 'owner', type: 'address' }, { indexed: true, name: 'spender', type: 'address' }, { indexed: false, name: 'value', type: 'uint256' } ] }, { type: 'event', name: 'Transfer', inputs: [ { indexed: true, name: 'from', type: 'address' }, { indexed: true, name: 'to', type: 'address' }, { indexed: false, name: 'value', type: 'uint256' } ] }, { type: 'function', name: 'allowance', stateMutability: 'view', inputs: [ { name: 'owner', type: 'address' }, { name: 'spender', type: 'address' } ], outputs: [ { type: 'uint256' } ] }, { type: 'function', name: 'approve', stateMutability: 'nonpayable', inputs: [ { name: 'spender', type: 'address' }, { name: 'amount', type: 'uint256' } ], outputs: [ { type: 'bool' } ] }, { type: 'function', name: 'balanceOf', stateMutability: 'view', inputs: [ { name: 'account', type: 'address' } ], outputs: [ { type: 'uint256' } ] }, { type: 'function', name: 'decimals', stateMutability: 'view', inputs: [], outputs: [ { type: 'uint8' } ] }, { type: 'function', name: 'name', stateMutability: 'view', inputs: [], outputs: [ { type: 'string' } ] }, { type: 'function', name: 'symbol', stateMutability: 'view', inputs: [], outputs: [ { type: 'string' } ] }, { type: 'function', name: 'totalSupply', stateMutability: 'view', inputs: [], outputs: [ { type: 'uint256' } ] }, { type: 'function', name: 'transfer', stateMutability: 'nonpayable', inputs: [ { name: 'recipient', type: 'address' }, { name: 'amount', type: 'uint256' } ], outputs: [ { type: 'bool' } ] }, { type: 'function', name: 'transferFrom', stateMutability: 'nonpayable', inputs: [ { name: 'sender', type: 'address' }, { name: 'recipient', type: 'address' }, { name: 'amount', type: 'uint256' } ], outputs: [ { type: 'bool' } ] } ], args: [ '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', '0x000000000022D473030F116dDEE9F6B43aC78BA3' ], contractAddress: '0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0', formattedArgs: undefined, functionName: 'allowance', sender: undefined, walk: 'Function<walk>' }
Caused by: Caused by: ContractFunctionRevertedError: The contract function "allowance" reverted with the following reason:
failed to get storage for 0xaA8E23Fb1079EA71e0a56F48a2aA51851D8433D0 at 928028900458741369531401087915271164444755506313825343
|
Loading