Draft
Conversation
…TTP calls
Tests were failing because prepare_tests() used unsafe set_var() to set
HOME/XDG_CONFIG_HOME across parallel test threads (undefined behavior).
Combined with blocking HTTP calls to nearblocks API added at startup in
- Pass env vars explicitly to subprocess Command instead of set_var
- Pre-create ft_contracts.json in test setup to skip startup HTTP calls
- Simplify is_used_ft_contract_account_list_exist to just check file existence
- Write valid empty JSON ("[]") instead of empty file on API failure
…t config - Remove else branch that wrote empty [] on fetch failure, so the CLI retries on the next run instead of caching an empty list permanently - Place test config at the correct platform-specific path for macOS
- Bump near-crypto, near-primitives, near-jsonrpc-primitives to 0.35.0-rc.5 - Use git dep for near-jsonrpc-client (pending near/near-jsonrpc-client-rs#186) - Use path dep for near-socialdb-client (pending crate bump) - Add match arms for new PGas enum variants: - AccessKeyPermissionView::GasKeyFunctionCall/GasKeyFullAccess - Action::TransferToGasKey/WithdrawFromGasKey - ActionView::TransferToGasKey/WithdrawFromGasKey - ActionErrorKind gas key error variants - InvalidTxError gas key error variants - ActionsValidationError gas key validation variants - Handle TransactionNonce type (replacing raw u64 nonce)
6e84c7b to
88af88d
Compare
Points to r-near/near-socialdb-client-rs#bump-near-crates-0.35 pending bos-cli-rs/near-socialdb-client-rs#39.
r-near
added a commit
to near/cargo-near
that referenced
this pull request
Mar 31, 2026
- Bump near-primitives from 0.34 to 0.35.0-rc.5 - Use git dep for near-cli-rs pending near/near-cli-rs#580 - Adapt random_account_id to accept GlobalContext (near-cli-rs API change)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AccessKeyPermissionView::GasKeyFunctionCall/GasKeyFullAccess— display gas key info in account summaries and key listingsAction::TransferToGasKey/WithdrawFromGasKey— display in transaction previewsActionView::TransferToGasKey/WithdrawFromGasKey— display in successful transaction outputActionErrorKind,InvalidTxError,ActionsValidationError— user-friendly error messagesTransactionNonceenum replacing rawu64nonce — extract inner nonce for delegate actionsDepends on:
Once both deps are published to crates.io, git deps here should be switched back to versioned crates.io deps.