-
Notifications
You must be signed in to change notification settings - Fork 182
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(katana-rpc): rename trait methods to their exact names in the api spec #2208
Conversation
WalkthroughOhayo, sensei! The recent changes primarily involve the renaming of numerous asynchronous methods in the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant StarknetApiServer
participant StarknetApi
Client->>StarknetApiServer: get_block_with_tx_hashes(block_id)
StarknetApiServer->>StarknetApi: get_block_with_tx_hashes(block_id)
StarknetApi-->>StarknetApiServer: MaybePendingBlockWithTxHashes
StarknetApiServer-->>Client: MaybePendingBlockWithTxHashes
sequenceDiagram
participant Client
participant StarknetTraceApiServer
participant StarknetApi
Client->>StarknetTraceApiServer: trace_transaction(transaction_hash)
StarknetTraceApiServer->>StarknetApi: trace_transaction(transaction_hash)
StarknetApi-->>StarknetTraceApiServer: TransactionTrace
StarknetTraceApiServer-->>Client: TransactionTrace
Enjoy the clarity, sensei! Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (4)
Additional comments not posted (37)
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2208 +/- ##
=======================================
Coverage 69.06% 69.07%
=======================================
Files 339 339
Lines 44052 44052
=======================================
+ Hits 30426 30429 +3
+ Misses 13626 13623 -3 ☔ View full report in Codecov by Sentry. |
renaming to their exact names in the json rpc spec so that we can reserve the current names for other stuff.
Summary by CodeRabbit
New Features
get_block_with_tx_hashes
,get_transaction_status
, andtrace_transaction
for better understanding of their functions.Bug Fixes
Documentation