Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

feat: add integration test #352

Merged
merged 12 commits into from
Dec 20, 2021
Merged

feat: add integration test #352

merged 12 commits into from
Dec 20, 2021

Conversation

fjchen7
Copy link
Contributor

@fjchen7 fjchen7 commented Dec 20, 2021

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@fjchen7 fjchen7 changed the title Feat: add integration test feat: add integration test Dec 20, 2021
@fjchen7 fjchen7 changed the base branch from main to dev December 20, 2021 03:12
@EthanYuan EthanYuan merged commit e8163bb into nervosnetwork:dev Dec 20, 2021
EthanYuan added a commit that referenced this pull request Dec 20, 2021
EthanYuan added a commit to EthanYuan/mercury that referenced this pull request Dec 29, 2021
* chore: Add Github Action for integration test

* chore: init integration test files

* feat: Add get_block_info integration test cases

* feat: Add get_mercury_info integration test cases

* feat: Add get_db_info integration test cases

* feat: Add get_sync_state integration test cases

* feat: Add get_spent_transaction integration test cases

* feat: Add get_transaction_info integration test cases

* feat: Add get_balance integration test cases

Co-authored-by: Eason Gao <[email protected]>
Co-authored-by: Chengxing Yuan <[email protected]>
EthanYuan added a commit that referenced this pull request Dec 29, 2021
* feat: support recycling all ACP cells (#350)

* feat: add integration test (#352)

* chore: Add Github Action for integration test

* chore: init integration test files

* feat: Add get_block_info integration test cases

* feat: Add get_mercury_info integration test cases

* feat: Add get_db_info integration test cases

* feat: Add get_sync_state integration test cases

* feat: Add get_spent_transaction integration test cases

* feat: Add get_transaction_info integration test cases

* feat: Add get_balance integration test cases

Co-authored-by: Eason Gao <[email protected]>
Co-authored-by: Chengxing Yuan <[email protected]>

* perf: support pagination in `get_live_cells_by_item` (#351)

* style: remove deprecated methods

* perf: support pagination in `get_live_cells_by_item`

A new config item `pool_cache_size` was added to specify the limit of
cells querying.

* chore: update lib version of rbatis and jsonrpsee. (#353)

* cargo update rbatis.

* update dep lib jsonrpsee

* replace bson2 with rbson

* fix(rpc): query_transactions limt semantic error (#354)

* add tests for cursor.

* fix readme typos.

* fix fetch_distinct_tx_hashes sql.

* enable return_count for query_transactions.

* fix(rpc): get_balance return error when pass record (#355)

* fix(rpc): get_balance return null when record id encoded based on short address.

* fix get_live_cells did not filter out point when tip_block_number specified.

* fix filter in query_live_cells .

* chore: Add Github Action for integration test (#356)

* feat: Add get_balance_ok_identity_multiple_assets test cases

* feat: Add get_balance_fail_block_hash_and_number test cases

* feat: Add query_transactions integration test cases

* feat: Add get_cells integration test cases

* feat: Initial rust integration test structure

* feat: Rewrite get_db integration test cases in rust

* feat: Rewrite get_mercury_info integration test cases in rust

* feat: Rewrite get_bloick_info integration test cases in rust

* feat: Rewrite get_sync_state integration test cases in rust

* feat: Rewrite get_transaction_info integration test cases in rust

* feat: Rewrite get_spent_transaction integration test cases in rust

* feat: Rewrite get_balance integration test cases in rust

* refactor: optimize test code style

* feat: Add build_transfer_transaction integration test cases

* feat: Add build_adjust_account_transaction integration test cases

* feat: Add build_simple_tranfer_transaction integration test cases

* feat: Add query_transactions integration test cases

* feat: Add build_dao_deposit_transaction integration test cases

* feat: Add build_dao_withdraw_transaction integration test cases

* feat: refine function check_amount

* feat: replace with assert_eq! in array len comparison

* feat: pass mercury test host via environment variable

* feat: remove hurl integration test cases

* feat: run cargo test in github action

* feat: supress cargo warning

* fix(rpc): query_transaction with record item (#357)

* fix(rpc): query_transaction with record item

* fix unit test.

* chore: fix integration test cases (#358)

* fix test case: test_query_by_record.

* fmt code.

* fix test case: test_query_by_pagination_cursor.

* fix case: test_query_by_identity_udt.

* fix test case: test_query_by_identity_ckb.

* fix(db): build_next_cursor error when order is desc (#359)

* chore: release v0.2.2 (#360)

Co-authored-by: Eason Gao <[email protected]>
Co-authored-by: Hanssen <[email protected]>
Co-authored-by: fjchen7 <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants