NEAR GITHUB UPDATES [07.10.2025] 📟
What shipped on the
@nearprotocol GitHub today? Here’s the latest from the NEAR devs!
1/
BULK MEMORY FEES - nearcore
What changed:
• Introduced dedicated parameters for bulk memory/table operations fees: `linear_op_base_cost` and `linear_op_unit_cost`.
• Updated gas costs for bulk memory/table operations to match the latest `wasm_regular_op_cost` values (3_856_371 per unit and 123_403_872 base cost).
Why it matters:
This pull request (
github.com/near/nearcore/pul…) refines gas fee calculations for bulk memory/table operations, replacing the previous generic `regular_op_cost` with specific parameters, ensuring more accurate gas accounting.
Check out the full repo:
github.com/near/nearcore
2/
FEATURE DEPRECATION - nearcore
What changed:
• Deprecated GlobalContracts feature
• Deprecated BlockHeightForReceiptId feature
• Deprecated ProduceOptimisticBlock feature
Why it matters:
This pull request (
github.com/near/nearcore/pul…) removes outdated features as mainnet has reached protocol version 80, simplifying the codebase and reducing maintenance overhead.
Check out the full repo:
github.com/near/nearcore
3/
DEPRECATE FEATURE - nearcore: VersionedStateWitness
What changed:
• Deprecated the VersionedStateWitness protocol feature.
• Removed ChunkStateWitnessV1 from the codebase.
Why it matters:
This pull request (
github.com/near/nearcore/pul…) simplifies the state witness handling by removing outdated features, reducing complexity in the validation process.
Check out the full repo:
github.com/near/nearcore
4/
PERFORMANCE OPTIMIZATION - nearcore: Switch to hashmap for trie changes tracker
What changed:
• Replaced ordered maps with hashed maps in `apply_chunk` components.
• Modified `core/store/src/trie/mod.rs` and `core/store/src/trie/mem/memtrie_update.rs` for improved efficiency.
Why it matters:
This pull request (
github.com/near/nearcore/pul…) results in a 2% higher stable TPS, optimizing the performance of trie changes tracking.
Check out the full repo:
github.com/near/nearcore
5/
TOKEN-ID REFACTOR - intents
What changed:
• Introduced a separate `token-id` crate for TokenId utilities.
• Re-exported TokenId for NEP-171 and NEP-245, simplifying imports.
• Unified TokenId types across APIs for consistency.
• Updated legacy tests to align with new import paths.
Why it matters:
This pull request (
github.com/near/intents/pull…) improves code organization and simplifies TokenId usage across the project, particularly for NEP-171 and NEP-245 standards.
Check out the full repo:
github.com/near/intents
6/
PUBLICKEY TYPE - mpc: Introduced dtos_contract::PublicKey
What changed:
• Introduced a new `dtos_contract::PublicKey` type to replace `near_sdk::PublicKey` where possible.
• Added temporary conversion functions for compatibility.
• Updated several modules to handle the new type.
Why it matters:
This pull request (
github.com/near/mpc/pull/122…) standardizes key handling across the codebase, reducing dependency on `near_sdk::PublicKey` and improving code maintainability.
Check out the full repo:
github.com/near/mpc
7/
PUBLIC KEY SERIALIZATION - mpc: Base58 encoding for node HTTP server.
What changed:
• Added base58 encoding for public key serialization in the node HTTP server.
• Introduced new `node-types` module for handling node-specific types.
• Refactored HTTP server tests using Given/When/Then sections.
• Added snapshot tests for serialization.
• Moved serialization logic to a separate file.
Why it matters:
This pull request (
github.com/near/mpc/pull/123…) standardizes public key serialization using base58, improving consistency and compatibility with NEAR ecosystem tools.
Check out the full repo:
github.com/near/mpc
8/
FIX TOKIO RUNTIME - mpc
What changed:
• Ensures attestation requests run within a tokio runtime context by modifying `StartCmd::run`.
• Prevents node startup panic caused by missing runtime context.
Why it matters:
This pull request (
github.com/near/mpc/pull/122…) resolves a critical issue that previously caused the MPC node to panic during startup, ensuring stable operation for attestation requests.
Check out the full repo:
github.com/near/mpc
9/
METRICS ADDED - mpc: Track participant IDs in failed signatures
What changed:
• Added metrics to track participant IDs in failed ECDSA signature computations.
• Added metrics to track participant IDs in failed EdDSA signature computations.
Why it matters:
This pull request (
github.com/near/mpc/pull/123…) improves debugging capabilities by identifying participants involved in failed signature computations, enhancing the reliability of MPC operations.
Check out the full repo:
github.com/near/mpc
10/
KEYSHARE IMPROVEMENTS - mpc
What changed:
• Added consistency checks in `PermanentKeyStorage` to prevent inconsistent keyshares across epochs.
• Introduced a constructor for `PermanentKeyshareData` to enforce ordering by `DomainId`.
Why it matters:
This pull request (
github.com/near/mpc/pull/121…) ensures that keyshares remain consistent and ordered, reducing potential risks during contract execution and resharing.
Check out the full repo:
github.com/near/mpc
11/
DOCS UPDATE - threshold-signatures
What changed:
• Added preliminary documentation for communication channels in the MPC protocol.
• Moved documentation to the `docs/` folder with a focus on network layer details.
• Expanded description of `send_many`, `send_private`, and `echo_broadcast` primitives.
• Introduced notation for protocol specifications, particularly for ECDSA.
• Added links to notation references in related documentation files.
Why it matters:
This pull request (
github.com/near/threshold-si…) improves the clarity and accessibility of technical documentation for the MPC protocol, aiding developers in understanding communication layer requirements and functionality.
Check out the full repo:
github.com/near/threshold-si…