-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat(e2e): relayer tests framework #578
Conversation
…into feat/relayer-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a good start to me, seems extensible and usable for writing more tests
refactor: test setup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good for now
* feat: add range queries (#595) * fix: add packet heights * feat: add packet receipt * fix: add prev consensus state query * chore: build pass * fix: return type as map * chore: fix lint --------- Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> * feat: Add Range query for packet heights and receipts (#594) For each packet sent store the height at it which it was sent and clear it as packets are acknowledged. Add range query to get all missing packets receipts in a range. Co-authored-by: viveksharmapoudel <viveksharmapoudel@gmail.com> * fix: Use string keys for return map in getPacketHeights (#608) * feat: e2e testing on package size (#606) * Add tests for MaxSizeLimit from Chain A to ChainB and vice-versa * return error message(icon) on `ExecuteContract()` * docs: add test badges for java and rust (#602) Signed-off-by: Night Owl <nightowl121@protonmail.com> * feat: updated code owner lists (#610) * docs: add cicd documentation (#603) * docs: add cicd documentation * docs: rename file * feat: add mock app docs (#607) * feat: add docs * fix: add write-ack * fix: add write-ack --------- Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> * chore: ibc system architecture docs (#615) * chore: add ibc design docs. * chore: remove relay.md * chore: more about ibc architecture * feat: update docs (#614) * feat: update docs * feat: add java build commands * feat: add guidelines * fix: topic order * fix: update license name * Update README.md Co-authored-by: AntonAndell <anton@andell.eu> * fix: remove integration test block --------- Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> Co-authored-by: AntonAndell <anton@andell.eu> * feat(e2e): relayer tests framework (#578) * feat: support expanding config value, convert json to yaml * fix: invalid basepath, fix: correct goloop docker image * WIP: initial relayer e2e * fix: client state test * add: relayer crash and recover * fix(e2e): test results * add(e2e): connections test * fix(e2e): connection and client state tests * fix(e2e): connection setup * add(e2e): channel tests * refactor: integration test setup (#616) refactor: test setup --------- Co-authored-by: redlarva <91685111+redlarva@users.noreply.github.com> * docs: add docs for java smart contracts (#622) Signed-off-by: Night Owl <nightowl121@protonmail.com> * ci: add cw-xcall-ibc-connection to Codecov (#620) * rf: linting --------- Signed-off-by: Night Owl <nightowl121@protonmail.com> Co-authored-by: ibrizsabin <101165234+ibrizsabin@users.noreply.github.com> Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> Co-authored-by: AntonAndell <anton@andell.eu> Co-authored-by: viveksharmapoudel <viveksharmapoudel@gmail.com> Co-authored-by: Sudeep Bhandari <bhandari.sudeep68@gmail.com> Co-authored-by: Night Owl <91905208+nightowl121@users.noreply.github.com> Co-authored-by: redlarva <91685111+redlarva@users.noreply.github.com> Co-authored-by: DeepakBomjan <44976635+DeepakBomjan@users.noreply.github.com>
* feat: support expanding config value, convert json to yaml * fix: invalid basepath, fix: correct goloop docker image * WIP: initial relayer e2e * fix: client state test * add: relayer crash and recover * fix(e2e): test results * add(e2e): connections test * fix(e2e): connection and client state tests * fix(e2e): connection setup * add(e2e): channel tests * feat: WIP crash tests * improve: crash tests * rf: concurrent call * chore: workpoint * rf: linting * rm: concurrent wallet build due to xcall issue * feat: stop relay without cleaning for reuse purpose * rf: interface calls for better reusablity * fix: comarision of sent packet * feat: ability to save blockheight on relayer stop * chore: workpoint * fix: donot crash chain * Merge branch 'main' into fix/merge-conflicts (#632) * feat: add range queries (#595) * fix: add packet heights * feat: add packet receipt * fix: add prev consensus state query * chore: build pass * fix: return type as map * chore: fix lint --------- Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> * feat: Add Range query for packet heights and receipts (#594) For each packet sent store the height at it which it was sent and clear it as packets are acknowledged. Add range query to get all missing packets receipts in a range. Co-authored-by: viveksharmapoudel <viveksharmapoudel@gmail.com> * fix: Use string keys for return map in getPacketHeights (#608) * feat: e2e testing on package size (#606) * Add tests for MaxSizeLimit from Chain A to ChainB and vice-versa * return error message(icon) on `ExecuteContract()` * docs: add test badges for java and rust (#602) Signed-off-by: Night Owl <nightowl121@protonmail.com> * feat: updated code owner lists (#610) * docs: add cicd documentation (#603) * docs: add cicd documentation * docs: rename file * feat: add mock app docs (#607) * feat: add docs * fix: add write-ack * fix: add write-ack --------- Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> * chore: ibc system architecture docs (#615) * chore: add ibc design docs. * chore: remove relay.md * chore: more about ibc architecture * feat: update docs (#614) * feat: update docs * feat: add java build commands * feat: add guidelines * fix: topic order * fix: update license name * Update README.md Co-authored-by: AntonAndell <anton@andell.eu> * fix: remove integration test block --------- Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> Co-authored-by: AntonAndell <anton@andell.eu> * feat(e2e): relayer tests framework (#578) * feat: support expanding config value, convert json to yaml * fix: invalid basepath, fix: correct goloop docker image * WIP: initial relayer e2e * fix: client state test * add: relayer crash and recover * fix(e2e): test results * add(e2e): connections test * fix(e2e): connection and client state tests * fix(e2e): connection setup * add(e2e): channel tests * refactor: integration test setup (#616) refactor: test setup --------- Co-authored-by: redlarva <91685111+redlarva@users.noreply.github.com> * docs: add docs for java smart contracts (#622) Signed-off-by: Night Owl <nightowl121@protonmail.com> * ci: add cw-xcall-ibc-connection to Codecov (#620) * rf: linting --------- Signed-off-by: Night Owl <nightowl121@protonmail.com> Co-authored-by: ibrizsabin <101165234+ibrizsabin@users.noreply.github.com> Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> Co-authored-by: AntonAndell <anton@andell.eu> Co-authored-by: viveksharmapoudel <viveksharmapoudel@gmail.com> Co-authored-by: Sudeep Bhandari <bhandari.sudeep68@gmail.com> Co-authored-by: Night Owl <91905208+nightowl121@users.noreply.github.com> Co-authored-by: redlarva <91685111+redlarva@users.noreply.github.com> Co-authored-by: DeepakBomjan <44976635+DeepakBomjan@users.noreply.github.com> * mv: tests to the e2e directory * fix: code structure * refactor: clean up and setup * fix: remove unused storage for mock dapp * fix: clean up and setup channel integration test * fix: fix lint --------- Signed-off-by: Night Owl <nightowl121@protonmail.com> Co-authored-by: ibrizsabin <101165234+ibrizsabin@users.noreply.github.com> Co-authored-by: sabinchitrakar <immortal.infidel@gmail.com> Co-authored-by: AntonAndell <anton@andell.eu> Co-authored-by: viveksharmapoudel <viveksharmapoudel@gmail.com> Co-authored-by: Sudeep Bhandari <bhandari.sudeep68@gmail.com> Co-authored-by: Night Owl <91905208+nightowl121@users.noreply.github.com> Co-authored-by: redlarva <91685111+redlarva@users.noreply.github.com> Co-authored-by: DeepakBomjan <44976635+DeepakBomjan@users.noreply.github.com> Co-authored-by: red__larva <red.x.larva@protonmail.com>
Description:
Commit Message
see the guidelines for commit messages.
Changelog Entry
adds: relayer IBC test framework
Checklist: