Repository navigation
Releases: tronweb3/tvmjs-monorepo
Release list
@tvmjs/vm v1.2.0
npm · npm i @tvmjs/vm@1.2.0
This release adopts TRON transaction execution and expands regression coverage.
Changes
- Require compatible TRON configuration across VM and TVM.
- Use TRON Energy rules and exact TRC-10 token IDs in transaction execution.
- Add an experimental RPC example for local read-only execution against remote TRON state.
- Replay 71 recorded java-tron reference cases and include API tests in the default test command.
Compatibility notes
- Remove Blob, Beacon root, EIP-7702, and obsolete contract-size options.
- generateTxReceipt() now takes four arguments.
- Execution Energy and transaction-envelope overhead remain separate measurements.
@tvmjs/util v1.2.0
npm · npm i @tvmjs/util@1.2.0
This release preserves TRC-10 token precision and removes retired Ethereum helpers.
Changes
- Keep token IDs above 2^53 - 1 exact in account balances and RLP serialization.
- Add tokenIdToKey(), tokenIdFromKey(), AssetBalances, and TokenIdLike.
- Remove Blob/KZG and EIP-7702 authorization helpers and types.
Compatibility notes
- Account.asset uses canonical decimal string keys and non-negative bigint balances.
- Pass bigint for token IDs above JavaScript's safe integer range.
@tvmjs/tx v1.2.0
npm · npm i @tvmjs/tx@1.2.0
This release narrows transaction support to TRON execution and preserves exact token fields.
Changes
- Remove Blob and EIP-7702 transaction types and constructors.
- Preserve signed legacy TRC-10 fields through JSON/RPC round trips.
- Remove Ethereum initcode limits, word metering, and intrinsic access-list charges.
Compatibility notes
- Retained encodings are Legacy, EIP-2930, and EIP-1559 for local execution.
- Remove allowUnlimitedInitCodeSize and retired transaction fields.
- Use signed legacy transactions for transaction-level TRC-10 transfers.
@tvmjs/tvm v1.2.0
npm · npm i @tvmjs/tvm@1.2.0
This release adopts TRON execution rules and improves Energy accounting.
Changes
- Apply java-tron storage row pricing without Ethereum cold/warm surcharges or storage refunds.
- Support Proposal 65 memory costs and exact bigint TRC-10 token IDs.
- Remove Blob, Beacon root, EIP-7702 delegation, and conflicting EOF execution capabilities.
- Add regression coverage using 71 recorded java-tron reference cases.
Compatibility notes
- Ethereum execution profiles are no longer supported.
- Remove allowUnlimitedContractSize and allowUnlimitedInitCodeSize; Ethereum size limits and initcode word metering are removed.
- Review Energy expectations affected by the updated pricing rules.
@tvmjs/statemanager v1.2.0
npm · npm i @tvmjs/statemanager@1.2.0
This release improves TRC-10 state handling and rollback consistency.
Changes
- Preserve exact token IDs, nested token registrations, and independent state copies.
- Add a local TRC-10 registry and optional token-existence resolver to RPCStateManager.
- Preserve rollback history across cache flushes and state-root reads.
- Clear storage tries on account deletion and fix binary tree cache persistence.
Compatibility notes
- Update tokenIdExists() callers and implementations to use bigint.
- RPC token execution requires explicitly supplied token balances; remote account proofs do not provide them.
@tvmjs/mpt v1.0.2
npm · npm i @tvmjs/mpt@1.0.2
This release fixes trie mutation failures and checkpoint recovery.
Changes
- Release write locks when mutations, commits, or reverts throw.
- Reject writes through missing trie nodes without changing the root.
- Preserve pending checkpoints when database batches fail.
- Reject empty proofs when verifying against a non-empty trusted root.
- Update internal dependencies.
@tvmjs/common v1.2.0
npm · npm i @tvmjs/common@1.2.0
This release introduces the standalone TRON execution configuration.
Changes
- Require execution: 'tron' and reject Ethereum execution profiles and schedules.
- Enable Proposal 65 by default on Mainnet, Nile, and Shasta.
- Add createCurrentTronMainnetCommon() with proposals 65/96 and CLZ enabled.
- Validate configuration compatibility across execution layers.
Compatibility notes
- Use TRON presets; the legacy Mainnet + 'tron' mapping and createCommonFromGethGenesis() are removed.
- createCustomCommon() accepts identity and discovery overrides only; supply network metadata through a complete ChainConfig.
- Remove retired Blob/KZG, Beacon root, EIP-7702, and EIP-3860 settings.
@tvmjs/client v1.0.0
npm · npm i -D @tvmjs/client@1.0.0
First release of the local TRON development node.
Changes
- Provide deterministic development accounts and TRON HTTP APIs.
- Support contract deployment, calls, Energy estimation, transaction broadcast, and receipts.
- Support TRC-10 operations, Stake 1.0/2.0, and resource delegation.
- Add instant/interval mining, time controls, state editing, and execution tracing.
Getting started
Run npx tvmjs to start the local node at http://127.0.0.1:9090.
@tvmjs/blockchain v1.2.0
npm · npm i @tvmjs/blockchain@1.2.0
This release improves local TRON chain storage and database consistency.
Changes
- Advance the canonical head by block number when consensus metadata is absent.
- Update caches only after successful database batch writes.
- Ignore redundant Clique signer authorization and removal votes.
- Remove Blob accounting and Ethereum activation-block special cases.
Compatibility notes
- Supply an explicit genesis block or network genesis metadata.
- Consensus validation requires explicit metadata and a consensus implementation.
@tvmjs/block v1.2.0
npm · npm i @tvmjs/block@1.2.0
This release adopts TRON execution headers and strengthens block validation.
Changes
- Default execution blocks to TronMainnet without inherited Ethereum consensus metadata.
- Remove Blob and Beacon root fields; reject EIP-7702 transactions.
- Recompute transaction and withdrawal trie roots during validation.
- Preserve large RPC difficulty values and reject unsupported block-body extensions.
Compatibility notes
- Remove retired header fields and supply baseFeePerGas in serialized headers.
- Uncle headers require explicit consensus metadata.