SEARCH · EVERY SOURCE
Search
One query across docs, discussions, posts, videos and code.
10 doc results for “upgrade” · clear filter
DOC
Doc
Upgradability
…rsion of database and perform required migrations. Protocol Upgrade Generally, we handle data structure upgradability via enum wrapper around it. See `BlockHeader` structure for example. Versioned data…
Doc
Updating Contracts
Learn how to upgrade NEAR smart contracts safely, including programmatic updates, migration strategies, and best practices for contract versioning. Learn…
Doc
State
…orage** are **independent**. [Updating the code](../release/upgrade) does **not erase** the state. ## Defining the State The attributes of the `struct` marked as the contract define the data that will…
Doc
Smart contract security checklist
…s, repeated calls, and concurrent pending operations. * [ ] Upgrade and migration paths preserve state and remain access-controlled. * [ ] Deployment artifacts are reproducible and the deployed code hash…
Doc
Epoch
…s_per_shard": [ 0 ], "dynamic_resharding": false, "protocol_upgrade_stake_threshold": [ 4, 5 ], "epoch_length": 43200, "gas_limit": 1000000000000000, "min_gas_price": "1000000000", "max_gas_price": "10000000000000000000000",…
Doc
Decentralized Autonomous Organizations
…ceiver_id: AccountId, > actions: Vec<ActionCall>, > }, > // Upgrade this contract with given hash from blob store. > UpgradeSelf { hash: Base58CryptoHash }, > // Upgrade another contract, by calling method…
Doc
Global Contracts
…ccounts, it's likely worth considering. * ***Do you need to upgrade the contract across many accounts in one step, even if it requires burning tokens?*** If you want to be able to push updates to all …
Doc
Tools for AI Agents
…:{"light":"github-light","dark":"github-dark"}} > How can I upgrade a contract state? > #fetch https://docs.near.org/llms.txt > ``` > [accordion] Cursor Setup > > Add docs source once in Cursor Chat: …
Doc
Nodes & RPC
…configuration, archival history, health checks, and network upgrades for exchange integrations. NEAR nodes provide RPC access to the network: exchanges use them to query balances, read blocks and receipt…
Doc
OutLayer
…eys that exist only inside your TEE code and persist across upgrades. | | **MPC Vaults** | Multi-party computation for shared key custody. | | **Payment Keys** | USDC-based metering for monetized HTTPS…