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

refactor: remove duplicate JsonRpcError and Request objects #4081

Merged
merged 4 commits into from
Mar 22, 2024

Conversation

aatifsyed
Copy link
Contributor

@aatifsyed aatifsyed commented Mar 19, 2024

Summary of changes

Changes introduced in this pull request:

  • make crate::rpc::error::JsonRpcError public
  • remove crate::rpc_client::JsonRpcError in favour of the above
  • remove crate::rpc_client::JsonRpcResponse in favour of jsonrpsee::types::Response

Risks:

  • Changes to output of API check commands.
    • I've tried to emulate the old behaviour where possible.

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@aatifsyed aatifsyed requested a review from a team as a code owner March 19, 2024 17:17
@aatifsyed aatifsyed requested review from lemmih and hanabi1224 and removed request for a team March 19, 2024 17:17
@aatifsyed aatifsyed force-pushed the aatifsyed/refactor-rpc-error branch from 8ae1348 to bda8bb5 Compare March 19, 2024 17:35
@aatifsyed aatifsyed force-pushed the aatifsyed/refactor-rpc-error branch 3 times, most recently from 27cbe03 to b1fd58a Compare March 20, 2024 14:29
@lemmih
Copy link
Contributor

lemmih commented Mar 20, 2024

No green checkmark => no review.

@aatifsyed aatifsyed force-pushed the aatifsyed/refactor-rpc-error branch from b1fd58a to 05ea2b3 Compare March 20, 2024 15:04
@aatifsyed aatifsyed force-pushed the aatifsyed/refactor-rpc-error branch 2 times, most recently from 3c05547 to b5cfc53 Compare March 22, 2024 02:26
# Compare the http endpoints
$FOREST_TOOL_PATH api compare "$snapshot" --forest /ip4/127.0.0.1/tcp/8080/http --lotus /ip4/127.0.0.1/tcp/8081/http --n-tipsets 5
$FOREST_TOOL_PATH api compare "$snapshot" --forest /ip4/127.0.0.1/tcp/8080/http --lotus /ip4/127.0.0.1/tcp/8081/http --n-tipsets 5 '--filter=!Filecoin.StateWaitMsg'
Copy link
Contributor

Choose a reason for hiding this comment

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

We probably want to filter out all the flaky tests.

@aatifsyed aatifsyed added this pull request to the merge queue Mar 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 22, 2024
@aatifsyed aatifsyed added this pull request to the merge queue Mar 22, 2024
Merged via the queue into main with commit 3136c8f Mar 22, 2024
28 checks passed
@aatifsyed aatifsyed deleted the aatifsyed/refactor-rpc-error branch March 22, 2024 10:13
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.

3 participants