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

[1u5ykup] Oracle Runtime Tests, Runtime Tests deps update, Bugfixes & Cleanup #529

Merged
merged 1 commit into from
Jan 28, 2022

Commits on Jan 25, 2022

  1. test: Fixed docstrings and variable naming.

    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test: Checks added to oracle tx tests, fixed crowdloan tx test.
    
    Result checks added to oracle tx tests.
    Fixed associate() tests for
    crowdloan rewards.
    Added oracle tx tests documentation.
    Fixed Lint
    configuration
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test: Fix test.ts calls.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test(Oracle Runtime Tests): All oracle success tests implemented.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    fix(Runtime Tests Interfaces): Fixed faulty interface generation, due to changes to dutchAuction pallet.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test(Better error messages.):
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test(bugfix):Tests erroring if result has no event attribute.
    Updated polkadot api.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test: Oracle Runtime Test Integration, Bugfix in Request function.
    
    (txOracleTests.ts): Added addStake Test, fixed a few
    issues.
    (polkadotjs.ts): Fixed filter for missing event tag in request
    result.
    (.mocharc.json): Set retries per test to 0. This had caused
    problems, due to multiple Promise returns, if the answer was just
    delayed.
    (tsconfig.json): Configured to resolve json modules.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test: Oracle Tests Implementation, Configs & Deps, Cleanup
    
    (txOracleTests.ts): Implemented first oracle
    tests.
    
    (txCrowdloanRewardsTests.ts): Cleanup.
    (polkadotjs.ts): Switched
    from lambda functions to normal ones.
    (test.ts): Added oracle tests
    calls and cleanup.
    (mocharc.json): Added reporter configurations and
    added .ts files to "watch-files".
    
    Dependency update.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    
    test: Oracle Tests Implementation, Configs & Deps, Cleanup
    
    (txOracleTests.ts): Implemented first oracle
    tests.
    
    (txCrowdloanRewardsTests.ts): Cleanup.
    (polkadotjs.ts): Switched
    from lambda functions to normal ones.
    (test.ts): Added oracle tests
    calls and cleanup.
    (mocharc.json): Added reporter configurations and
    added .ts files to "watch-files".
    Fixed Mochawesome not exporting results.
    
    Dependency update.
    
    Signed-off-by: Dominik Roth <dominik@composable.finance>
    Dominik Roth committed Jan 25, 2022
    Configuration menu
    Copy the full SHA
    b04b92e View commit details
    Browse the repository at this point in the history