Stёpa Dolgorukov
c1264169cc
Coretests: implement "tx_pool_semantic_validation" test ( #462 )
2024-09-28 03:17:36 +02:00
sowle
8758f6dc79
utils: parse_client_version, parse_client_version_build_number() implemented + unit tests stub
2024-09-25 04:03:57 +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
82403dba51
coretests: eth_signed_asset_basics fixed and then greatly improved
2024-09-24 01:34:08 +02:00
sowle
f0891a36e8
minor improvements
2024-09-24 01:24:42 +02:00
sowle
c117a76a04
upstream changes
2024-09-23 14:33:22 +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
ef5c1f9c03
coretests: gcc compilation fixed
2024-09-23 06:15:23 +02:00
sowle
7c781ca0ff
chaingen: eth_signed_asset_via_rpc test added
2024-09-23 05:40:16 +02:00
sowle
e737bf5e02
chaingen: check_balance_via_wallet() various improvements
2024-09-23 05:39:40 +02:00
sowle
9d213b19b1
construct_miner_tx() doesn't clear result tx anymore, allowing to pass additional data in extra
2024-09-17 17:59:37 +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
sowle
ab73f0d19f
coretests: asset_operation_and_hardfork_checks test fixed
2024-09-11 22:36:54 +02:00
cryptozoidberg
8904cc20c4
fixed serialization test
2024-09-10 18:49:19 +04:00
Stёpa Dolgorukov
dc76fb9051
unit_tests: fixes for multiassets.get_or_calculate_asset_id_*
...
* Create multiassets test
* Correct an indentation
* Remove unnecessary assertions in cases of ASSET_DESCRIPTOR_OPERATION_UNDEFINED
* Correctly specify a string that represents the serialized object
2024-09-07 02:12:44 +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
Stёpa Dolgorukov
0d3e90f4a5
coretests: asset_operation_and_hardfork_checks test added
2024-09-02 21:26:39 +02:00
sowle
47a1bd985d
unit_tests: fix for a gcc warning
2024-08-20 18:27:17 +02:00
Stёpa Dolgorukov
443386489c
unit tests: wallet_seed.{timestamp_from_word, word_from_timestamp} added + typo fixed ( #450 )
...
* Create wallet_seed.{timestamp_from_word, word_from_timestamp} tests
* Rename functions that convert a word to a timestamp, a timestamp to a word
* Make an implementation of the test in the source code shorter
2024-08-20 17:23:21 +02:00
Stёpa Dolgorukov
9e6faffb49
Create multiassets test ( #449 )
2024-08-19 12:13:56 +02:00
cryptozoidberg
820d5a88ac
test data for new forkchoice rule generated(fork_choice_rule_test.fork_choice_rule_test_hf4)
2024-08-08 21:04:52 +04:00
sowle
896eadd77b
coretests: eth_signed_asset_basics test added
2024-08-02 12:35:46 +02:00
sowle
fa4a2680f9
minor improvements for init_playtime_test_wallet_t()
2024-08-02 12:31:33 +02:00
sowle
65af445ebb
Merge branch 'develop' into secp256k1
2024-08-02 11:56:53 +02:00
Stёpa Dolgorukov
a1a53012fb
Implement xtype_from_string tests for types int16_t, int32_t, int64_t ( #447 )
...
* Change macros for creating test names
* Add test for values of types int{16,32,64}_t
---------
Co-authored-by: sowle <crypto.sowle@gmail.com>
2024-08-01 23:10:19 +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
sowle
ef28b3ab71
Merge branch 'develop' into secp256k1
2024-07-26 12:10:57 +02:00
cryptozoidberg
12c5a0237b
fixed asset_emission_and_unconfirmed_balance
2024-07-24 23:49:00 +04:00
sowle
3cb471c46c
Merge branch 'develop' into secp256k1
2024-07-15 21:41:12 +02:00
sowle
7c3d21e31f
coretests: minor fixes (gcc)
2024-07-13 00:31:49 +02: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
2582159a26
coretests: added ability to run "true" HTTP-RPC wallet tests via localhost connections
2024-07-11 22:09:55 +02:00
sowle
cdb9dd2f1f
unit tests: added a test for print_money_brief
2024-07-07 20:35:03 +02:00
sowle
039b6674c4
coretests: asset_emission_and_unconfirmed_balance test added
2024-07-06 21:57:38 +02:00
sowle
b6e84b460e
added decimal point support to currency::parse_amount() + minor refactoring
2024-07-02 20:49:51 +02:00
sowle
d7cf27033c
forgotten include
2024-07-02 13:16:30 +02:00
sowle
f05d14a944
crypto: basic eth signature implementation + functional test
2024-07-02 13:15:48 +02:00
sowle
8f25f0d460
bitcoin-secp256k1 submodule added + native crypto test
2024-06-26 21:15:44 +02:00
sowle
da5c484025
functional_tests/crypto_tests: all performance tests now have prefix "perf", all normal tests with "crypto" prefix will be run regularly since now
2024-06-26 17:30:55 +02:00
sowle
cee6e51cbb
unit_tests: tx_signatures_packing.1 fixed
2024-06-26 15:35:52 +02:00
sowle
d4d3ea1d23
unit_tests: p2p_client_version_test_1 fixed
2024-06-26 14:56:37 +02:00
sowle
5e8cfb9ee3
coretests: hard_fork_2_incorrect_alias_update fixed due to change in logic of wallet2::request_alias_update()
2024-06-25 14:41:36 +02:00
cryptozoidberg
cdd435f042
added update alias api + coretest
2024-06-14 15:08:56 +02:00
cryptozoidberg
47e10e7209
added new api to update alias
2024-06-06 21:24:31 +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
7da72fcc89
chaingen: pos_block_builder adapted for HF4 and now can generate correct Zarcanum PoS blocks
2024-06-01 21:15:42 +02:00
sowle
66f2761f67
chaingen: find_global_index_for_output, generate_pos_block_with_given_coinstake adapted for HF4; decode_output_amount_and_asset_id, decode_native_output_amount_or_throw added
2024-06-01 21:12:26 +02:00
sowle
fdc8bf19e0
gcc compilation fix
2024-05-31 16:05:52 +02:00