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

chore: add unit test coverage for icon light client #851

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

bishalbikram
Copy link
Collaborator

changes made

  • add test coverage for icon light client

@bishalbikram bishalbikram added ICON ICON Chain related task test Testing update for Unit test, Integration test and E2E testing rust Pull requests that update Rust code labels Mar 27, 2024
@bishalbikram bishalbikram self-assigned this Mar 27, 2024
@github-actions github-actions bot removed the test Testing update for Unit test, Integration test and E2E testing label Mar 27, 2024
@bishalbikram bishalbikram added the test Testing update for Unit test, Integration test and E2E testing label Mar 27, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.18%. Comparing base (5bd6c10) to head (1b18f3c).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #851      +/-   ##
============================================
+ Coverage     72.70%   74.18%   +1.47%     
  Complexity      418      418              
============================================
  Files           155      155              
  Lines         14029    14323     +294     
  Branches        292      292              
============================================
+ Hits          10200    10625     +425     
+ Misses         3682     3551     -131     
  Partials        147      147              
Flag Coverage Δ
rust 72.97% <100.00%> (+1.75%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...s/cosmwasm-vm/cw-icon-light-client/src/contract.rs 66.09% <100.00%> (+9.09%) ⬆️
...smwasm-vm/cw-icon-light-client/src/light_client.rs 98.21% <100.00%> (+15.45%) ⬆️
...acts/cosmwasm-vm/cw-icon-light-client/src/state.rs 100.00% <100.00%> (+7.61%) ⬆️

... and 1 file with indirect coverage changes

@ibrizsabin ibrizsabin merged commit 545da5c into main Mar 28, 2024
9 of 10 checks passed
@ibrizsabin ibrizsabin deleted the coverage/icon-light-client branch March 28, 2024 06:23
ibrizsabin added a commit that referenced this pull request May 15, 2024
* feat: add wasm client project

* fix: add wasm proto

* fix: import ics08wasm

* fix: import wasm-08

* fix: generalize context

* fix: build deps

* fix: fix deps issue

* fix: split query handler

* fix: wrap result in response

* feat: add verify header

* feat: add genesis export

* fix: impl client status

* fix: fix unit test

* fix: add debug logs

* fix: cleanup

* chore: pass build

* fix: proto changes

* fix: split traits

* chore: pass build

* fix: remove inner

* fix: query handler

* fix: add tests

* fix: add update test

* fix: downgrade

* fix: downgrade cosmwasm

* fix: update test utils

* fix: point to downgraded xcall

* fix: lower multi test

* fix: lock on 1.6

* fix: revert downgrade

* fix: try disable features

* fix: upgrade cw-storage-plus

* fix: lock to 1.4

* fix: move cw-multi test

* chore: pass build

* fix: fix branch

* fix: add height

* fix: cleanup

* chore: pass build

* fix: remove toolchain.toml

* fix: fix verify membership

* fix: ack hashing

* doc: add build note

* chore: pass build

* fix: do sha256

* fix: check misbehaviour

* chore: pass build

* fix:resolve comments

* chore: pass build

* fix: remove unnecessary hash

* chore: pass build

* fix: rename client id

* fix: Fix reverse sign on timestamp check for request timeout

* chore: update test coverage for ibc client (#846)

* chore: update test coverage for ics03-connection (#848)

* chore: update test coverage for ibc client

* chore: improve test coverage for ibc connection

* chore: add test coverage for cosmwasm ibc core (#850)

* docs: Add explanation on how a connection can be manually verified (#838)

doc: Add explanation on how a connection can be manually verified

* fix: add reference to CI workflow to fix error (#839)

Co-authored-by: ForwardSlashBack <ForwardSlashBack@users.noreply.github.com>

* chore: add unit test coverage for icon light client (#851)

* ci: add injectived, and neutornd binary (#858)

* ci: add injectived, and neutornd binary

* ci: update archwayd to v6.0.0

* ci: update archwayd to v6.0.0

* chore: add test coverage for xcall-ibc-connection (#853)

* fix: fix test

* fix: resolve test issues

* fix: cargo fmt

---------

Co-authored-by: AntonAndell <anton@andell.eu>
Co-authored-by: undefined <107839945+bishalbikram@users.noreply.github.com>
Co-authored-by: ForwardSlashBack <142098649+ForwardSlashBack@users.noreply.github.com>
Co-authored-by: ForwardSlashBack <ForwardSlashBack@users.noreply.github.com>
Co-authored-by: DeepakBomjan <44976635+DeepakBomjan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ICON ICON Chain related task rust Pull requests that update Rust code test Testing update for Unit test, Integration test and E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants