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

feat: complete previous work before finishing test case between Axon and Ckb #249

Merged
merged 16 commits into from
Jul 19, 2023

Conversation

ashuralyk
Copy link
Contributor

@ashuralyk ashuralyk commented Jul 10, 2023

Closes: #256 #195

Description

this PR aims to optimize and complete the previous commit of connection and channel test cases of Forcerelay/Axon, because I found that Ckb endpoint missed one command to finish and Axon endpoint needs to add more code to pass test

ps. Some internal runtime from Hermes framework is not applicable to our Axon and Ckb endpoint for the non-compatible case, so the process on Height and other variables looks a little weird


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Forcerelay) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

@ashuralyk ashuralyk changed the title Feat/finish ckb packet feature feat: finish ckb packet feature Jul 10, 2023
@ashuralyk ashuralyk changed the title feat: finish ckb packet feature feat: finish test case between Axon and Ckb Jul 10, 2023
@ashuralyk ashuralyk requested review from jjyr and KaoImin July 10, 2023 08:08
@ashuralyk
Copy link
Contributor Author

after merging this, I can start my work on the finish of Axon <> ckb case, based on the ckb4ibc-test test

@ashuralyk ashuralyk marked this pull request as ready for review July 10, 2023 08:13
Copy link
Collaborator

@jjyr jjyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failed

crates/relayer/src/chain/axon.rs Outdated Show resolved Hide resolved
crates/relayer/src/chain/axon.rs Show resolved Hide resolved
crates/relayer/src/chain/ckb4ibc.rs Outdated Show resolved Hide resolved
@ashuralyk ashuralyk requested a review from jjyr July 10, 2023 12:09
README.md Outdated Show resolved Hide resolved
bug: fix connection number error from Ckb endpoint
@ashuralyk ashuralyk requested a review from Flouse July 12, 2023 13:57
@ashuralyk ashuralyk changed the title feat: finish test case between Axon and Ckb feat: complete previous work before finishing test case between Axon and Ckb Jul 12, 2023
crates/relayer/src/chain/ckb4ibc.rs Outdated Show resolved Hide resolved
crates/relayer/src/chain/ckb4ibc.rs Outdated Show resolved Hide resolved
crates/relayer/src/connection.rs Outdated Show resolved Hide resolved
@Flouse Flouse marked this pull request as draft July 16, 2023 03:56
@ashuralyk ashuralyk force-pushed the feat/finish-ckb-packet-feature branch 2 times, most recently from 32ed9c8 to 7d7fbe8 Compare July 17, 2023 01:56
@ashuralyk ashuralyk force-pushed the feat/finish-ckb-packet-feature branch from 7d7fbe8 to d1057ee Compare July 17, 2023 13:42
@Flouse Flouse marked this pull request as ready for review July 18, 2023 02:56
@ashuralyk ashuralyk requested a review from jjyr July 18, 2023 08:54
@Flouse Flouse changed the base branch from main to dev July 19, 2023 04:06
.rt
.block_on(self.get_proofs_ingredients(block_number))?;

// FIXME: keep it commentted until Axon team fixed this verify issue
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// FIXME: keep it commentted until Axon team fixed this verify issue
// FIXME: keep it commentted until Axon team fixed this verify issue
// See https://github.com/axonweb3/axon/issues/1260

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashuralyk ashuralyk merged commit 872bdc9 into dev Jul 19, 2023
@ashuralyk ashuralyk deleted the feat/finish-ckb-packet-feature branch July 19, 2023 04:26
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.

Creating connection for Ckb endpoint didn't work as expected after the third try of this command
3 participants