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: structured error return types for rpcs #5346

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

dandanlen
Copy link
Collaborator

Pull Request

See #5327 for details.

@dandanlen dandanlen requested review from a team and kylezs as code owners October 22, 2024 13:03
@dandanlen dandanlen requested review from zoheb391 and GabrielBuragev and removed request for a team October 22, 2024 13:03
@dandanlen dandanlen force-pushed the feat/structured_api_error_types branch from 76b8595 to 47c80a0 Compare October 22, 2024 13:45
@dandanlen dandanlen enabled auto-merge October 22, 2024 13:57
@dandanlen dandanlen force-pushed the feat/structured_api_error_types branch 2 times, most recently from 49d491a to b2d873a Compare October 22, 2024 14:55
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 344 lines in your changes missing coverage. Please review.

Project coverage is 71%. Comparing base (106de29) to head (e1ee366).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
state-chain/custom-rpc/src/lib.rs 0% 282 Missing ⚠️
.../client/extrinsic_api/signed/submission_watcher.rs 0% 19 Missing ⚠️
...ne/src/state_chain_observer/client/base_rpc_api.rs 0% 18 Missing ⚠️
...te_chain_observer/client/extrinsic_api/unsigned.rs 0% 12 Missing ⚠️
state-chain/runtime/src/runtime_apis.rs 0% 9 Missing ⚠️
state-chain/custom-rpc/src/monitoring.rs 0% 4 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main   #5346    +/-   ##
======================================
  Coverage     71%     71%            
======================================
  Files        494     494            
  Lines      86145   85641   -504     
  Branches   86145   85641   -504     
======================================
- Hits       61161   60963   -198     
+ Misses     22248   21931   -317     
- Partials    2736    2747    +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dandanlen dandanlen force-pushed the feat/structured_api_error_types branch from b2d873a to 5c564a2 Compare October 23, 2024 08:59
@dandanlen dandanlen added this pull request to the merge queue Oct 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 23, 2024
@dandanlen dandanlen force-pushed the feat/structured_api_error_types branch from 5c564a2 to da688e7 Compare October 23, 2024 11:34
@dandanlen dandanlen added this pull request to the merge queue Oct 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 23, 2024
@dandanlen dandanlen added this pull request to the merge queue Oct 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 23, 2024
@dandanlen dandanlen added this pull request to the merge queue Oct 23, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Oct 24, 2024
@dandanlen dandanlen force-pushed the feat/structured_api_error_types branch from da688e7 to e1ee366 Compare October 24, 2024 08:56
@dandanlen dandanlen enabled auto-merge October 24, 2024 08:56
@dandanlen dandanlen added this pull request to the merge queue Oct 24, 2024
Merged via the queue into main with commit b3a2e3b Oct 24, 2024
48 of 49 checks passed
@dandanlen dandanlen deleted the feat/structured_api_error_types branch October 24, 2024 10:23
syan095 added a commit that referenced this pull request Oct 29, 2024
…waps-close-accounts

* origin/main: (44 commits)
  fix: expire all previous epochs (#5279)
  feat: add/update contract swaps parameters (#5343)
  chore: add address to solana logging (#5353)
  fix: ignore dust underflows in order fills rpc (#5352)
  chore: consistent naming prewitnessed (#5351)
  feat: engine-runner verifies gpg signature of old dylib when downloaded (#5339)
  feat: tainted transaction reporting (#5310)
  bug: change_utxo not always present (#5340)
  feat: structured error return types for rpcs (#5346)
  chore: unify dependencies to root cargo.toml (#5333)
  feat: Submit a slot number alongside nonce (#5297)
  chore: use node version from `.nvmrc` 📌 (#5336)
  chore: add engine account_info logging (#5347)
  chore: replace manual scale encoding for ts-scale (#5335)
  chore: more consistent params in Broker API (#5342)
  feat: broker can encode btc smart contract call (#5329)
  chore: localnet recreate script can use defaults (#5338)
  feat: witnessing btc smart contract swaps (#5331)
  feat: Solana CCM fallback (#5316)
  fix: scale types for pending ceremonies (#5286)
  ...

# Conflicts:
#	Cargo.lock
#	state-chain/chains/src/sol/api.rs
#	state-chain/pallets/cf-broadcast/src/migrations.rs
#	state-chain/pallets/cf-environment/Cargo.toml
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.

2 participants