Skip to content

feat: added default archival rpc#138

Merged
vsavchyn-dev merged 1 commit intomainfrom
feat/default-archival-rpc-support
Mar 6, 2026
Merged

feat: added default archival rpc#138
vsavchyn-dev merged 1 commit intomainfrom
feat/default-archival-rpc-support

Conversation

@frolvanya
Copy link
Copy Markdown
Contributor

Right now in order to interact with archival node we need to create own NetworkConfig:

let network = NetworkConfig::from_rpc_url(
"archival-mainnet",
"https://archival-rpc.mainnet.fastnear.com".parse().unwrap(),
);

This PR introduces default archival rpc endpoints along with helper methods like fetch_from_<network>_archival() to simplify interaction with archival nodes

@frolvanya frolvanya requested review from a team and akorchyn as code owners March 6, 2026 00:17
@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Mar 6, 2026
@vsavchyn-dev vsavchyn-dev merged commit 76a2e0e into main Mar 6, 2026
14 checks passed
@vsavchyn-dev vsavchyn-dev deleted the feat/default-archival-rpc-support branch March 6, 2026 00:28
@github-project-automation github-project-automation bot moved this from NEW❗ to Shipped 🚀 in DevTools Mar 6, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 6, 2026

Codecov Report

❌ Patch coverage is 0% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.38%. Comparing base (0a1db8a) to head (ff98e6c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
api/src/config.rs 0.00% 30 Missing ⚠️
api/src/common/query/mod.rs 0.00% 24 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #138      +/-   ##
==========================================
- Coverage   50.90%   50.38%   -0.52%     
==========================================
  Files          40       40              
  Lines        5265     5319      +54     
==========================================
  Hits         2680     2680              
- Misses       2585     2639      +54     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Shipped 🚀

Development

Successfully merging this pull request may close these issues.

3 participants