Skip to content

fix(consensus)!: substate pledges #81

fix(consensus)!: substate pledges

fix(consensus)!: substate pledges #81

GitHub Actions / Test Results (CI) failed Aug 19, 2024 in 0s

2 fail, 200 pass in 1h 28m 36s

202 tests  +35   200 ✅ +34   1h 28m 36s ⏱️ - 3m 50s
 28 suites + 5     0 💤 ± 0 
  1 files   ± 0     2 ❌ + 1 

Results for commit a0c46ce. ± Comparison against earlier commit 020d4a5.

Annotations

Check warning on line 0 in tari_dan_storage_sqlite::global_db

See this annotation in the file changed.

@github-actions github-actions / Test Results (CI)

insert_and_get_within_epoch (tari_dan_storage_sqlite::global_db) failed

artifacts/test-results/junit.xml [took 0s]
Raw output
thread 'insert_and_get_within_epoch' panicked at dan_layer/storage_sqlite/tests/global_db.rs:27:56:
called `Result::unwrap()` on an `Err` value: FixedHashSizeError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

running 1 test
test insert_and_get_within_epoch ... FAILED

failures:

failures:
    insert_and_get_within_epoch

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.02s
thread 'insert_and_get_within_epoch' panicked at dan_layer/storage_sqlite/tests/global_db.rs:27:56:
called `Result::unwrap()` on an `Err` value: FixedHashSizeError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Check warning on line 0 in tari_dan_storage_sqlite::global_db

See this annotation in the file changed.

@github-actions github-actions / Test Results (CI)

change_committee_bucket (tari_dan_storage_sqlite::global_db) failed

artifacts/test-results/junit.xml [took 0s]
Raw output
thread 'change_committee_bucket' panicked at dan_layer/storage_sqlite/tests/global_db.rs:27:56:
called `Result::unwrap()` on an `Err` value: FixedHashSizeError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

running 1 test
test change_committee_bucket ... FAILED

failures:

failures:
    change_committee_bucket

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.02s
thread 'change_committee_bucket' panicked at dan_layer/storage_sqlite/tests/global_db.rs:27:56:
called `Result::unwrap()` on an `Err` value: FixedHashSizeError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results (CI)

202 tests found

There are 202 tests, see "Raw output" for the full list of tests.
Raw output
consensus_tests ‑ consensus::epoch_change
consensus_tests ‑ consensus::foreign_shard_decides_to_abort
consensus_tests ‑ consensus::leader_failure_node_goes_down
consensus_tests ‑ consensus::multi_shard_propose_blocks_with_new_transactions_until_all_committed
consensus_tests ‑ consensus::multi_shard_single_transaction
consensus_tests ‑ consensus::multi_validator_propose_blocks_with_new_transactions_until_all_committed
consensus_tests ‑ consensus::multishard_inputs_from_previous_outputs
consensus_tests ‑ consensus::multishard_local_inputs_foreign_outputs
consensus_tests ‑ consensus::multishard_output_conflict_abort
consensus_tests ‑ consensus::node_requests_missing_transaction_from_local_leader
consensus_tests ‑ consensus::propose_blocks_with_new_transactions_until_all_committed
consensus_tests ‑ consensus::propose_blocks_with_queued_up_transactions_until_all_committed
consensus_tests ‑ consensus::single_shard_input_conflict
consensus_tests ‑ consensus::single_shard_inputs_from_previous_outputs
consensus_tests ‑ consensus::single_shard_unversioned_inputs
consensus_tests ‑ consensus::single_transaction
consensus_tests ‑ consensus::single_transaction_abort
consensus_tests ‑ substate_store::it_allows_down_then_up
consensus_tests ‑ substate_store::it_allows_locks_within_one_transaction
consensus_tests ‑ substate_store::it_allows_substate_up_for_v0
consensus_tests ‑ substate_store::it_disallows_more_than_one_write_lock_non_local_only
consensus_tests ‑ substate_store::it_fails_if_previous_version_is_not_down
libp2p-messaging ‑ behaviour::tests::cycle_once_works
tari_base_node_client ‑ types::export_bindings_baselayervalidatornode
tari_bor ‑ json_encoding::tests::decode_encode
tari_bor ‑ tag::tests::decoding
tari_bor ‑ tag::tests::encoding
tari_dan_app_utilities ‑ json_encoding::tests::it_encodes_confidential_vaults
tari_dan_common_types ‑ committee::export_bindings_committee
tari_dan_common_types ‑ committee::export_bindings_committeeinfo
tari_dan_common_types ‑ committee::export_bindings_committeeshardinfo
tari_dan_common_types ‑ committee::export_bindings_networkcommitteeinfo
tari_dan_common_types ‑ committee::tests::select_n_starting_from::it_does_not_panic_empty_committee
tari_dan_common_types ‑ committee::tests::select_n_starting_from::it_selects_members_wrapping_around
tari_dan_common_types ‑ committee::tests::select_n_starting_from::it_wraps_around_once
tari_dan_common_types ‑ committee::tests::select_n_starting_from::it_wraps_the_start_index_around
tari_dan_common_types ‑ epoch::export_bindings_epoch
tari_dan_common_types ‑ node_height::export_bindings_nodeheight
tari_dan_common_types ‑ num_preshards::export_bindings_numpreshards
tari_dan_common_types ‑ peer_address::export_bindings_peeraddress
tari_dan_common_types ‑ peer_address::tests::check_conversions
tari_dan_common_types ‑ peer_address::tests::zero
tari_dan_common_types ‑ shard::export_bindings_shard
tari_dan_common_types ‑ shard::test::committee_is_properly_computed
tari_dan_common_types ‑ shard_group::export_bindings_shardgroup
tari_dan_common_types ‑ shard_group::tests::encode_decode
tari_dan_common_types ‑ shard_group::tests::to_substate_address_range
tari_dan_common_types ‑ substate_address::export_bindings_substateaddress
tari_dan_common_types ‑ substate_address::tests::max_committees
tari_dan_common_types ‑ substate_address::tests::shard_group_to_substate_address_range::it_works
tari_dan_common_types ‑ substate_address::tests::substate_addresses_to_from_u256_endianness_matches
tari_dan_common_types ‑ substate_address::tests::to_committee_shard_and_shard_range_match
tari_dan_common_types ‑ substate_address::tests::to_shard
tari_dan_common_types ‑ substate_address::tests::to_shard_group::it_returns_the_correct_shard_group
tari_dan_common_types ‑ substate_address::tests::to_shard_group::it_returns_the_correct_shard_group_for_odd_num_committees
tari_dan_common_types ‑ substate_address::tests::to_shard_group::it_returns_the_correct_shard_group_generic
tari_dan_common_types ‑ substate_type::export_bindings_substatetype
tari_dan_common_types ‑ uint::tests::u256_one
tari_dan_engine ‑ runtime::workspace::tests::tuples
tari_dan_engine ‑ state_store::memory::tests::read_write
tari_dan_engine ‑ state_store::memory::tests::read_write_rollback_commit
tari_dan_engine ‑ wasm::version::tests::it_accepts_compatible_versions
tari_dan_engine ‑ wasm::version::tests::it_rejects_incompatible_versions
tari_dan_engine::access_rules ‑ component_access_rules::it_allows_owner_to_update_component_access_rules
tari_dan_engine::access_rules ‑ component_access_rules::it_prevents_access_rule_modification_if_owner_is_none
tari_dan_engine::access_rules ‑ component_access_rules::it_restricts_component_methods
tari_dan_engine::access_rules ‑ resource_access_rules::it_allows_access_for_proofs_by_amount
tari_dan_engine::access_rules ‑ resource_access_rules::it_allows_resource_access_with_badge_then_recall
tari_dan_engine::access_rules ‑ resource_access_rules::it_allows_resource_actions_if_auth_hook_passes
tari_dan_engine::access_rules ‑ resource_access_rules::it_creates_a_proof_from_bucket
tari_dan_engine::access_rules ‑ resource_access_rules::it_denies_actions_on_resource
tari_dan_engine::access_rules ‑ resource_access_rules::it_denies_recall_for_owner
tari_dan_engine::access_rules ‑ resource_access_rules::it_denies_resource_actions_if_auth_hook_fails
tari_dan_engine::access_rules ‑ resource_access_rules::it_disallows_hook_that_attempts_mutable_call_to_another_component_in_the_transaction
tari_dan_engine::access_rules ‑ resource_access_rules::it_disallows_hook_that_attempts_mutable_call_to_caller
tari_dan_engine::access_rules ‑ resource_access_rules::it_disallows_hook_that_writes_to_caller_component
tari_dan_engine::access_rules ‑ resource_access_rules::it_fails_if_auth_hook_is_invalid
tari_dan_engine::access_rules ‑ resource_access_rules::it_locks_resources_used_in_proofs
tari_dan_engine::access_rules ‑ resource_access_rules::it_permits_cross_template_calls_using_proofs
tari_dan_engine::access_rules ‑ resource_access_rules::it_restricts_resource_actions_to_component
tari_dan_engine::account ‑ attempt_to_overwrite_account
tari_dan_engine::account ‑ basic_faucet_transfer
tari_dan_engine::account ‑ gasless
tari_dan_engine::account ‑ withdraw_from_account_prevented
tari_dan_engine::account_nfts ‑ basic_nft_mint
tari_dan_engine::account_nfts ‑ mint_multiple_times
tari_dan_engine::address_allocation ‑ it_fails_if_allocation_is_not_used
tari_dan_engine::address_allocation ‑ it_uses_allocation_address
tari_dan_engine::airdrop ‑ airdrop
tari_dan_engine::asserts ‑ it_fails_with_invalid_amount
tari_dan_engine::asserts ‑ it_fails_with_invalid_bucket
tari_dan_engine::asserts ‑ it_fails_with_invalid_resource
tari_dan_engine::asserts ‑ it_fails_with_invalid_workspace_key
tari_dan_engine::asserts ‑ successful_assert
tari_dan_engine::composability ‑ it_allows_function_to_function_calls
tari_dan_engine::composability ‑ it_allows_function_to_method_calls
tari_dan_engine::composability ‑ it_allows_method_to_function_calls
tari_dan_engine::composability ‑ it_allows_method_to_method_calls
tari_dan_engine::composability ‑ it_allows_multiple_recursion_levels
tari_dan_engine::composability ‑ it_does_not_propagate_permissions
tari_dan_engine::composability ‑ it_fails_on_invalid_calls
tari_dan_engine::composability ‑ it_fails_when_surpassing_recursion_limit
tari_dan_engine::confidential ‑ attempt_to_reveal_with_unbalanced_proof
tari_dan_engine::confidential ‑ mint_and_transfer_revealed
tari_dan_engine::confidential ‑ mint_initial_commitment
tari_dan_engine::confidential ‑ mint_more_later
tari_dan_engine::confidential ‑ mint_revealed_with_invalid_proof
tari_dan_engine::confidential ‑ mint_with_view_key
tari_dan_engine::confidential ‑ multi_commitment_join
tari_dan_engine::confidential ‑ reveal_confidential_and_transfer
tari_dan_engine::confidential ‑ transfer_confidential_amounts_between_accounts
tari_dan_engine::confidential ‑ transfer_confidential_fails_with_invalid_balance
tari_dan_engine::events ‑ basic_emit_event
tari_dan_engine::events ‑ builtin_vault_events
tari_dan_engine::events ‑ cannot_use_standard_topic
tari_dan_engine::fees ‑ another_account_pays_partially_for_fees
tari_dan_engine::fees ‑ dangling_bucket_pay_fees
tari_dan_engine::fees ‑ deducts_fees_from_payments_and_refunds_the_rest
tari_dan_engine::fees ‑ deducts_fees_when_transaction_fails
tari_dan_engine::fees ‑ deposit_from_faucet_then_pay
tari_dan_engine::fees ‑ fail_partial_paid_fees
tari_dan_engine::fees ‑ fail_pay_less_fees_than_fee_transaction
tari_dan_engine::fees ‑ fail_pay_too_little_no_fee_instruction
tari_dan_engine::fees ‑ failed_fee_transaction
tari_dan_engine::fees ‑ success_pay_fee_in_main_instructions
tari_dan_engine::recall ‑ it_recalls_all_resource_types
tari_dan_engine::reentrancy ‑ it_allows_multiple_immutable_access_to_component
tari_dan_engine::reentrancy ‑ it_prevents_multiple_mutable_access_to_component
tari_dan_engine::reentrancy ‑ it_prevents_read_access_to_mutating_component
tari_dan_engine::reentrancy ‑ it_prevents_reentrant_withdraw
tari_dan_engine::resource ‑ confidential_join
tari_dan_engine::resource ‑ fungible_join
tari_dan_engine::resource ‑ non_fungible_join
tari_dan_engine::shenanigans ‑ it_disallows_calls_on_vaults_that_are_not_owned_by_current_component
tari_dan_engine::shenanigans ‑ it_disallows_minting_different_resource_type
tari_dan_engine::shenanigans ‑ it_disallows_vault_access_if_vault_is_not_owned
tari_dan_engine::shenanigans ‑ it_prevents_access_to_out_of_scope_component
tari_dan_engine::shenanigans ‑ it_prevents_access_to_vault_id_in_component_context
tari_dan_engine::shenanigans ‑ it_rejects_dangling_resources
tari_dan_engine::shenanigans ‑ it_rejects_dangling_vault_that_has_been_returned
tari_dan_engine::shenanigans ‑ it_rejects_dangling_vaults_in_component
tari_dan_engine::shenanigans ‑ it_rejects_dangling_vaults_in_constructor
tari_dan_engine::shenanigans ‑ it_rejects_double_ownership_of_vault
tari_dan_engine::shenanigans ‑ it_rejects_references_to_buckets_that_arent_in_scope
tari_dan_engine::shenanigans ‑ it_rejects_unknown_substate_addresses
tari_dan_engine::tariswap ‑ tariswap
tari_dan_engine::test ‑ basic_nft::burn_nft
tari_dan_engine::test ‑ basic_nft::change_nft_mutable_data
tari_dan_engine::test ‑ basic_nft::create_resource_mint_and_deposit
tari_dan_engine::test ‑ basic_nft::get_non_fungibles_from_containers
tari_dan_engine::test ‑ basic_nft::mint_specific_id
tari_dan_engine::test ‑ consensus::current_epoch
tari_dan_engine::test ‑ emoji_id::mint_emoji_ids
tari_dan_engine::test ‑ errors::invalid_args
tari_dan_engine::test ‑ errors::panic
tari_dan_engine::test ‑ fungible::fungible_mint_and_burn
tari_dan_engine::test ‑ nft_indexes::new_nft_index
tari_dan_engine::test ‑ state_create_multiple_in_one_call
tari_dan_engine::test ‑ test_buggy_template
tari_dan_engine::test ‑ test_builtin_templates
tari_dan_engine::test ‑ test_caller_context
tari_dan_engine::test ‑ test_composed
tari_dan_engine::test ‑ test_engine_errors
tari_dan_engine::test ‑ test_errors_on_infinite_loop
tari_dan_engine::test ‑ test_get_template_address
tari_dan_engine::test ‑ test_hello_world
tari_dan_engine::test ‑ test_private_function
tari_dan_engine::test ‑ test_random
tari_dan_engine::test ‑ test_state
tari_dan_engine::test ‑ test_tuples
tari_dan_engine::test ‑ tickets::buy_and_redeem_ticket
tari_dan_storage ‑ consensus_models::block::export_bindings_block
tari_dan_storage ‑ consensus_models::command::export_bindings_command
tari_dan_storage ‑ consensus_models::command::export_bindings_evidence
tari_dan_storage ‑ consensus_models::command::export_bindings_shardevidence
tari_dan_storage ‑ consensus_models::command::export_bindings_transactionatom
tari_dan_storage ‑ consensus_models::executed_transaction::export_bindings_executedtransaction
tari_dan_storage ‑ consensus_models::executed_transaction::export_bindings_versionedsubstateidlockintent
tari_dan_storage ‑ consensus_models::foreign_proposal::export_bindings_foreignproposal
tari_dan_storage ‑ consensus_models::foreign_proposal::export_bindings_foreignproposalstate
tari_dan_storage ‑ consensus_models::leader_fee::export_bindings_leaderfee
tari_dan_storage ‑ consensus_models::quorum::export_bindings_quorumdecision
tari_dan_storage ‑ consensus_models::quorum_certificate::export_bindings_quorumcertificate
tari_dan_storage ‑ consensus_models::state_transition::tests::to_and_from_bytes
tari_dan_storage ‑ consensus_models::substate::export_bindings_substatedestroyed
tari_dan_storage ‑ consensus_models::substate::export_bindings_substatelocktype
tari_dan_storage ‑ consensus_models::substate::export_bindings_substaterecord
tari_dan_storage ‑ consensus_models::transaction_decision::export_bindings_decision
tari_dan_storage ‑ consensus_models::transaction_pool::export_bindings_transactionpoolrecord
tari_dan_storage ‑ consensus_models::transaction_pool::export_bindings_transactionpoolstage
tari_dan_storage ‑ consensus_models::transaction_pool::tests::calculate_leader_fee::it_calculates_the_correct_leader_fee
tari_dan_storage ‑ consensus_models::transaction_pool::tests::calculate_leader_fee::simple_fuzz
tari_dan_storage ‑ consensus_models::transaction_pool::tests::ordering::it_is_ordered_correctly
tari_dan_storage ‑ consensus_models::vote_signature::export_bindings_validatorsignature
tari_dan_storage ‑ state_store::export_bindings_ordering
tari_dan_storage_lmdb ‑ engine_state_store::tests::read_write_rollback_commit
tari_dan_storage_sqlite::global_db ‑ change_committee_bucket
tari_dan_storage_sqlite::global_db ‑ insert_and_get_within_epoch
tari_dan_wallet_cli ‑ table::test::renders_rows_with_titles
tari_dan_wallet_cli ‑ table::test::renders_titles
tari_dan_wallet_crypto ‑ proof::tests::confidential_proof::it_is_invalid_if_minimum_value_changed
tari_dan_wallet_crypto ‑ proof::tests::confidential_proof::it_is_valid_if_proof_is_valid