Bump version, Node >=24, deps, bigger contract#248
Merged
BlobMaster41 merged 5 commits intomainfrom Mar 9, 2026
Merged
Conversation
Bump package version to 1.0.0+testnet.2 and require Node >=24.0.0 <26.0.0. Upgrade @btc-vision/rust-merkle-tree to ^1.0.2. In Transaction.ts remove unused imports and apply minor whitespace/formatting tweaks around checksum and decompression logic. Increase RoswellConsensus.MAXIMUM_CONTRACT_SIZE_COMPRESSED from 128*1024 to 512*1024 to allow larger compressed contracts (note: related comment was not updated).
Update package.json author to OP_NET and license to Apache-2.0. In SharedInteractionParameters.ts consolidate feature/bitcoin imports, add toHex import, and include a hex dump of epoch submission feature data (when <200 bytes) in the validation error message to aid debugging.
Raise size limits in Roswell consensus config: set CONTRACTS.MAXIMUM_CONTRACT_SIZE_COMPRESSED from 512*1024 (512KB) to 1536*1024 (1.5MB) and update its comment, and increase COMPRESSION.MAX_DECOMPRESSED_SIZE from ~1.5MB to Math.ceil(1024*1024*2) (2MB). These changes allow larger compressed contract payloads and greater decompressed buffer size.
Remove an inline commented legacy block value (//933_330n) from RoswellConsensus Bitcoin mainnet configuration in RoswellConsensus.ts. This is a code cleanup with no functional change.
Update package.json to bump @btc-vision/bitcoin-rpc to ^1.1.2 and @btc-vision/op-vm to ^1.0.0-rc.2. Also reformat multiline import statements in SharedInteractionParameters.ts for readability; these are whitespace/formatting changes only and do not alter runtime behavior.
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.
Bump package version to 1.0.0+testnet.2 and require Node >=24.0.0 <26.0.0. Upgrade @btc-vision/rust-merkle-tree to ^1.0.2. In Transaction.ts remove unused imports and apply minor whitespace/formatting tweaks around checksum and decompression logic. Increase RoswellConsensus.MAXIMUM_CONTRACT_SIZE_COMPRESSED from 1281024 to 5121024 to allow larger compressed contracts (note: related comment was not updated).
Description
Type of Change
Checklist
Build & Tests
npm installcompletes without errorsnpm run buildcompletes without errorsnpm testpasses all testsCode Quality
Documentation
Security
OP_NET Node Specific
Testing
Consensus Impact
Related Issues
By submitting this PR, I confirm that my contribution is made under the terms of the project's license.