Skip to content

fix!: monero merkle tree params (#6336) #1504

fix!: monero merkle tree params (#6336)

fix!: monero merkle tree params (#6336) #1504

GitHub Actions / JUnit Test Report failed May 15, 2024 in 0s

37 tests run, 32 passed, 0 skipped, 5 failed.

Annotations

Check failure on line 1 in feature:142:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:142:5.Scenario: Syncing node while also mining before tip sync: tests/features/Sync.feature:142:5

Step panicked. Captured output: Service on port 18305 never started
Raw output
Scenario Outline: Syncing node while also mining before tip sync
     Given I have a seed node SEED
     When I have wallet WALLET1 connected to seed node SEED
     When I have wallet WALLET2 connected to seed node SEED
     When I have mining node MINER connected to base node SEED and wallet WALLET1
     When I have a base node SYNCER connected to all seed nodes
     When I have mine-before-tip mining node MINER2 connected to base node SYNCER and wallet WALLET2
     When I stop node SYNCER
     When mining node MINER mines 101 blocks with min difficulty 1 and max difficulty 9999999999
     Then node SEED is at height 101
     When I start base node SYNCER
      Step failed:
      Defined: tests/features/Sync.feature:134:5
      Matched: integration_tests/tests/steps/node_steps.rs:68:1
      Step panicked. Captured output: Service on port 18305 never started
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "SEED",
                  wallet_name: "WALLET1",
                  mine_until_height: 100000,
                  stealth: false,
              },
              "MINER2": MinerProcess {
                  name: "MINER2",
                  base_node_name: "SYNCER",
                  wallet_name: "WALLET2",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "WALLET1": "SEED",
              "WALLET2": "SEED",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:142:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:142:5.Scenario: Syncing node while also mining before tip sync: tests/features/Sync.feature:142:5

Step panicked. Captured output: Service on port 18350 never started
Raw output
Scenario Outline: Syncing node while also mining before tip sync | Retry attempt: 1/2
     Given I have a seed node SEED
     When I have wallet WALLET1 connected to seed node SEED
     When I have wallet WALLET2 connected to seed node SEED
     When I have mining node MINER connected to base node SEED and wallet WALLET1
     When I have a base node SYNCER connected to all seed nodes
     When I have mine-before-tip mining node MINER2 connected to base node SYNCER and wallet WALLET2
     When I stop node SYNCER
     When mining node MINER mines 101 blocks with min difficulty 1 and max difficulty 9999999999
     Then node SEED is at height 101
     When I start base node SYNCER
      Step failed:
      Defined: tests/features/Sync.feature:134:5
      Matched: integration_tests/tests/steps/node_steps.rs:68:1
      Step panicked. Captured output: Service on port 18350 never started
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "SEED",
                  wallet_name: "WALLET1",
                  mine_until_height: 100000,
                  stealth: false,
              },
              "MINER2": MinerProcess {
                  name: "MINER2",
                  base_node_name: "SYNCER",
                  wallet_name: "WALLET2",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "WALLET1": "SEED",
              "WALLET2": "SEED",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:175:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:175:5.Scenario: As a client I want to send a one-sided transaction: tests/features/WalletFFI.feature:175:5

Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
Raw output
Scenario: As a client I want to send a one-sided transaction
     Given I have a seed node SEED
     When I have a base node BASE1 connected to all seed nodes
     When I have wallet SENDER connected to base node BASE1
     And I have a ffi wallet FFI_WALLET connected to base node SEED
     When I have wallet RECEIVER connected to base node BASE1
     When I add contact with alias ALIAS1 and address of SENDER to ffi wallet FFI_WALLET
     When I add contact with alias ALIAS2 and address of RECEIVER to ffi wallet FFI_WALLET
     When I have mining node MINER connected to base node BASE1 and wallet SENDER
     When mining node MINER mines 10 blocks
     Then all nodes are at height 10
     Then I wait for wallet SENDER to have at least 129239250000 uT
     And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
     And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
     Then wallet SENDER has at least 2 transactions that are all TRANSACTION_STATUS_BROADCAST and not cancelled
     Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_BROADCAST
     When mining node MINER mines 10 blocks
     Then all nodes are at height 20
     Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_MINED
     Then I wait for ffi wallet FFI_WALLET to have at least 4000000 uT
     And I send 1000000 uT from ffi wallet FFI_WALLET to wallet RECEIVER at fee 5 via one-sided transactions
     Then ffi wallet FFI_WALLET detects AT_LEAST 3 ffi transactions to be TRANSACTION_STATUS_BROADCAST
     When mining node MINER mines 2 blocks
     Then all nodes are at height 22
     Then wallet RECEIVER has at least 1 transactions that are all TRANSACTION_STATUS_ONE_SIDED_UNCONFIRMED and not cancelled
      Step failed:
      Defined: tests/features/WalletFFI.feature:205:9
      Matched: integration_tests/tests/steps/wallet_steps.rs:514:1
      Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "BASE1",
                  wallet_name: "SENDER",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {
              "FFI_WALLET": WalletFFI {
                  name: "FFI_WALLET",
                  port: 18438,
                  base_dir: "/runner/_work/tari/tari/integration_tests/tests/temp/cucumber_48798/Wallet FFI/As a client I want to send a one-sided transaction/ffi_wallets/FFI_WALLET_port_18438",
                  wallet: Mutex {
                      data: Wallet {
                          ptr: 0x00007f1544007af0,
                          liveness_data: Mutex {
                              data: {
                                  "0c0e1f7fb30b6e48d2d4e8b6ca018c4b6719fff80919028990f030d75f5e827037": ContactsLivenessData {
                                      ptr: 0x00007f107c028080,
                                  },
                                  "8cd98bd4e8830742da77a04e80c951d5e87cbcc737c407ecf6e3ffd1ba78c742cd": ContactsLivenessData {
                                      ptr: 0x00007f0fd40304c0,
                                  },
                              },
                              poisoned: false,
                              ..
                          },
                          balance: CachedBalance {
                              available: 2400000,
                              time_locked: 0,
                              pending_incoming: 1399330,
                              pending_outgoing: 2400000,
                          },
                      },
                      poisoned: false,
                      ..
                  },
              },
          },
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "SENDER": "BASE1",
              "RECEIVER": "BASE1",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {
              "0c0e1f7fb30b6e48d2d4e8b6ca018c4b6719fff80919028990f030d75f5e827037": [
                  3458947629602360499,
                  2290917948038100284,
              ],
              "5a4939bc45710c19a39766cb62561005b096f0a581243987b06528566eac421618": [
                  3458947629602360499,
                  2290917948038100284,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:175:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:175:5.Scenario: As a client I want to send a one-sided transaction: tests/features/WalletFFI.feature:175:5

Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
Raw output
Scenario: As a client I want to send a one-sided transaction | Retry attempt: 1/2
     Given I have a seed node SEED
     When I have a base node BASE1 connected to all seed nodes
     When I have wallet SENDER connected to base node BASE1
     And I have a ffi wallet FFI_WALLET connected to base node SEED
     When I have wallet RECEIVER connected to base node BASE1
     When I add contact with alias ALIAS1 and address of SENDER to ffi wallet FFI_WALLET
     When I add contact with alias ALIAS2 and address of RECEIVER to ffi wallet FFI_WALLET
     When I have mining node MINER connected to base node BASE1 and wallet SENDER
     When mining node MINER mines 10 blocks
     Then all nodes are at height 10
     Then I wait for wallet SENDER to have at least 129239250000 uT
     And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
     And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
     Then wallet SENDER has at least 2 transactions that are all TRANSACTION_STATUS_BROADCAST and not cancelled
     Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_BROADCAST
     When mining node MINER mines 10 blocks
     Then all nodes are at height 20
     Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_MINED
     Then I wait for ffi wallet FFI_WALLET to have at least 4000000 uT
     And I send 1000000 uT from ffi wallet FFI_WALLET to wallet RECEIVER at fee 5 via one-sided transactions
     Then ffi wallet FFI_WALLET detects AT_LEAST 3 ffi transactions to be TRANSACTION_STATUS_BROADCAST
     When mining node MINER mines 2 blocks
     Then all nodes are at height 22
     Then wallet RECEIVER has at least 1 transactions that are all TRANSACTION_STATUS_ONE_SIDED_UNCONFIRMED and not cancelled
      Step failed:
      Defined: tests/features/WalletFFI.feature:205:9
      Matched: integration_tests/tests/steps/wallet_steps.rs:514:1
      Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "BASE1",
                  wallet_name: "SENDER",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {
              "FFI_WALLET": WalletFFI {
                  name: "FFI_WALLET",
                  port: 18426,
                  base_dir: "/runner/_work/tari/tari/integration_tests/tests/temp/cucumber_48798/Wallet FFI/As a client I want to send a one-sided transaction/ffi_wallets/FFI_WALLET_port_18426",
                  wallet: Mutex {
                      data: Wallet {
                          ptr: 0x00005574cf1c92e0,
                          liveness_data: Mutex {
                              data: {
                                  "52d1bd2147f2a568bb2af25b7bba9058e23f5a0aa4ed6bbc8e789487ca94953e0d": ContactsLivenessData {
                                      ptr: 0x00007f16cc01fa40,
                                  },
                                  "e832c4f8e548d5272830cbab82242cc46cc15baa38c2b45d001a43a330ee416663": ContactsLivenessData {
                                      ptr: 0x00007f16cc02c430,
                                  },
                              },
                              poisoned: false,
                              ..
                          },
                          balance: CachedBalance {
                              available: 2400000,
                              time_locked: 0,
                              pending_incoming: 1399330,
                              pending_outgoing: 2400000,
                          },
                      },
                      poisoned: false,
                      ..
                  },
              },
          },
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "SENDER": "BASE1",
              "RECEIVER": "BASE1",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {
              "52d1bd2147f2a568bb2af25b7bba9058e23f5a0aa4ed6bbc8e789487ca94953e0d": [
                  5349234317414922286,
                  1357650793327864588,
              ],
              "2c4aba1bd507e95e840f26addb8e5bf1a7f4c0e47f14d2b13c0cd5b8018bf12a40": [
                  5349234317414922286,
                  1357650793327864588,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }

Check failure on line 1 in feature:175:5

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:175:5.Scenario: As a client I want to send a one-sided transaction: tests/features/WalletFFI.feature:175:5

Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
Raw output
Scenario: As a client I want to send a one-sided transaction | Retry attempt: 2/2
     Given I have a seed node SEED
     When I have a base node BASE1 connected to all seed nodes
     When I have wallet SENDER connected to base node BASE1
     And I have a ffi wallet FFI_WALLET connected to base node SEED
     When I have wallet RECEIVER connected to base node BASE1
     When I add contact with alias ALIAS1 and address of SENDER to ffi wallet FFI_WALLET
     When I add contact with alias ALIAS2 and address of RECEIVER to ffi wallet FFI_WALLET
     When I have mining node MINER connected to base node BASE1 and wallet SENDER
     When mining node MINER mines 10 blocks
     Then all nodes are at height 10
     Then I wait for wallet SENDER to have at least 129239250000 uT
     And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
     And I send 2400000 uT from wallet SENDER to wallet FFI_WALLET at fee 5
     Then wallet SENDER has at least 2 transactions that are all TRANSACTION_STATUS_BROADCAST and not cancelled
     Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_BROADCAST
     When mining node MINER mines 10 blocks
     Then all nodes are at height 20
     Then ffi wallet FFI_WALLET detects AT_LEAST 2 ffi transactions to be TRANSACTION_STATUS_MINED
     Then I wait for ffi wallet FFI_WALLET to have at least 4000000 uT
     And I send 1000000 uT from ffi wallet FFI_WALLET to wallet RECEIVER at fee 5 via one-sided transactions
     Then ffi wallet FFI_WALLET detects AT_LEAST 3 ffi transactions to be TRANSACTION_STATUS_BROADCAST
     When mining node MINER mines 2 blocks
     Then all nodes are at height 22
     Then wallet RECEIVER has at least 1 transactions that are all TRANSACTION_STATUS_ONE_SIDED_UNCONFIRMED and not cancelled
      Step failed:
      Defined: tests/features/WalletFFI.feature:205:9
      Matched: integration_tests/tests/steps/wallet_steps.rs:514:1
      Step panicked. Captured output: Wallet RECEIVER failed to have at least num 1 txs with status 8, current status is 0
      Client {
          base_nodes: {},
          blocks: {},
          miners: {
              "MINER": MinerProcess {
                  name: "MINER",
                  base_node_name: "BASE1",
                  wallet_name: "SENDER",
                  mine_until_height: 100000,
                  stealth: false,
              },
          },
          ffi_wallets: {
              "FFI_WALLET": WalletFFI {
                  name: "FFI_WALLET",
                  port: 18213,
                  base_dir: "/runner/_work/tari/tari/integration_tests/tests/temp/cucumber_48798/Wallet FFI/As a client I want to send a one-sided transaction/ffi_wallets/FFI_WALLET_port_18213",
                  wallet: Mutex {
                      data: Wallet {
                          ptr: 0x00005574cf1c8f40,
                          liveness_data: Mutex {
                              data: {
                                  "38e79c3e27ae33a6743de91c3fbc73c2ed40581679ac3fbdd0a42354df1d7d506a": ContactsLivenessData {
                                      ptr: 0x00007f1244084b80,
                                  },
                                  "34655d9a5edbbdd3573185696786aa0d34108951ba18ece3a51c0d6510cb3122fb": ContactsLivenessData {
                                      ptr: 0x00007f102c090eb0,
                                  },
                              },
                              poisoned: false,
                              ..
                          },
                          balance: CachedBalance {
                              available: 2400000,
                              time_locked: 0,
                              pending_incoming: 1399330,
                              pending_outgoing: 2400000,
                          },
                      },
                      poisoned: false,
                      ..
                  },
              },
          },
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {},
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {
              "SENDER": "BASE1",
              "RECEIVER": "BASE1",
          },
          seed_nodes: [
              "SEED",
          ],
          wallet_tx_ids: {
              "38e79c3e27ae33a6743de91c3fbc73c2ed40581679ac3fbdd0a42354df1d7d506a": [
                  5355406024279871504,
                  3662060973632868595,
              ],
              "6623e72ddb4da39fe89568bf2227fb52d183aebdd278d99618b182f43e023f4121": [
                  5355406024279871504,
                  3662060973632868595,
              ],
          },
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }