Skip to content

Instantly share code, notes, and snippets.

@NorrinRadd
Created April 12, 2024 10:49
Show Gist options
  • Save NorrinRadd/0cb2b5d81aac0ac23ca751a448f7e385 to your computer and use it in GitHub Desktop.
Save NorrinRadd/0cb2b5d81aac0ac23ca751a448f7e385 to your computer and use it in GitHub Desktop.
v3.1.57 running monero-ts 3.1.56 pr branch
> monero-ts@0.9.7 test
> npm run build_commonjs && node --enable-source-maps --no-experimental-fetch node_modules/mocha/bin/_mocha --require @babel/register "dist/src/test/TestAll" --timeout 900000000 --exit
> monero-ts@0.9.7 build_commonjs
> babel ./src --extensions ".js,.ts" --out-dir ./dist/src && babel ./index.ts --extensions ".ts" --out-dir ./dist && shx mkdir -p dist/dist && shx cp dist/monero_wallet_full.js dist/monero_wallet_keys.js dist/dist && shx cp dist/*.js.map dist/dist && shx cp dist/*.wasm dist/dist
Successfully compiled 94 files with Babel (1793ms).
Successfully compiled 1 file with Babel (213ms).
Test sample code
MoneroRpcError: Failed to open wallet
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.openWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:161:5)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:109:7)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestSampleCode.ts:23:27) {
code: -1,
rpcMethod: 'open_wallet',
rpcParams: { filename: 'test_wallet_1', password: 'supersecretpassword123' }
}
Creating wallet!
Error before tests:
MoneroRpcError: Wallet already exists.
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:120:9)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestSampleCode.ts:23:27) {
code: -1,
rpcMethod: 'restore_deterministic_wallet',
rpcParams: {
filename: 'test_wallet_1',
password: 'supersecretpassword123',
seed: 'silk mocked cucumber lettuce hope adrenalin aching lush roles fuel revamp baptism wrist long tender teardrop midst pastry pigment equip frying inbound pinched ravine frying',
seed_offset: undefined,
enable_multisig_experimental: undefined,
restore_height: 171,
language: undefined,
autosave_current: undefined
}
}
1) "before all" hook for "Sample code demonstration"
TEST MONERO UTILITIES
✔ Can get integrated addresses (166ms)
2) Can serialize heights with small numbers
3) Can serialize heights with big numbers
4) Can serialize json with text
5) Can serialize json with long text
✔ Can validate addresses
✔ Can validate keys
✔ Can convert between XMR and atomic units
TEST MONERO DAEMON RPC
MoneroRpcError: Failed to open wallet
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.openWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:161:5)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:109:7)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestMoneroDaemonRpc.ts:60:25) {
code: -1,
rpcMethod: 'open_wallet',
rpcParams: { filename: 'test_wallet_1', password: 'supersecretpassword123' }
}
Creating wallet!
Error before tests:
MoneroRpcError: Wallet already exists.
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:120:9)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestMoneroDaemonRpc.ts:60:25) {
code: -1,
rpcMethod: 'restore_deterministic_wallet',
rpcParams: {
filename: 'test_wallet_1',
password: 'supersecretpassword123',
seed: 'silk mocked cucumber lettuce hope adrenalin aching lush roles fuel revamp baptism wrist long tender teardrop midst pastry pigment equip frying inbound pinched ravine frying',
seed_offset: undefined,
enable_multisig_experimental: undefined,
restore_height: 171,
language: undefined,
autosave_current: undefined
}
}
6) "before all" hook for "Can start and stop a daemon process"
TEST MONERO WALLET KEYS
Before all
Tests specific to keys wallet
Before test "Has the same keys as the RPC wallet"
MoneroRpcError: Failed to open wallet
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.openWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:161:5)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:109:7)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestMoneroWalletKeys.ts:93:58) {
code: -1,
rpcMethod: 'open_wallet',
rpcParams: { filename: 'test_wallet_1', password: 'supersecretpassword123' }
}
Creating wallet!
7) Has the same keys as the RPC wallet
After test "Has the same keys as the RPC wallet"
Before test "Has the same keys as the RPC wallet with a seed offset"
MoneroRpcError: Failed to open wallet
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.openWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:161:5)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:109:7)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestMoneroWalletKeys.ts:102:25) {
code: -1,
rpcMethod: 'open_wallet',
rpcParams: { filename: 'test_wallet_1', password: 'supersecretpassword123' }
}
Creating wallet!
8) Has the same keys as the RPC wallet with a seed offset
After test "Has the same keys as the RPC wallet with a seed offset"
Before test "Can get the address of a specified account and subaddress index"
✔ Can get the address of a specified account and subaddress index
After test "Can get the address of a specified account and subaddress index"
Common Wallet Tests
Before test "Can create a random wallet"
✔ Can create a random wallet
After test "Can create a random wallet"
Before test "Can create a wallet from a mnemonic phrase."
✔ Can create a wallet from a mnemonic phrase.
After test "Can create a wallet from a mnemonic phrase."
Before test "Can create a wallet from a mnemonic phrase with a seed offset"
9) Can create a wallet from a mnemonic phrase with a seed offset
After test "Can create a wallet from a mnemonic phrase with a seed offset"
Before test "Can create a wallet from keys"
✔ Can create a wallet from keys
After test "Can create a wallet from keys"
Before test "Can get the wallet's version"
10) Can get the wallet's version
After test "Can get the wallet's version"
Before test "Can get the wallet's path"
11) Can get the wallet's path
After test "Can get the wallet's path"
Before test "Can set the daemon connection"
12) Can set the daemon connection
After test "Can set the daemon connection"
Before test "Can use a connection manager"
13) Can use a connection manager
After test "Can use a connection manager"
Before test "Can get the seed as a mnemonic phrase"
✔ Can get the seed as a mnemonic phrase
After test "Can get the seed as a mnemonic phrase"
Before test "Can get the language of the seed"
✔ Can get the language of the seed
After test "Can get the language of the seed"
Before test "Can get a list of supported languages for the seed"
✔ Can get a list of supported languages for the seed (41ms)
After test "Can get a list of supported languages for the seed"
Before test "Can get the private view key"
✔ Can get the private view key
After test "Can get the private view key"
Before test "Can get the private spend key"
✔ Can get the private spend key
After test "Can get the private spend key"
Before test "Can get the public view key"
✔ Can get the public view key
After test "Can get the public view key"
Before test "Can get the public spend key"
✔ Can get the public spend key
After test "Can get the public spend key"
Before test "Can get the primary address"
✔ Can get the primary address
After test "Can get the primary address"
Before test "Can get the address of a subaddress at a specified account and subaddress index"
14) Can get the address of a subaddress at a specified account and subaddress index
After test "Can get the address of a subaddress at a specified account and subaddress index"
Before test "Can get addresses out of range of used accounts and subaddresses"
15) Can get addresses out of range of used accounts and subaddresses
After test "Can get addresses out of range of used accounts and subaddresses"
Before test "Can get the account and subaddress indices of an address"
16) Can get the account and subaddress indices of an address
After test "Can get the account and subaddress indices of an address"
Before test "Can get an integrated address given a payment id"
17) Can get an integrated address given a payment id
After test "Can get an integrated address given a payment id"
Before test "Can decode an integrated address"
18) Can decode an integrated address
After test "Can decode an integrated address"
Before test "Can sync (without progress)"
19) Can sync (without progress)
After test "Can sync (without progress)"
Before test "Can get the current height that the wallet is synchronized to"
20) Can get the current height that the wallet is synchronized to
After test "Can get the current height that the wallet is synchronized to"
Before test "Can get a blockchain height by date"
21) Can get a blockchain height by date
After test "Can get a blockchain height by date"
Before test "Can get the locked and unlocked balances of the wallet, accounts, and subaddresses"
22) Can get the locked and unlocked balances of the wallet, accounts, and subaddresses
After test "Can get the locked and unlocked balances of the wallet, accounts, and subaddresses"
Before test "Can get accounts without subaddresses"
23) Can get accounts without subaddresses
After test "Can get accounts without subaddresses"
Before test "Can get accounts with subaddresses"
24) Can get accounts with subaddresses
After test "Can get accounts with subaddresses"
Before test "Can get an account at a specified index"
25) Can get an account at a specified index
After test "Can get an account at a specified index"
Before test "Can create a new account without a label"
26) Can create a new account without a label
After test "Can create a new account without a label"
Before test "Can create a new account with a label"
27) Can create a new account with a label
After test "Can create a new account with a label"
Before test "Can set account labels"
28) Can set account labels
After test "Can set account labels"
Before test "Can get subaddresses at a specified account index"
29) Can get subaddresses at a specified account index
After test "Can get subaddresses at a specified account index"
Before test "Can get subaddresses at specified account and subaddress indices"
30) Can get subaddresses at specified account and subaddress indices
After test "Can get subaddresses at specified account and subaddress indices"
Before test "Can get a subaddress at a specified account and subaddress index"
31) Can get a subaddress at a specified account and subaddress index
After test "Can get a subaddress at a specified account and subaddress index"
Before test "Can create a subaddress with and without a label"
32) Can create a subaddress with and without a label
After test "Can create a subaddress with and without a label"
Before test "Can set subaddress labels"
33) Can set subaddress labels
After test "Can set subaddress labels"
Before test "Can get transactions in the wallet"
34) Can get transactions in the wallet
After test "Can get transactions in the wallet"
Before test "Can get transactions by hash"
35) Can get transactions by hash
After test "Can get transactions by hash"
Before test "Can get transactions with additional configuration"
36) Can get transactions with additional configuration
After test "Can get transactions with additional configuration"
Before test "Can get transactions by height"
37) Can get transactions by height
After test "Can get transactions by height"
Before test "Can get transactions by payment ids"
38) Can get transactions by payment ids
After test "Can get transactions by payment ids"
Before test "Returns all known fields of txs regardless of filtering"
39) Returns all known fields of txs regardless of filtering
After test "Returns all known fields of txs regardless of filtering"
Before test "Validates inputs when getting transactions"
40) Validates inputs when getting transactions
After test "Validates inputs when getting transactions"
Before test "Can get transfers in the wallet, accounts, and subaddresses"
41) Can get transfers in the wallet, accounts, and subaddresses
After test "Can get transfers in the wallet, accounts, and subaddresses"
Before test "Can get transfers with additional configuration"
42) Can get transfers with additional configuration
After test "Can get transfers with additional configuration"
Before test "Validates inputs when getting transfers"
43) Validates inputs when getting transfers
After test "Validates inputs when getting transfers"
Before test "Can get incoming and outgoing transfers using convenience methods"
44) Can get incoming and outgoing transfers using convenience methods
After test "Can get incoming and outgoing transfers using convenience methods"
Before test "Can get outputs in the wallet, accounts, and subaddresses"
45) Can get outputs in the wallet, accounts, and subaddresses
After test "Can get outputs in the wallet, accounts, and subaddresses"
Before test "Can get outputs with additional configuration"
46) Can get outputs with additional configuration
After test "Can get outputs with additional configuration"
Before test "Validates inputs when getting outputs"
47) Validates inputs when getting outputs
After test "Validates inputs when getting outputs"
Before test "Can export outputs in hex format"
48) Can export outputs in hex format
After test "Can export outputs in hex format"
Before test "Can import outputs in hex format"
49) Can import outputs in hex format
After test "Can import outputs in hex format"
Before test "Has correct accounting across accounts, subaddresses, txs, transfers, and outputs"
50) Has correct accounting across accounts, subaddresses, txs, transfers, and outputs
After test "Has correct accounting across accounts, subaddresses, txs, transfers, and outputs"
Before test "Can get and set a transaction note"
51) Can get and set a transaction note
After test "Can get and set a transaction note"
Before test "Can get and set multiple transaction notes"
52) Can get and set multiple transaction notes
After test "Can get and set multiple transaction notes"
Before test "Can check a transfer using the transaction's secret key and the destination"
53) Can check a transfer using the transaction's secret key and the destination
After test "Can check a transfer using the transaction's secret key and the destination"
Before test "Can prove a transaction by getting its signature"
54) Can prove a transaction by getting its signature
After test "Can prove a transaction by getting its signature"
Before test "Can prove a spend using a generated signature and no destination public address"
55) Can prove a spend using a generated signature and no destination public address
After test "Can prove a spend using a generated signature and no destination public address"
Before test "Can prove reserves in the wallet"
56) Can prove reserves in the wallet
After test "Can prove reserves in the wallet"
Before test "Can prove reserves in an account"
57) Can prove reserves in an account
After test "Can prove reserves in an account"
Before test "Can export key images"
58) Can export key images
After test "Can export key images"
Before test "Can get new key images from the last import"
59) Can get new key images from the last import
After test "Can get new key images from the last import"
Before test "Can sign and verify messages"
60) Can sign and verify messages
After test "Can sign and verify messages"
Before test "Has an address book"
61) Has an address book
After test "Has an address book"
Before test "Can get and set arbitrary key/value attributes"
62) Can get and set arbitrary key/value attributes
After test "Can get and set arbitrary key/value attributes"
Before test "Can convert between a tx config and payment URI"
63) Can convert between a tx config and payment URI
After test "Can convert between a tx config and payment URI"
Before test "Can start and stop mining"
64) Can start and stop mining
After test "Can start and stop mining"
Before test "Can change the wallet password"
65) Can change the wallet password
After test "Can change the wallet password"
Before test "Can save and close the wallet in a single call"
66) Can save and close the wallet in a single call
After test "Can save and close the wallet in a single call"
Before test "Can stop listening"
67) Can stop listening
After test "Can stop listening"
Before test "Validates inputs when sending funds"
68) Validates inputs when sending funds
After test "Validates inputs when sending funds"
Before test "Supports view-only and offline wallets to create, sign, and submit transactions"
69) Supports view-only and offline wallets to create, sign, and submit transactions
After test "Supports view-only and offline wallets to create, sign, and submit transactions"
Before test "Supports multisig wallets"
testMultisig(2, 2)
70) Supports multisig wallets
After test "Supports multisig wallets"
Before test "Can scan transactions by id"
71) Can scan transactions by id
After test "Can scan transactions by id"
Before test "Can freeze and thaw outputs"
72) Can freeze and thaw outputs
After test "Can freeze and thaw outputs"
Before test "Provides key images of spent outputs"
73) Provides key images of spent outputs
After test "Provides key images of spent outputs"
Before test "Can prove unrelayed txs"
74) Can prove unrelayed txs
After test "Can prove unrelayed txs"
After all
TEST MONERO WALLET FULL
Before all
Wallet exists at ./test_wallets/test_wallet_1: true
Wallet exists at ./test_wallets/test_wallet_1: true
75) "before all" hook in "TEST MONERO WALLET FULL"
After all
76) "after all" hook in "TEST MONERO WALLET FULL"
TEST MONERO WALLET RPC
Before all
MoneroRpcError: Failed to open wallet
at validateRpcResponse (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (/Users/user/code/monero-ts/src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.openWallet (/Users/user/code/monero-ts/src/main/ts/wallet/MoneroWalletRpc.ts:161:5)
at Function.getWalletRpc (/Users/user/code/monero-ts/src/test/utils/TestUtils.ts:109:7)
at TestMoneroWalletRpc.beforeAll (/Users/user/code/monero-ts/src/test/TestMoneroWalletCommon.ts:70:19)
at TestMoneroWalletRpc.beforeAll (/Users/user/code/monero-ts/src/test/TestMoneroWalletRpc.ts:22:9)
at Context.<anonymous> (/Users/user/code/monero-ts/src/test/TestMoneroWalletRpc.ts:120:39) {
code: -1,
rpcMethod: 'open_wallet',
rpcParams: { filename: 'test_wallet_1', password: 'supersecretpassword123' }
}
Creating wallet!
77) "before all" hook in "TEST MONERO WALLET RPC"
After all
78) "after all" hook in "TEST MONERO WALLET RPC"
Test connection manager
79) Can manage connections
Scratchpad
80) Can be scripted easily
16 passing (13s)
80 failing
1) Test sample code
"before all" hook for "Sample code demonstration":
Error: Wallet already exists.
at validateRpcResponse (src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (src/test/utils/TestUtils.ts:120:9)
at Context.<anonymous> (src/test/TestSampleCode.ts:23:27)
2) TEST MONERO UTILITIES
Can serialize heights with small numbers:
TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:97)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Context.<anonymous> (src/test/TestMoneroUtils.ts:56:22)
Worker error: TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at <anonymous> (src/main/ts/common/MoneroUtils.ts:331:36)
at <anonymous> (src/main/ts/common/ThreadPool.ts:25:12)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:4099:9
at Object.process (node_modules/async/dist/async.js:2347:17)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:2255:19
at Immediate.<anonymous> (node_modules/async/dist/async.js:119:16)
at process.processImmediate (node:internal/timers:478:21)
3) TEST MONERO UTILITIES
Can serialize heights with big numbers:
TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:97)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Context.<anonymous> (src/test/TestMoneroUtils.ts:64:22)
Worker error: TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at <anonymous> (src/main/ts/common/MoneroUtils.ts:331:36)
at <anonymous> (src/main/ts/common/ThreadPool.ts:25:12)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:4099:9
at Object.process (node_modules/async/dist/async.js:2347:17)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:2255:19
at Immediate.<anonymous> (node_modules/async/dist/async.js:119:16)
at process.processImmediate (node:internal/timers:478:21)
4) TEST MONERO UTILITIES
Can serialize json with text:
TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:97)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Context.<anonymous> (src/test/TestMoneroUtils.ts:72:22)
Worker error: TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at <anonymous> (src/main/ts/common/MoneroUtils.ts:331:36)
at <anonymous> (src/main/ts/common/ThreadPool.ts:25:12)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:4099:9
at Object.process (node_modules/async/dist/async.js:2347:17)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:2255:19
at Immediate.<anonymous> (node_modules/async/dist/async.js:119:16)
at process.processImmediate (node:internal/timers:478:21)
5) TEST MONERO UTILITIES
Can serialize json with long text:
TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:97)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Context.<anonymous> (src/test/TestMoneroUtils.ts:93:22)
Worker error: TypeError: _LibraryUtils.default.getWasmModule(...)._free is not a function
at <anonymous> (src/main/ts/common/MoneroUtils.ts:331:36)
at <anonymous> (src/main/ts/common/ThreadPool.ts:25:12)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:4099:9
at Object.process (node_modules/async/dist/async.js:2347:17)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:2255:19
at Immediate.<anonymous> (node_modules/async/dist/async.js:119:16)
at process.processImmediate (node:internal/timers:478:21)
6) TEST MONERO DAEMON RPC
"before all" hook for "Can start and stop a daemon process":
Error: Wallet already exists.
at validateRpcResponse (src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (src/test/utils/TestUtils.ts:120:9)
at Context.<anonymous> (src/test/TestMoneroDaemonRpc.ts:60:25)
7) TEST MONERO WALLET KEYS
Tests specific to keys wallet
Has the same keys as the RPC wallet:
Error: Wallet already exists.
at validateRpcResponse (src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (src/test/utils/TestUtils.ts:120:9)
at Context.<anonymous> (src/test/TestMoneroWalletKeys.ts:93:58)
8) TEST MONERO WALLET KEYS
Tests specific to keys wallet
Has the same keys as the RPC wallet with a seed offset:
Error: Wallet already exists.
at validateRpcResponse (src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (src/test/utils/TestUtils.ts:120:9)
at Context.<anonymous> (src/test/TestMoneroWalletKeys.ts:102:25)
9) TEST MONERO WALLET KEYS
Common Wallet Tests
Can create a wallet from a mnemonic phrase with a seed offset:
RuntimeError: memory access out of bounds
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:97)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Function.createWallet (src/main/ts/wallet/MoneroWalletKeys.ts:381:5)
at Function.createWallet (src/main/ts/wallet/MoneroWalletKeys.ts:63:25)
at TestMoneroWalletKeys.createWallet (src/test/TestMoneroWalletKeys.ts:54:12)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:280:24)
Worker error: RuntimeError: memory access out of bounds
at wasm://wasm/0047403a:wasm-function[1204]:0x44944
at wasm://wasm/0047403a:wasm-function[3269]:0xbc909
at invoke_ii (dist/dist/monero_wallet_keys.js:8:119582)
at wasm://wasm/0047403a:wasm-function[1029]:0x368a5
at wasm://wasm/0047403a:wasm-function[2223]:0x90c81
at wasm://wasm/0047403a:wasm-function[2426]:0x99c89
at Object.create_keys_wallet_from_seed (dist/dist/monero_wallet_keys.js:8:77894)
at <anonymous> (src/main/ts/wallet/MoneroWalletKeys.ts:114:16)
at new Promise (<anonymous>)
at <anonymous> (src/main/ts/wallet/MoneroWalletKeys.ts:111:14)
at <anonymous> (src/main/ts/common/ThreadPool.ts:25:12)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:4099:9
at Object.process (node_modules/async/dist/async.js:2347:17)
at /Users/user/code/monero-ts/node_modules/async/dist/async.js:2255:19
at Immediate.<anonymous> (node_modules/async/dist/async.js:119:16)
at process.processImmediate (node:internal/timers:478:21)
10) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get the wallet's version:
Error: Not implemented
at getVersion (src/main/ts/wallet/MoneroWalletKeys.ts:409:11)
at MoneroWalletKeys.getVersion (src/main/ts/wallet/MoneroWalletKeys.ts:194:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:399:41)
at process.processImmediate (node:internal/timers:478:21)
11) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get the wallet's path:
Error: Not supported
at MoneroWalletKeys.setAttribute (src/main/ts/wallet/MoneroWallet.ts:1230:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:413:22)
12) TEST MONERO WALLET KEYS
Common Wallet Tests
Can set the daemon connection:
Error: Not supported
at MoneroWalletKeys.getDaemonConnection (src/main/ts/wallet/MoneroWallet.ts:141:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:435:41)
13) TEST MONERO WALLET KEYS
Common Wallet Tests
Can use a connection manager:
Error: Not supported
at MoneroWalletKeys.getDaemonConnection (src/main/ts/wallet/MoneroWallet.ts:141:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:507:38)
14) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get the address of a subaddress at a specified account and subaddress index:
Error: Not supported
at getSubaddresses (src/main/ts/wallet/MoneroWallet.ts:522:11)
at MoneroWalletKeys.getSubaddress (src/main/ts/wallet/MoneroWallet.ts:535:24)
at MoneroWalletKeys.getSubaddress (src/main/ts/wallet/MoneroWalletKeys.ts:344:108)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:620:41)
at process.processImmediate (node:internal/timers:478:21)
15) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get addresses out of range of used accounts and subaddresses:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at testGetSubaddressAddressOutOfRange (src/test/TestMoneroWalletCommon.ts:4258:38)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:630:20)
at process.processImmediate (node:internal/timers:478:21)
16) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get the account and subaddress indices of an address:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:637:42)
at process.processImmediate (node:internal/timers:478:21)
17) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get an integrated address given a payment id:
Error: Not supported
at MoneroWalletKeys.getIntegratedAddress (src/main/ts/wallet/MoneroWallet.ts:294:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:675:51)
18) TEST MONERO WALLET KEYS
Common Wallet Tests
Can decode an integrated address:
Error: Not supported
at MoneroWalletKeys.getIntegratedAddress (src/main/ts/wallet/MoneroWallet.ts:294:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:713:51)
at process.processImmediate (node:internal/timers:478:21)
19) TEST MONERO WALLET KEYS
Common Wallet Tests
Can sync (without progress):
Error: Not supported
at MoneroWalletKeys.sync (src/main/ts/wallet/MoneroWallet.ts:345:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:732:40)
20) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get the current height that the wallet is synchronized to:
Error: Not supported
at MoneroWalletKeys.getHeight (src/main/ts/wallet/MoneroWallet.ts:313:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:740:40)
at process.processImmediate (node:internal/timers:478:21)
21) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get a blockchain height by date:
Error: Not supported
at MoneroWalletKeys.getHeightByDate (src/main/ts/wallet/MoneroWallet.ts:334:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:758:42)
at process.processImmediate (node:internal/timers:478:21)
22) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get the locked and unlocked balances of the wallet, accounts, and subaddresses:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:781:42)
at process.processImmediate (node:internal/timers:478:21)
23) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get accounts without subaddresses:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:820:42)
at process.processImmediate (node:internal/timers:478:21)
24) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get accounts with subaddresses:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:830:42)
at process.processImmediate (node:internal/timers:478:21)
25) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get an account at a specified index:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:840:42)
at process.processImmediate (node:internal/timers:478:21)
26) TEST MONERO WALLET KEYS
Common Wallet Tests
Can create a new account without a label:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:857:48)
at process.processImmediate (node:internal/timers:478:21)
27) TEST MONERO WALLET KEYS
Common Wallet Tests
Can create a new account with a label:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:867:48)
at process.processImmediate (node:internal/timers:478:21)
28) TEST MONERO WALLET KEYS
Common Wallet Tests
Can set account labels:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:893:32)
at process.processImmediate (node:internal/timers:478:21)
29) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get subaddresses at a specified account index:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:903:42)
at process.processImmediate (node:internal/timers:478:21)
30) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get subaddresses at specified account and subaddress indices:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:917:42)
at process.processImmediate (node:internal/timers:478:21)
31) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get a subaddress at a specified account and subaddress index:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:942:42)
at process.processImmediate (node:internal/timers:478:21)
32) TEST MONERO WALLET KEYS
Common Wallet Tests
Can create a subaddress with and without a label:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:959:42)
at process.processImmediate (node:internal/timers:478:21)
33) TEST MONERO WALLET KEYS
Common Wallet Tests
Can set subaddress labels:
Error: Not supported
at MoneroWalletKeys.getSubaddresses (src/main/ts/wallet/MoneroWallet.ts:522:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:990:35)
at process.processImmediate (node:internal/timers:478:21)
34) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transactions in the wallet:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getAndTestTxs (src/test/TestMoneroWalletCommon.ts:4277:28)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1003:30)
at process.processImmediate (node:internal/timers:478:21)
35) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transactions by hash:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1047:37)
at process.processImmediate (node:internal/timers:478:21)
36) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transactions with additional configuration:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getRandomTransactions (src/test/TestMoneroWalletCommon.ts:5221:26)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1090:31)
at process.processImmediate (node:internal/timers:478:21)
37) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transactions by height:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getAndTestTxs (src/test/TestMoneroWalletCommon.ts:4277:28)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1236:30)
at process.processImmediate (node:internal/timers:478:21)
38) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transactions by payment ids:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getRandomTransactions (src/test/TestMoneroWalletCommon.ts:5221:26)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1299:31)
at process.processImmediate (node:internal/timers:478:21)
39) TEST MONERO WALLET KEYS
Common Wallet Tests
Returns all known fields of txs regardless of filtering:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1325:37)
at process.processImmediate (node:internal/timers:478:21)
40) TEST MONERO WALLET KEYS
Common Wallet Tests
Validates inputs when getting transactions:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getRandomTransactions (src/test/TestMoneroWalletCommon.ts:5221:26)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1354:31)
at process.processImmediate (node:internal/timers:478:21)
41) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transfers in the wallet, accounts, and subaddresses:
Error: Not supported
at MoneroWalletKeys.getTransfers (src/main/ts/wallet/MoneroWallet.ts:628:11)
at getAndTestTransfers (src/test/TestMoneroWalletCommon.ts:4299:34)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1402:20)
at process.processImmediate (node:internal/timers:478:21)
42) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get transfers with additional configuration:
Error: Not supported
at MoneroWalletKeys.getTransfers (src/main/ts/wallet/MoneroWallet.ts:628:11)
at getAndTestTransfers (src/test/TestMoneroWalletCommon.ts:4299:34)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1485:36)
at process.processImmediate (node:internal/timers:478:21)
43) TEST MONERO WALLET KEYS
Common Wallet Tests
Validates inputs when getting transfers:
Error: Not supported
at MoneroWalletKeys.getTransfers (src/main/ts/wallet/MoneroWallet.ts:628:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1571:43)
at process.processImmediate (node:internal/timers:478:21)
44) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get incoming and outgoing transfers using convenience methods:
Error: Not supported
at getTransfers (src/main/ts/wallet/MoneroWallet.ts:628:11)
at MoneroWalletKeys.getIncomingTransfers (src/main/ts/wallet/MoneroWallet.ts:647:17)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1598:45)
at process.processImmediate (node:internal/timers:478:21)
45) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get outputs in the wallet, accounts, and subaddresses:
Error: Not supported
at MoneroWalletKeys.getOutputs (src/main/ts/wallet/MoneroWallet.ts:693:11)
at getAndTestOutputs (src/test/TestMoneroWalletCommon.ts:4320:32)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1656:20)
at process.processImmediate (node:internal/timers:478:21)
46) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get outputs with additional configuration:
Error: Not supported
at MoneroWalletKeys.getOutputs (src/main/ts/wallet/MoneroWallet.ts:693:11)
at getAndTestOutputs (src/test/TestMoneroWalletCommon.ts:4320:32)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1702:34)
at process.processImmediate (node:internal/timers:478:21)
47) TEST MONERO WALLET KEYS
Common Wallet Tests
Validates inputs when getting outputs:
Error: Not supported
at MoneroWalletKeys.getOutputs (src/main/ts/wallet/MoneroWallet.ts:693:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1767:41)
at process.processImmediate (node:internal/timers:478:21)
48) TEST MONERO WALLET KEYS
Common Wallet Tests
Can export outputs in hex format:
Error: Not supported
at MoneroWalletKeys.exportOutputs (src/main/ts/wallet/MoneroWallet.ts:703:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1781:44)
at process.processImmediate (node:internal/timers:478:21)
49) TEST MONERO WALLET KEYS
Common Wallet Tests
Can import outputs in hex format:
Error: Not supported
at MoneroWalletKeys.exportOutputs (src/main/ts/wallet/MoneroWallet.ts:703:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1795:44)
at process.processImmediate (node:internal/timers:478:21)
50) TEST MONERO WALLET KEYS
Common Wallet Tests
Has correct accounting across accounts, subaddresses, txs, transfers, and outputs:
Error: Not supported
at MoneroWalletKeys.getBalance (src/main/ts/wallet/MoneroWallet.ts:413:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1808:47)
at process.processImmediate (node:internal/timers:478:21)
51) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get and set a transaction note:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getRandomTransactions (src/test/TestMoneroWalletCommon.ts:5221:26)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1892:25)
at process.processImmediate (node:internal/timers:478:21)
52) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get and set multiple transaction notes:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1912:37)
at process.processImmediate (node:internal/timers:478:21)
53) TEST MONERO WALLET KEYS
Common Wallet Tests
Can check a transfer using the transaction's secret key and the destination:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:1935:32)
at process.processImmediate (node:internal/timers:478:21)
54) TEST MONERO WALLET KEYS
Common Wallet Tests
Can prove a transaction by getting its signature:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getRandomTransactions (src/test/TestMoneroWalletCommon.ts:5221:26)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2029:23)
at process.processImmediate (node:internal/timers:478:21)
55) TEST MONERO WALLET KEYS
Common Wallet Tests
Can prove a spend using a generated signature and no destination public address:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at getRandomTransactions (src/test/TestMoneroWalletCommon.ts:5221:26)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2104:25)
at process.processImmediate (node:internal/timers:478:21)
56) TEST MONERO WALLET KEYS
Common Wallet Tests
Can prove reserves in the wallet:
Error: Not supported
at MoneroWalletKeys.getReserveProofWallet (src/main/ts/wallet/MoneroWallet.ts:1037:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2152:43)
at process.processImmediate (node:internal/timers:478:21)
57) TEST MONERO WALLET KEYS
Common Wallet Tests
Can prove reserves in an account:
Error: Not supported
at MoneroWalletKeysProxy.getAccounts (src/main/ts/wallet/MoneroWallet.ts:479:11)
at MoneroWalletKeys.getAccounts (src/main/ts/wallet/MoneroWalletKeys.ts:296:61)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2202:42)
at process.processImmediate (node:internal/timers:478:21)
58) TEST MONERO WALLET KEYS
Common Wallet Tests
Can export key images:
Error: Not supported
at MoneroWalletKeys.exportKeyImages (src/main/ts/wallet/MoneroWallet.ts:723:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2272:40)
at process.processImmediate (node:internal/timers:478:21)
59) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get new key images from the last import:
Error: Not supported
at MoneroWalletKeys.exportOutputs (src/main/ts/wallet/MoneroWallet.ts:703:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2291:44)
at process.processImmediate (node:internal/timers:478:21)
60) TEST MONERO WALLET KEYS
Common Wallet Tests
Can sign and verify messages:
Error: Not supported
at MoneroWalletKeys.signMessage (src/main/ts/wallet/MoneroWallet.ts:945:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2339:45)
at process.processImmediate (node:internal/timers:478:21)
61) TEST MONERO WALLET KEYS
Common Wallet Tests
Has an address book:
Error: Not supported
at MoneroWalletKeys.getAddressBookEntries (src/main/ts/wallet/MoneroWallet.ts:1113:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2378:41)
at process.processImmediate (node:internal/timers:478:21)
62) TEST MONERO WALLET KEYS
Common Wallet Tests
Can get and set arbitrary key/value attributes:
Error: Not supported
at MoneroWalletKeys.setAttribute (src/main/ts/wallet/MoneroWallet.ts:1230:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2470:29)
at process.processImmediate (node:internal/timers:478:21)
63) TEST MONERO WALLET KEYS
Common Wallet Tests
Can convert between a tx config and payment URI:
Error: Not supported
at MoneroWalletKeys.getPaymentUri (src/main/ts/wallet/MoneroWallet.ts:1199:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2487:37)
64) TEST MONERO WALLET KEYS
Common Wallet Tests
Can start and stop mining:
Error: Not supported
at MoneroWalletKeys.startMining (src/main/ts/wallet/MoneroWallet.ts:1242:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2529:27)
65) TEST MONERO WALLET KEYS
Common Wallet Tests
Can change the wallet password:
Error: MoneroWalletKeys does not support a persisted path
at getPath (src/main/ts/wallet/MoneroWalletKeys.ts:207:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2538:33)
66) TEST MONERO WALLET KEYS
Common Wallet Tests
Can save and close the wallet in a single call:
Error: MoneroWalletKeys does not support a persisted path
at getPath (src/main/ts/wallet/MoneroWalletKeys.ts:207:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2582:33)
67) TEST MONERO WALLET KEYS
Common Wallet Tests
Can stop listening:
Error: Cannot initialize keys wallet with connection
at TestMoneroWalletKeys.createWallet (src/test/TestMoneroWalletKeys.ts:51:35)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:2927:33)
at process.processImmediate (node:internal/timers:478:21)
68) TEST MONERO WALLET KEYS
Common Wallet Tests
Validates inputs when sending funds:
AssertionError [ERR_ASSERTION]: 'Not supported' == 'Invalid destination address'
+ expected - actual
-Not supported
+Invalid destination address
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:3160:18)
69) TEST MONERO WALLET KEYS
Common Wallet Tests
Supports view-only and offline wallets to create, sign, and submit transactions:
Error: Cannot initialize keys wallet with connection
at TestMoneroWalletKeys.createWallet (src/test/TestMoneroWalletKeys.ts:51:35)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:3699:40)
70) TEST MONERO WALLET KEYS
Common Wallet Tests
Supports multisig wallets:
Error: Not supported
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:56)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at MoneroWalletKeysProxy.invokeWorker (src/main/ts/wallet/MoneroWalletKeys.ts:467:12)
at MoneroWalletKeysProxy.close (src/main/ts/wallet/MoneroWalletKeys.ts:458:5)
at MoneroWalletKeys.close (src/main/ts/wallet/MoneroWalletKeys.ts:306:7)
at TestMoneroWalletKeys.closeWallet (src/test/TestMoneroWalletKeys.ts:58:5)
at TestMoneroWalletKeys.testMultisig (src/test/TestMoneroWalletCommon.ts:4704:43)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:3805:9)
Worker error: Error: Not supported
at MoneroWalletKeys.save (src/main/ts/wallet/MoneroWallet.ts:1372:11)
at MoneroWalletKeys.close (src/main/ts/wallet/MoneroWalletKeys.ts:313:26)
at apply (src/main/ts/common/MoneroWebWorker.ts:1001:40)
at self.onmessage (src/main/ts/common/MoneroWebWorker.ts:49:68)
71) TEST MONERO WALLET KEYS
Common Wallet Tests
Can scan transactions by id:
Error: Not supported
at MoneroWalletKeys.getTxs (src/main/ts/wallet/MoneroWallet.ts:599:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:4024:37)
at process.processImmediate (node:internal/timers:478:21)
72) TEST MONERO WALLET KEYS
Common Wallet Tests
Can freeze and thaw outputs:
Error: Not supported
at MoneroWalletKeys.getOutputs (src/main/ts/wallet/MoneroWallet.ts:693:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:4064:41)
at process.processImmediate (node:internal/timers:478:21)
73) TEST MONERO WALLET KEYS
Common Wallet Tests
Provides key images of spent outputs:
Error: Not supported
at MoneroWalletKeys.getSubaddresses (src/main/ts/wallet/MoneroWallet.ts:522:11)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:4128:50)
at process.processImmediate (node:internal/timers:478:21)
74) TEST MONERO WALLET KEYS
Common Wallet Tests
Can prove unrelayed txs:
Error: Not supported
at createTxs (src/main/ts/wallet/MoneroWallet.ts:817:11)
at MoneroWalletKeys.createTx (src/main/ts/wallet/MoneroWallet.ts:796:24)
at Context.<anonymous> (src/test/TestMoneroWalletCommon.ts:4194:36)
75) TEST MONERO WALLET FULL
"before all" hook in "TEST MONERO WALLET FULL":
RuntimeError: memory access out of bounds
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:97)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Function.openWalletData (src/main/ts/wallet/MoneroWalletFull.ts:1843:5)
at Function.openWalletData (src/main/ts/wallet/MoneroWalletFull.ts:1602:25)
at Function.openWallet (src/main/ts/wallet/MoneroWalletFull.ts:144:20)
at Function.getWalletFull (src/test/utils/TestUtils.ts:232:32)
at TestMoneroWalletFull.getTestWallet (src/test/TestMoneroWalletFull.ts:70:12)
at TestMoneroWalletFull.beforeAll (src/test/TestMoneroWalletCommon.ts:70:19)
at TestMoneroWalletFull.beforeAll (src/test/TestMoneroWalletFull.ts:34:5)
at Context.<anonymous> (src/test/TestMoneroWalletFull.ts:129:33)
Worker error: RuntimeError: memory access out of bounds
at wasm://wasm/01878296:wasm-function[140]:0x7b83
at wasm://wasm/01878296:wasm-function[1694]:0xcc00b
at wasm://wasm/01878296:wasm-function[4404]:0x22b5d6
at wasm://wasm/01878296:wasm-function[2306]:0x12fcf7
at wasm://wasm/01878296:wasm-function[617]:0x405c6
at wasm://wasm/01878296:wasm-function[5685]:0x303743
at wasm://wasm/01878296:wasm-function[8582]:0x4948f8
at wasm://wasm/01878296:wasm-function[6466]:0x388909
at ret.<computed> (dist/dist/monero_wallet_full.js:8:88031)
at Module.dynCall_iiiiiii (dist/dist/monero_wallet_full.js:8:352782)
at invoke_iiiiiii (dist/dist/monero_wallet_full.js:8:358842)
at wasm://wasm/01878296:wasm-function[7537]:0x3fafeb
at wasm://wasm/01878296:wasm-function[7575]:0x401ee9
at wasm://wasm/01878296:wasm-function[6464]:0x3886d5
at ret.<computed> (dist/dist/monero_wallet_full.js:8:88031)
at Module.dynCall_viiiiiiiiii (dist/dist/monero_wallet_full.js:8:353149)
at dynCallLegacy (dist/dist/monero_wallet_full.js:8:94564)
at dynCall (dist/dist/monero_wallet_full.js:8:94688)
at /Users/user/code/monero-ts/dist/dist/monero_wallet_full.js:8:94767
at Object.open_wallet_full (dist/dist/monero_wallet_full.js:8:92347)
at <anonymous> (src/main/ts/wallet/MoneroWalletFull.ts:1627:16)
at new Promise (<anonymous>)
76) TEST MONERO WALLET FULL
"after all" hook in "TEST MONERO WALLET FULL":
TypeError: Cannot read properties of undefined (reading 'close')
at TestMoneroWalletFull.afterAll (src/test/TestMoneroWalletCommon.ts:96:23)
at afterAll (src/test/TestMoneroWalletFull.ts:42:17)
at Context.<anonymous> (src/test/TestMoneroWalletFull.ts:131:43)
at process.processImmediate (node:internal/timers:478:21)
77) TEST MONERO WALLET RPC
"before all" hook in "TEST MONERO WALLET RPC":
Error: Wallet already exists.
at validateRpcResponse (src/main/ts/common/MoneroRpcConnection.ts:415:11)
at MoneroRpcConnection.sendJsonRequest (src/main/ts/common/MoneroRpcConnection.ts:273:27)
at MoneroWalletRpc.createWalletFromSeed (src/main/ts/wallet/MoneroWalletRpc.ts:267:7)
at MoneroWalletRpc.createWallet (src/main/ts/wallet/MoneroWalletRpc.ts:234:51)
at Function.getWalletRpc (src/test/utils/TestUtils.ts:120:9)
at TestMoneroWalletRpc.beforeAll (src/test/TestMoneroWalletCommon.ts:70:19)
at TestMoneroWalletRpc.beforeAll (src/test/TestMoneroWalletRpc.ts:22:9)
at Context.<anonymous> (src/test/TestMoneroWalletRpc.ts:120:39)
78) TEST MONERO WALLET RPC
"after all" hook in "TEST MONERO WALLET RPC":
TypeError: Cannot read properties of undefined (reading 'close')
at TestMoneroWalletRpc.afterAll (src/test/TestMoneroWalletCommon.ts:96:23)
at afterAll (src/test/TestMoneroWalletRpc.ts:37:21)
at Context.<anonymous> (src/test/TestMoneroWalletRpc.ts:122:49)
at process.processImmediate (node:internal/timers:478:21)
79) Test connection manager
Can manage connections:
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
(0, _assert.default)(connectionManager.isConnected())
+ expected - actual
-false
+true
at Context.<anonymous> (src/test/TestMoneroConnectionManager.ts:63:17)
80) Scratchpad
Can be scripted easily:
Error: StatusCodeError: 401 - "<html><head><title>Unauthorized Access</title></head><body><h1>401 Unauthorized</h1></body></html>"
at deserializeError (src/main/ts/common/LibraryUtils.ts:253:56)
at Function.invokeWorker (src/main/ts/common/LibraryUtils.ts:242:26)
at Context.<anonymous> (src/test/Scratchpad.ts:24:37)
Worker error: Error: StatusCodeError: 401 - "<html><head><title>Unauthorized Access</title></head><body><h1>401 Unauthorized</h1></body></html>"
at MoneroRpcConnection.sendJsonRequest (src/main/ts/common/MoneroRpcConnection.ts:277:18)
at MoneroDaemonRpc.getHeight (src/main/ts/daemon/MoneroDaemonRpc.ts:168:16)
at self.onmessage (src/main/ts/common/MoneroWebWorker.ts:49:49)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment