Skip to content

feat: changes for the randomx miner (#6537) #1671

feat: changes for the randomx miner (#6537)

feat: changes for the randomx miner (#6537) #1671

GitHub Actions / JUnit Test Report failed Sep 9, 2024 in 0s

37 tests run, 36 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in feature:8:3

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

feature:8:3.Scenario: Transactions are propagated through a network: tests/features/Mempool.feature:8:3

Step panicked. Captured output: base nodes not successfully synchronized at height 3, {"seed_node_0": 3, "seed_node_1": 3, "seed_node_2": 3, "seed_node_3": 0, "seed_node_4": 3, "seed_node_5": 3, "seed_node_6": 3, "seed_node_7": 3, "SENDER": 3, "Node_0": 3, "Node_1": 3, "Node_2": 3, "Node_3": 3, "Node_4": 3, "Node_5": 3, "Node_6": 3, "Node_7": 3}
Raw output
Scenario: Transactions are propagated through a network
     Given I have 8 seed nodes
     When I have a base node SENDER connected to all seed nodes
     When I have 8 base nodes connected to all seed nodes
     When I mine a block on SENDER with coinbase CB1
     When I mine 2 blocks on SENDER
     Then all nodes are at height 3
      Step failed:
      Defined: tests/features/Mempool.feature:18:5
      Matched: integration_tests/tests/steps/node_steps.rs:180:1
      Step panicked. Captured output: base nodes not successfully synchronized at height 3, {"seed_node_0": 3, "seed_node_1": 3, "seed_node_2": 3, "seed_node_3": 0, "seed_node_4": 3, "seed_node_5": 3, "seed_node_6": 3, "seed_node_7": 3, "SENDER": 3, "Node_0": 3, "Node_1": 3, "Node_2": 3, "Node_3": 3, "Node_4": 3, "Node_5": 3, "Node_6": 3, "Node_7": 3}
      Client {
          base_nodes: {},
          blocks: {},
          miners: {},
          ffi_wallets: {},
          wallets: {},
          merge_mining_proxies: {},
          chat_clients: [],
          transactions: {},
          wallet_addresses: {},
          utxos: {
              "CB1": KeyManagerOutput {
                  version: V0,
                  value: MicroMinotari(
                      18462816327,
                  ),
                  spending_key_id: Imported {
                      key: 7a3f9568ed491783667125a817e247beb26f0afe6af6cd641ae804521d8b0e47,
                  },
                  features: OutputFeatures {
                      version: V0,
                      output_type: Coinbase,
                      maturity: 3,
                      coinbase_extra: MaxSizeBytes {
                          inner: [],
                      },
                      sidechain_feature: None,
                      range_proof_type: BulletProofPlus,
                  },
                  script: TariScript {
                      script: MaxSizeVec {
                          vec: [
                              PushPubKey(
                                  2a9fe859f232a17b1dcfd79039c2d563fed8153646056235303be32f438a677c,
                              ),
                          ],
                          _marker: PhantomData<tari_script::op_codes::Opcode>,
                      },
                  },
                  covenant: Covenant {
                      tokens: MaxSizeVec {
                          vec: [],
                          _marker: PhantomData<tari_core::covenants::token::CovenantToken>,
                      },
                  },
                  input_data: ExecutionStack {
                      items: [],
                  },
                  script_private_key_id: Imported {
                      key: 2a9fe859f232a17b1dcfd79039c2d563fed8153646056235303be32f438a677c,
                  },
                  sender_offset_public_key: ae549cd49bc467d35ba745897a3eac483c7e45ee6b28c0dc4f7dbbde7966c827,
                  metadata_signature: CommitmentAndPublicKeySignature {
                      ephemeral_commitment: HomomorphicCommitment(
                          54a7e4b9c0745c4efa85d6726e5f7ab75b48a0ac76d9dd5bca7fa03f13f4be58,
                      ),
                      ephemeral_pubkey: 0c4cd2d45695fc911e1313bc0e798be042fda4409e5e6e4ea174613c844ec539,
                      u_a: RistrettoSecretKey(***),
                      u_x: RistrettoSecretKey(***),
                      u_y: RistrettoSecretKey(***),
                  },
                  script_lock_height: 0,
                  encrypted_data: EncryptedData {
                      data: MaxSizeBytes {
                          inner: [
                              71,
                              67,
                              70,
                              251,
                              69,
                              114,
                              241,
                              245,
                              83,
                              135,
                              68,
                              113,
                              59,
                              252,
                              133,
                              103,
                              64,
                              115,
                              155,
                              46,
                              194,
                              150,
                              11,
                              178,
                              193,
                              219,
                              12,
                              232,
                              254,
                              191,
                              239,
                              146,
                              238,
                              248,
                              197,
                              94,
                              181,
                              249,
                              169,
                              210,
                              192,
                              61,
                              44,
                              177,
                              240,
                              61,
                              225,
                              147,
                              77,
                              77,
                              165,
                              235,
                              127,
                              16,
                              39,
                              181,
                              48,
                              106,
                              228,
                              233,
                              109,
                              219,
                              50,
                              93,
                              230,
                              99,
                              26,
                              250,
                              55,
                              231,
                              195,
                              245,
                              174,
                              206,
                              159,
                              110,
                              38,
                              34,
                              234,
                              244,
                          ],
                      },
                  },
                  minimum_value_promise: MicroMinotari(
                      0,
                  ),
              },
          },
          output_hash: None,
          pre_image: None,
          wallet_connected_to_base_node: {},
          seed_nodes: [
              "seed_node_0",
              "seed_node_1",
              "seed_node_2",
              "seed_node_3",
              "seed_node_4",
              "seed_node_5",
              "seed_node_6",
              "seed_node_7",
          ],
          wallet_tx_ids: {},
          errors: [],
          last_imported_tx_ids: [],
          last_merge_miner_response: Null,
      }