sowle
ca9a8f95de
Merge branch 'develop' into txhfid
2025-02-03 18:29:45 +01:00
Stёpa Dolgorukov
1087be7b0a
coretests: implement the tests "block_reward_in_main_chain_basic", "block_reward_in_alt_chain_basic" ( #493 )
...
* Core tests: implement tests "block_reward_in_main_chain_basic", "block_reward_in_alt_chain_basic"
* Use an automatic variable type deduction
* Call "assert_reward" callback before the callback "assert_balance"
* Update comments for the test "block_reward_in_alt_chain_basic"
2025-01-21 01:12:44 +01:00
Stёpa Dolgorukov
dcd7f62968
coretests: Fix an execution of the core test "fill_tx_rpc_inputs", rename callbacks ( #498 )
...
* Core tests: implement a test of the function "blockchain_storage::fill_tx_rpc_inputs"
* Fix test execution when compiling via gcc 8.4.0
* Rename callbacks in the test "fill_tx_rpc_inputs"
2025-01-20 04:21:27 +01:00
sowle
23723ca05e
Merge branch 'develop' into txhfid
2024-12-28 15:21:21 +01:00
sowle
13b09ee914
coretests: fill_tx_rpc_inputs temporarily disabled
2024-12-28 15:17:32 +01:00
sowle
8e2c70de93
Merge branch 'develop' into txhfid
2024-12-24 22:16:36 +01:00
Stёpa Dolgorukov
eda0472f1e
coretests: implemented a test for the function "blockchain_storage::fill_tx_rpc_inputs" ( #486 )
2024-12-13 23:10:34 +01:00
sowle
b9557dd70e
chaingen: run-single-test made more specific (exact match is now required)
2024-12-09 23:31:39 +01:00
Stёpa Dolgorukov
18c17e48b1
coretests: implemented test "input_refers_to_incompatible_by_type_output" ( #480 )
2024-12-09 17:34:28 +01:00
Stёpa Dolgorukov
9e3ece1818
coretests: implemented the test "block_with_correct_prev_id_on_wrong_height" ( #479 )
2024-12-09 17:32:41 +01:00
sowle
13f524defb
tx hardfork id: wip (basic structures, miner tx creation adapted, tests adapted almost all + hard_fork_5_tx_version)
2024-12-06 05:39:18 +01:00
sowle
5ae9b2038e
coretests: several_asset_emit_burn_txs_in_pool test improved and enabled
2024-10-23 23:45:19 +02:00
sowle
ecc6cc4605
coretests: several_asset_emit_burn_txs_in_pool test added
2024-10-21 12:39:33 +02:00
Stёpa Dolgorukov
b836742f66
coretests: improve of the test "tx_pool_semantic_validation" ( #465 )
...
* Coretests: implement the test "tx_pool_semantic_validation"
* Play the test "tx_pool_semantic_validation" on the HF 3
* Delete an extra space after the ":"
* Remove an extra adding of objects to the transaction
* Create the input objects of the specified type in the "unsupported input type" case
* Modify the function bodies "inputs_sum", "outputs_sum" to be short
* Remove adding output to the transaction in the cases "inputs amount overflow", "two entries of the same type in extra"
* Get rid of use the object "image" of the type key_image in the case "equal key images in inputs"
2024-10-15 02:30:05 +02:00
sowle
d92a54045b
Merge branch 'develop' into concise
2024-10-10 19:11:50 +02:00
sowle
e58b20ae5b
coretests: test asset_current_and_total_supplies_comparative_constraints was temporary disabled
2024-10-10 19:11:30 +02:00
sowle
3a6e0c0f2f
Merge branch 'develop' into concise
...
# Conflicts:
# src/wallet/wallet2.cpp
# src/wallet/wallet2_base.h
2024-10-09 01:03:02 +02:00
Stёpa Dolgorukov
3daaad6d43
coretests: implemented test "asset_current_and_total_supplies_comparative_constraints" ( #464 )
2024-10-08 17:30:23 +02:00
Stёpa Dolgorukov
c1264169cc
Coretests: implement "tx_pool_semantic_validation" test ( #462 )
2024-09-28 03:17:36 +02:00
sowle
8c9582d0f7
coretests: eth_signed_asset_basics, eth_signed_asset_via_rpc made HF5-only
2024-09-24 16:00:25 +02:00
sowle
f0891a36e8
minor improvements
2024-09-24 01:24:42 +02:00
sowle
08281059fb
Merge branch 'develop' into secp256k1
...
# Conflicts:
# src/gui/qt-daemon/layout
# src/simplewallet/simplewallet.cpp
# src/version.h.in
# tests/core_tests/chaingen_main.cpp
# tests/core_tests/multiassets_test.cpp
# tests/core_tests/multiassets_test.h
# tests/unit_tests/multiassets_test.cpp
2024-09-23 14:24:00 +02:00
sowle
7c781ca0ff
chaingen: eth_signed_asset_via_rpc test added
2024-09-23 05:40:16 +02:00
Stёpa Dolgorukov
35427f8381
coretests: alt_chain_and_block_tx_fee_median test ( #456 )
...
* coretests: alt_chain_and_block_tx_fee_median test
* Run test "alt_chain_and_block_tx_fee_median" on run core tests
* Edit the test preamble
2024-09-16 22:13:49 +02:00
Stёpa Dolgorukov
9d10050325
coretests: asset_operation_in_consolidated_tx test added ( #459 )
...
* coretests: Implement "asset_operation_in_consolidated_tx" test
* Define "construct_tx" overload with a generation context argument
---------
Co-authored-by: crypto.sowle <crypto.sowle@gmail.com>
2024-09-12 22:29:09 +02:00
Stёpa Dolgorukov
d74a04d6df
coretests: asset_operation_and_hardfork_checks test added
...
* Implement "asset_operation_and_hardfork_checks" test
* Run "asset_operation_and_hardfork_checks" test on core tests run
2024-09-06 13:57:14 +02:00
cryptozoidberg
9c2e2bb0f8
multiple fixes
2024-09-04 23:04:44 +04:00
sowle
896eadd77b
coretests: eth_signed_asset_basics test added
2024-08-02 12:35:46 +02:00
sowle
168281f862
coretests: tx_version_against_hardfork test added (not working yet due to few issues left intentionally)
2024-08-01 01:39:13 +02:00
cryptozoidberg
12c5a0237b
fixed asset_emission_and_unconfirmed_balance
2024-07-24 23:49:00 +04:00
sowle
7d442b4c9a
coretests: gen_wallet_mine_pos_block adapted for HF4
2024-07-12 02:17:54 +02:00
sowle
567700635c
coretests: wallet_true_rpc_pos_mining test added
2024-07-11 22:10:37 +02:00
sowle
039b6674c4
coretests: asset_emission_and_unconfirmed_balance test added
2024-07-06 21:57:38 +02:00
cryptozoidberg
cdd435f042
added update alias api + coretest
2024-06-14 15:08:56 +02:00
sowle
66fd58b8ee
coretests: many altchain tests adapted for post-HF4:
...
pos_altblocks_validation
chain_switching_when_gindex_spent_in_both_chains
alt_blocks_validation_and_same_new_amount_in_two_txs
alt_blocks_with_the_same_txs
chain_switching_when_out_spent_in_alt_chain_mixin
chain_switching_when_out_spent_in_alt_chain_ref_id
2024-06-01 21:20:58 +02:00
sowle
fdc8bf19e0
gcc compilation fix
2024-05-31 16:05:52 +02:00
sowle
c92ca6fb93
chaingen: --run-single-test now accepts specific HF, e.g.: --run-single-test=test_name@4
2024-05-31 15:51:42 +02:00
cryptozoidberg
10c451f3b7
Added PoS grinding attack fuse
2024-05-13 16:51:13 +04:00
sowle
f7aab6f332
coretests: restored forgotten multisig_n_participants_seq_signing test
2024-05-04 03:18:40 +02:00
sowle
e38dfc1472
coretests: hardfork_4_pop_tx_from_global_index test added to cover uncovered areas in pop_transaction_from_global_index()
2024-05-04 02:35:51 +02:00
sowle
021fbb7d37
coretests: added test hardfork_4_wallet_sweep_bare_outs which exposes a bug in sweep_bare_outs() where it fails if there's not enough decoys
2024-04-09 21:43:13 +02:00
sowle
92c6a9d51d
coretests: hardfork_4_wallet_transfer_with_mandatory_mixins test added, exposing a bug where a wallet cannot spend coins before a specific sync process was done
2024-04-05 13:56:24 +02:00
sowle
f4da18cc3f
Merge branch 'master' into develop
...
# Conflicts:
# src/currency_core/tx_pool.cpp
2024-03-27 23:52:24 +01:00
cryptozoidberg
320816fd99
added test for getblocktemplate
2024-03-27 19:10:26 +01:00
sowle
c5a55f1e85
coretests: hard_fork_4_consolidated_txs test finished, now it also checks derivation hints for normal and consolidated txs before and after HF4
2024-03-13 21:30:43 +01:00
sowle
9d67f8aedf
coretests: test wallet_and_sweep_below added
2024-02-22 17:47:50 +01:00
cryptozoidberg
c4be6e120a
adaptation of zarcanum era codebase to pre_zarcanum api(for backward compatibility with exchanges)
2024-02-15 06:14:51 +04:00
cryptozoidberg
dcdffce051
legacy api test in mainnet master
2024-02-15 06:14:51 +04:00
cryptozoidberg
65dc4be419
packing_outputs_on_pos_minting_wallet disabled for hardfork 4
2024-02-04 11:48:07 +01:00
cryptozoidberg
ca9f44967d
fixed very dumb bug with cheching minimum coinage condition + fixed test for auditable wallet against the hardfork 4
2024-01-28 19:30:36 +01:00