feat: prepareAuthorization and signAuthorization actions
#1748
Annotations
11 errors and 2 warnings
|
|
|
packages/test/src/tempo/config.ts#L164
ContractFunctionExecutionError: Nonce provided for the transaction is lower than the current nonce of the account.
Try increasing the nonce or find the latest nonce with `getTransactionCount`.
Request Arguments:
chain: Tempo (id: 1337)
from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
to: 0x20fc000000000000000000000000000000000000
data: 0x6813044500000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000020c0000000000000000000000000000000000000000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226663fb7b981813f4795e65fb5d715cfd0b9c52ec7bd89cca7b5d2fba775a8c11e8000000000000000000000000000000000000000000000000000000000000000a5465737420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003545354000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035553440000000000000000000000000000000000000000000000000000000000
Contract Call:
address: 0x20fc000000000000000000000000000000000000
function: createToken(string name, string symbol, string currency, address quoteToken, address admin, bytes32 salt)
args: (Test Token, TST, USD, 0x20c0000000000000000000000000000000000000, 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x63fb7b981813f4795e65fb5d715cfd0b9c52ec7bd89cca7b5d2fba775a8c11e8)
sender: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Docs: https://viem.sh/docs/contract/writeContract
Details: nonce too low: next nonce 6, tx nonce 5
Version: viem@2.44.4
❯ create2.inner node_modules/.vite/vitest/65e336e20c504396e91d42f55f668560c0176c1d/deps/viem_tempo.js?v=cf4f50a5:950:12
❯ Object.createSync2 node_modules/.vite/vitest/65e336e20c504396e91d42f55f668560c0176c1d/deps/viem_tempo.js?v=cf4f50a5:1072:18
❯ viem_setupToken packages/test/src/tempo/config.ts:164:16
❯ packages/core/src/tempo/actions/reward.test.ts:10:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: 'nonce too low: next nonce 6, tx nonce 5', docsPath: '/docs/contract/writeContract', metaMessages: [ 'Request Arguments:', ' chain: Tempo (id: 1337)\n from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n to: 0x20fc000000000000000000000000000000000000\n data: 0x6813044500000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000020c0000000000000000000000000000000000000000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226663fb7b981813f4795e65fb5d715cfd0b9c52ec7bd89cca7b5d2fba775a8c11e8000000000000000000000000000000000000000000000000000000000000000a5465737420546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003545354000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035553440000000000000000000000000000000000000000000000000000000000', ' ', 'Contract Call:', ' address: 0x20fc000000000000000000000000000000000000\n function: createToken(string name, string symbol, string currency, address quoteToken, address admin, bytes32 salt)\n args: (Test Token, TST, USD, 0x20c0000000000000000000000000000000000000, 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266, 0x63fb7b981813f4795e65fb5d715cfd0b9c52ec7bd89cca7b5d2fba775a8c11e8)\n sender: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266' ], shortMessage: 'Nonce provided for the transaction is lower than the current nonce of the account.\nTry increasing the nonce or find the latest nonce with `getTransactionCount`.', version: '2.44.4', abi: [ { name: 'createToken', type: 'function', stateMutability: 'nonpayable', inputs: [ { type: 'string', name: 'name' }, { type: 'string', name: 'symbol' }, { type: 'string', name:
|
|
packages/core/src/tempo/actions/reward.test.ts#L9
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ packages/core/src/tempo/actions/reward.test.ts:9:2
|
|
packages/core/src/actions/connect.ts#L111
ConnectorAlreadyConnectedError: Connector already connected.
Version: @wagmi/core@x.y.z
❯ connect packages/core/src/actions/connect.ts:111:11
❯ packages/core/src/actions/prepareTransactionRequest.test.ts:12:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Connector already connected.', docsBaseUrl: 'https://wagmi.sh/core', version: '@wagmi/core@x.y.z', walk: 'Function<walk>' }
|
|
packages/core/src/actions/connect.ts#L111
ConnectorAlreadyConnectedError: Connector already connected.
Version: @wagmi/core@x.y.z
❯ connect packages/core/src/actions/connect.ts:111:11
❯ packages/core/src/actions/prepareTransactionRequest.test.ts:12:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Connector already connected.', docsBaseUrl: 'https://wagmi.sh/core', version: '@wagmi/core@x.y.z', walk: 'Function<walk>' }
|
|
packages/core/src/actions/connect.ts#L111
ConnectorAlreadyConnectedError: Connector already connected.
Version: @wagmi/core@x.y.z
❯ connect packages/core/src/actions/connect.ts:111:11
❯ packages/core/src/actions/prepareTransactionRequest.test.ts:12:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { details: undefined, docsPath: undefined, metaMessages: undefined, shortMessage: 'Connector already connected.', docsBaseUrl: 'https://wagmi.sh/core', version: '@wagmi/core@x.y.z', walk: 'Function<walk>' }
|
|
packages/core/src/actions/prepareTransactionRequest.test.ts#L11
Error: Test timed out in 10000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ packages/core/src/actions/prepareTransactionRequest.test.ts:11:1
|
|
packages/react/src/hooks/useVerifyMessage.test.ts#L19
Error: Timed out in waitUntil!
❯ packages/react/src/hooks/useVerifyMessage.test.ts:19:11
|
|
packages/react/src/hooks/useVerifyMessage.test.ts#L19
Error: Timed out in waitUntil!
❯ packages/react/src/hooks/useVerifyMessage.test.ts:19:11
|
|
packages/react/src/hooks/useVerifyMessage.test.ts#L19
Error: Timed out in waitUntil!
❯ packages/react/src/hooks/useVerifyMessage.test.ts:19:11
|
|
packages/react/src/hooks/useVerifyMessage.test.ts#L19
Error: Timed out in waitUntil!
❯ packages/react/src/hooks/useVerifyMessage.test.ts:19:11
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading