Skip to content

feat: support REED bridge abi and update rsk-precompiled-abis dependency#63

Merged
nicov-iov merged 2 commits intodevelopfrom
feat/DV-1448-support-REED-bridge-abi
Sep 15, 2025
Merged

feat: support REED bridge abi and update rsk-precompiled-abis dependency#63
nicov-iov merged 2 commits intodevelopfrom
feat/DV-1448-support-REED-bridge-abi

Conversation

@nicov-iov
Copy link
Copy Markdown
Collaborator

This pull request updates the bridge ABI support to include the new "reed" release for both mainnet and testnet. The changes ensure the codebase recognizes and properly handles the "reed" ABI at its respective activation block heights, and updates dependencies to use the latest ABI definitions.

Bridge ABI updates:

  • Added support for the "reed" bridge ABI in RSK_RELEASES for mainnet (block 8,052,200) and testnet (block 6,835,700) within src/lib/nativeContracts/bridgeAbi.js. [1] [2]
  • Imported the new bridge-reed.json ABI file in both implementation (src/lib/nativeContracts/bridgeAbi.js) and test files (test/bridgeAbi.spec.js). [1] [2]

Dependency update:

  • Updated the @rsksmart/rsk-precompiled-abis dependency in package.json to version 8.0.0-REED to use the latest precompiled ABIs.

Test coverage:

  • Extended test cases in test/bridgeAbi.spec.js to include the "reed" ABI for both mainnet and testnet, ensuring correct ABI selection by block height.

Next version notes:
We are considering the posibility of moving certain rootstock specific network settings to a dedicated repository (eg: bridge ABI selector logic by blockheight and network)

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for the "reed" bridge ABI release to the codebase, updating both mainnet and testnet configurations to recognize the new ABI at their respective activation block heights. The changes also update the dependency to use the latest precompiled ABIs.

  • Added "reed" bridge ABI support for mainnet (block 8,052,200) and testnet (block 6,835,700)
  • Updated @rsksmart/rsk-precompiled-abis dependency to version 8.0.0-REED
  • Extended test coverage to include the new "reed" ABI validation

Reviewed Changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 1 comment.

File Description
src/lib/nativeContracts/bridgeAbi.js Added reed ABI import and configuration entries for mainnet and testnet
test/bridgeAbi.spec.js Added reed ABI import and test cases for both networks
src/lib/nativeContracts/bridge-reed.json New ABI definition file for the reed bridge release
package.json Updated dependency version to 8.0.0-REED

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread test/bridgeAbi.spec.js Outdated
Copy link
Copy Markdown
Collaborator

@ivegabr ivegabr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@nicov-iov nicov-iov merged commit 2c20948 into develop Sep 15, 2025
4 checks passed
@ivegabr ivegabr deleted the feat/DV-1448-support-REED-bridge-abi branch September 29, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants