Skip to content

Upgrade op-vm to v1.0.0-rc.0#231

Merged
BlobMaster41 merged 3 commits intomainfrom
upgrade/op-vm
Feb 16, 2026
Merged

Upgrade op-vm to v1.0.0-rc.0#231
BlobMaster41 merged 3 commits intomainfrom
upgrade/op-vm

Conversation

@BlobMaster41
Copy link
Contributor

@BlobMaster41 BlobMaster41 commented Feb 15, 2026

Description

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Performance improvement
  • Consensus change (changes that affect state calculation or validation)
  • Refactoring (no functional changes)
  • Documentation update
  • CI/CD changes
  • Dependencies update

Checklist

Build & Tests

  • npm install completes without errors
  • npm run build completes without errors
  • npm test passes all tests

Code Quality

  • Code follows the project's coding standards
  • No new compiler warnings introduced
  • Error handling is appropriate
  • Logging is appropriate for debugging and monitoring

Documentation

  • Code comments added for complex logic
  • Public APIs are documented
  • README updated (if applicable)

Security

  • No sensitive data (keys, credentials) committed
  • No new security vulnerabilities introduced
  • RPC endpoints properly authenticated
  • Input validation in place for external data

OPNet Node Specific

  • Changes are compatible with existing network state
  • Consensus logic changes are documented and tested
  • State transitions are deterministic
  • WASM VM execution is reproducible across nodes
  • P2P protocol changes are backward-compatible (or migration planned)
  • Database schema changes include migration path
  • Epoch finality and PoC/PoW logic unchanged (or documented if changed)

Testing

Consensus Impact

Related Issues


By submitting this PR, I confirm that my contribution is made under the terms of the project's license.

Make Promise.safeAll generic over tuple/array types (T extends readonly unknown[] | []), returning a mapped Promise type { -readonly [P in keyof T]: Awaited<T[P]> } so callers receive precise element types and awaited results. Update the local unwrappedValues variable to match the new mapped type. This is a type-only improvement; no runtime behavior changes.
Bump multiple dependencies and devDependencies to newer versions for compatibility and bug fixes. Notable changes: upgrade @asyncapi packages, @btc-vision libs (including bitcoin/bip32 to v7 series and transaction to rc), add @btc-vision/ecpair and opnet, switch @btc-vision/op-vm to a local file reference, bump @noble/secp256k1, bip174 and various tooling (eslint, @typescript-eslint, vitest, @types/node). These updates refresh transitive deps and tooling to align with recent releases.
@BlobMaster41 BlobMaster41 added enhancement New feature or request feature core component dependencies Pull requests that update a dependency file breaking-change fix labels Feb 15, 2026
@BlobMaster41 BlobMaster41 marked this pull request as draft February 15, 2026 06:42
Align codebase with updated @btc-vision/bitcoin and @btc-vision/ecpair APIs: switch script/byte handling to Uint8Array/Script types, use createPublicKey/createBytes32/createSatoshi/createLegacyBackend/UniversalSigner where appropriate, and replace direct Buffer assumptions with explicit Buffer.from conversions. Also use toHex for hex output, wrap raw crypto outputs in Buffer when required, update opcode/script type checks to instanceof Uint8Array, and adjust payments/taproot/tweak flows to accept Script/Uint8Array. Changes touch merkle, epoch, transaction parsing, inputs/transactions (Deployment/Interaction/SharedInteractionParameters), solvers (AnyoneCanSpendDetector/UTXOSorter), DB public key handling, identity/mempool utils, address decoding, VMManager, and related utilities to ensure consistent binary types and compatibility with the newer libs.
@BlobMaster41 BlobMaster41 changed the title Upgrade op-vm to v1.0.0-beta.1 Upgrade op-vm to v1.0.0-rc.0 Feb 16, 2026
@BlobMaster41 BlobMaster41 marked this pull request as ready for review February 16, 2026 09:07
@BlobMaster41 BlobMaster41 merged commit 5bf2c85 into main Feb 16, 2026
5 of 7 checks passed
@BlobMaster41 BlobMaster41 deleted the upgrade/op-vm branch February 16, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change core component dependencies Pull requests that update a dependency file enhancement New feature or request feature fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant