Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publication_rewards_tests updated to support chaindb #187

Merged
merged 3 commits into from Nov 6, 2018

Conversation

zxcat
Copy link
Contributor

@zxcat zxcat commented Nov 6, 2018

resolves #181

1. golos_tester "domain/symbol" no more used and moved to test_apis
2. `get_all_chaindb_rows` added to `golos_tester`
3. `unlock_limit` and `get_vesting` added to vesting test api
4. publication_rewards_tests updated to use chaindb and test_apis
    + use `install_contract` instead of `set_code`
    + use `cfg::` values instead of hardcode
    + use `BOOST_CHECK_XXX` instead of `BOOST_REQUIRE_XXX`
    + some code style fixes
+ added reusable posting_test_api
+ posting testing types moved to separate file
+ reward tests updated to use posting_test_api
+ error messages struct added to rewards tester
+ added `eosio_token_api::get_accounts`, `golos_vesting_api::get_balances`
+ simplified `golos_tester::get_tbl_singleton` and added `get_chaindb_singleton`
@zxcat zxcat added this to the Sprint-oct-22 milestone Nov 6, 2018
@zxcat zxcat self-assigned this Nov 6, 2018
@zxcat zxcat requested a review from kaynarov November 6, 2018 15:06
@zxcat zxcat merged commit 1fb9750 into master Nov 6, 2018
@zxcat zxcat deleted the 181-rewards-tests-update branch November 6, 2018 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update publication_rewards_tests to support chaindb
2 participants