Merge pull request #740 from balancer/dependabot/npm_and_yarn/viem-2.… #411
main.yml
on: push
Matrix: Checks / Install
Matrix: Checks / Build
Matrix: Checks / Code quality
Matrix: Checks / Test
Matrix: Release
Annotations
5 errors
|
Checks / Test (18)
Process completed with exit code 1.
|
|
test/entities/swaps/v3/swapV3.integration.test.ts > SwapV3 > permit2 direct approval > multi-hop swap > swap should be executed correctly > path with swaps only > wethIsEth: true > eth out > GivenIn:
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/entities/swaps/v3/swapV3.integration.test.ts > SwapV3 > permit2 direct approval > multi-hop swap > swap should be executed correctly > path with swaps only > wethIsEth: true > eth in > GivenOut:
test/lib/utils/helper.ts#L358
TransactionExecutionError: The request took too long to respond.
URL: http://127.0.0.1:8946
Request body: {"method":"eth_sendTransaction","params":[{"data":"0x8eb1b65e00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000de0b6b3a763ffff00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000007b79995e5f793a07bc00c21412e50ecae098e7f900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000001dcdbf31cc4c400000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000003000000000000000000000000b790fa0ba5d563b814b0ca1716c414f6b99937b2000000000000000000000000b19382073c7a0addbb56ac6af1808fa49e377b7500000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e099b16beeae7cfcf8a0921941394f1a9b00e0e000000000000000000000000ff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357000000000000000000000000000000000000000000000000000000000000000000000000000000000000000086fde41ff01b35846eb2f27868fb2938addd44c400000000000000000000000094a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0xC85b652685567C1B074e8c0D4389f83a2E458b1C","value":"0x1dcdbf31cc4c4"}]}
Request Arguments:
chain: Sepolia (id: 11155111)
from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
to: 0xC85b652685567C1B074e8c0D4389f83a2E458b1C
value: 0.000524312211408068 ETH
data: 0x8eb1b65e00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000de0b6b3a763ffff00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000007b79995e5f793a07bc00c21412e50ecae098e7f900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000001dcdbf31cc4c400000000000000000000000000000000000000000000000000000000001e84800000000000000000000000000000000000000000000000000000000000000003000000000000000000000000b790fa0ba5d563b814b0ca1716c414f6b99937b2000000000000000000000000b19382073c7a0addbb56ac6af1808fa49e377b7500000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e099b16beeae7cfcf8a0921941394f1a9b00e0e000000000000000000000000ff34b3d4aee8ddcd6f9afffb6fe49bd371b8a357000000000000000000000000000000000000000000000000000000000000000000000000000000000000000086fde41ff01b35846eb2f27868fb2938addd44c400000000000000000000000094a9d9ac8a22534e3faca9f4e7f2e2cf85d5e4c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Details: The request timed out.
Version: [email protected]
❯ getTransactionError node_modules/.pnpm/[email protected][email protected]/node_modules/viem/utils/errors/getTransactionError.ts:44:10
❯ sendTransaction node_modules/.pnpm/[email protected][email protected]/node_modules/viem/actions/wallet/sendTransaction.ts:355:11
❯ sendTransactionGetBalances test/lib/utils/helper.ts:358:18
❯ assertSwapExactOut test/lib/utils/swapHelpers.ts:234:9
❯ test/entities/swaps/v3/swapV3.integration.test.ts:365:33
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'The request timed out.', docsPath: undefined, metaMessages: [ 'URL: http://127.0.0.1:8946', 'Request body: {"method":"eth_sendTransaction","params":[{"data":"0x8eb1b65e00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000de0b6b3a763ffff000000000000000000000000000000000000000000
|
|
test/entities/swaps/v3/swapV3.integration.test.ts > SwapV3 > permit2 direct approval > multi-hop swap > swap should be executed correctly > path with swaps only > wethIsEth: false > GivenIn:
test/lib/utils/helper.ts#L66
ContractFunctionExecutionError: The contract function "allowance" reverted with the following reason:
failed to get account for 0x000000000022D473030F116dDEE9F6B43aC78BA3: Max retries exceeded HTTP error 429 with empty body
Contract Call:
address: 0x000000000022D473030F116dDEE9F6B43aC78BA3
function: allowance(address, address, address)
args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x7b79995e5f793a07bc00c21412e50ecae098e7f9, 0x5e315f96389C1aaF9324D97d3512ae1e0Bf3C21a)
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
❯ 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: undefined, docsPath: '/docs/contract/readContract', metaMessages: [ 'Contract Call:', ' address: 0x000000000022D473030F116dDEE9F6B43aC78BA3\n function: allowance(address, address, address)\n args: (0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x7b79995e5f793a07bc00c21412e50ecae098e7f9, 0x5e315f96389C1aaF9324D97d3512ae1e0Bf3C21a)' ], shortMessage: 'The contract function "allowance" reverted with the following reason:\nfailed to get account for 0x000000000022D473030F116dDEE9F6B43aC78BA3: Max retries exceeded HTTP error 429 with empty body', 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' } ], name: 'Approval', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: false, internalType: 'address', name: 'token', type: 'address' }, { indexed: false, internalType: 'address', name: 'spender', type: 'address' } ], name: 'Lockdown', type: 'event' }, { 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: 'uint48', name: 'newNonce', type: 'uint48' }, { indexed: false, internalType: 'uint48', name: 'oldNonce', type: 'uint48' } ], name: 'NonceInvalidation', type: 'event' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'address', name: 'token', type: 'address' }, { indexed: true, internalType: 'address', name: 'sp
|
|
test/v3/removeLiquidityBoosted/removeLiquidityBoosted.integration.test.ts > remove liquidity boosted proportional > direct approval > unwrap only one token:
test/v3/removeLiquidityBoosted/removeLiquidityBoosted.integration.test.ts#L305
AssertionError: expected 'reverted' to equal 'success'
Expected: "success"
Received: "reverted"
❯ test/v3/removeLiquidityBoosted/removeLiquidityBoosted.integration.test.ts:305:50
|