From 7a5b0868d5113742a8dcf4be8a5beb4a7f43f815 Mon Sep 17 00:00:00 2001
From: Marcos <marcos@iovlabs.org>
Date: Fri, 5 Apr 2024 12:39:15 +0100
Subject: [PATCH] Remove caret from precompiled-abis 5.0.0 dependencies

---
 package-lock.json | 47 +++++++++++++++++++----------------------------
 package.json      |  8 ++++----
 2 files changed, 23 insertions(+), 32 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 46ee03bd..a6a06b6a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,7 @@
       "version": "1.0.0",
       "license": "GPL3",
       "dependencies": {
-        "@rsksmart/bridge-state-data-parser": "^1.1.0",
+        "@rsksmart/bridge-state-data-parser": "github:rsksmart/bridge-state-data-parser#dependencies-update",
         "@rsksmart/btc-eth-unit-converter": "^1.0.0",
         "@rsksmart/btc-rsk-derivation": "^0.0.2",
         "@rsksmart/pmt-builder": "^3.0.0",
@@ -33,8 +33,8 @@
         "pegin-address-verificator": "git+https://git@github.com/rsksmart/pegin-address-verifier#v0.4.0",
         "peglib": "git+https://github.com/rsksmart/rsk-peglib#v1.4.15",
         "precompiled-arrowhead600": "npm:@rsksmart/rsk-precompiled-abis@^6.0.0-ARROWHEAD",
-        "precompiled-fingerroot500": "npm:@rsksmart/rsk-precompiled-abis@^5.0.0-FINGERROOT",
-        "precompiled-hop400": "npm:@rsksmart/rsk-precompiled-abis@^5.0.0-HOP",
+        "precompiled-fingerroot500": "npm:@rsksmart/rsk-precompiled-abis@5.0.0-FINGERROOT",
+        "precompiled-hop400": "npm:@rsksmart/rsk-precompiled-abis@5.0.0-HOP",
         "precompiled-iris300": "npm:@rsksmart/rsk-precompiled-abis@^4.0.0-IRIS",
         "precompiled-orchid": "npm:@rsksmart/rsk-precompiled-abis@^1.0.0-ORCHID",
         "precompiled-papyrus200": "npm:@rsksmart/rsk-precompiled-abis@^3.0.0-PAPYRUS",
@@ -688,10 +688,10 @@
     },
     "node_modules/@rsksmart/bridge-state-data-parser": {
       "version": "1.1.0",
-      "resolved": "https://registry.npmjs.org/@rsksmart/bridge-state-data-parser/-/bridge-state-data-parser-1.1.0.tgz",
-      "integrity": "sha512-VPmS4Q3Nl6UWGSCV8Y+kHRd4EeZmmUkkx0RB2NHtpjEHZfHV67Xzba77BaAEooGI+FJVdCvi7uGcuaXqTUeqag==",
+      "resolved": "git+ssh://git@github.com/rsksmart/bridge-state-data-parser.git#a6bff8f6298a2fe8664905d65d2949d49b8f943c",
+      "license": "ISC",
       "dependencies": {
-        "@rsksmart/rsk-precompiled-abis": "^5.0.0-FINGERROOT",
+        "@rsksmart/rsk-precompiled-abis": "^6.0.0-ARROWHEAD",
         "ethereumjs-util": "^7.0.10",
         "web3": "^1.5.2"
       }
@@ -767,21 +767,15 @@
       }
     },
     "node_modules/@rsksmart/rsk-precompiled-abis": {
-      "version": "5.0.0-HOP",
-      "resolved": "https://registry.npmjs.org/@rsksmart/rsk-precompiled-abis/-/rsk-precompiled-abis-5.0.0-HOP.tgz",
-      "integrity": "sha512-VCSQRNE+3qeyMUsEPTxHTbj1MxmJSVJaeBwrYZg7vN46KFE4FaZd9hYp8iNpOUmpyZNhXySdVSFV9wlcubR1Gw==",
-      "dependencies": {
-        "web3": "^1.3.6"
-      }
+      "version": "6.0.0-ARROWHEAD",
+      "resolved": "https://registry.npmjs.org/@rsksmart/rsk-precompiled-abis/-/rsk-precompiled-abis-6.0.0-ARROWHEAD.tgz",
+      "integrity": "sha512-+g22mIXjdTHoakCXnjttA9MMJMVyYzZ8VsAL4bMPeTZ8kn9OCZBpXkAtCsXkDCGeYCgrWD9F3VS59vBb/AOdGA=="
     },
     "node_modules/@rsksmart/rsk-precompiled-abis-fingerroot500": {
       "name": "@rsksmart/rsk-precompiled-abis",
-      "version": "5.0.0-HOP",
-      "resolved": "https://registry.npmjs.org/@rsksmart/rsk-precompiled-abis/-/rsk-precompiled-abis-5.0.0-HOP.tgz",
-      "integrity": "sha512-VCSQRNE+3qeyMUsEPTxHTbj1MxmJSVJaeBwrYZg7vN46KFE4FaZd9hYp8iNpOUmpyZNhXySdVSFV9wlcubR1Gw==",
-      "dependencies": {
-        "web3": "^1.3.6"
-      }
+      "version": "5.0.0-FINGERROOT",
+      "resolved": "https://registry.npmjs.org/@rsksmart/rsk-precompiled-abis/-/rsk-precompiled-abis-5.0.0-FINGERROOT.tgz",
+      "integrity": "sha512-mKaKicuEzyLqQgnWZOBfyjdzMGjdGDqcGWkH4jXK7Edd8u62np0B7GUJLoXjHFDP6G28A/HqROx1tlGoJJcQ4Q=="
     },
     "node_modules/@rsksmart/rsk-precompiled-abis-hop400": {
       "name": "@rsksmart/rsk-precompiled-abis",
@@ -1351,19 +1345,19 @@
     "node_modules/bridge-transaction-parser-fingerroot500": {
       "name": "bridge-transaction-parser",
       "version": "0.5.0-beta",
-      "resolved": "git+ssh://git@github.com/rsksmart/bridge-transaction-parser.git#c32da5704ce9fd35844e4a661eeccb928ff9e300",
+      "resolved": "git+ssh://git@github.com/rsksmart/bridge-transaction-parser.git#2f08c20dfdf471766bcc10faed01ece183b8f229",
       "license": "MIT",
       "dependencies": {
-        "@rsksmart/rsk-precompiled-abis-fingerroot500": "npm:@rsksmart/rsk-precompiled-abis@^5.0.0-FINGERROOT"
+        "@rsksmart/rsk-precompiled-abis-fingerroot500": "npm:@rsksmart/rsk-precompiled-abis@5.0.0-FINGERROOT"
       }
     },
     "node_modules/bridge-transaction-parser-hop400": {
       "name": "bridge-transaction-parser",
       "version": "0.4.0-beta",
-      "resolved": "git+ssh://git@github.com/rsksmart/bridge-transaction-parser.git#a1a9f4fcc5efcf4fe2652d159f17a3a072359d88",
+      "resolved": "git+ssh://git@github.com/rsksmart/bridge-transaction-parser.git#3f6cd870ee759f86986148ae417a6e8453805ee8",
       "license": "MIT",
       "dependencies": {
-        "@rsksmart/rsk-precompiled-abis-hop400": "npm:@rsksmart/rsk-precompiled-abis@^5.0.0-HOP"
+        "@rsksmart/rsk-precompiled-abis-hop400": "npm:@rsksmart/rsk-precompiled-abis@5.0.0-HOP"
       }
     },
     "node_modules/brorand": {
@@ -4634,12 +4628,9 @@
     },
     "node_modules/precompiled-fingerroot500": {
       "name": "@rsksmart/rsk-precompiled-abis",
-      "version": "5.0.0-HOP",
-      "resolved": "https://registry.npmjs.org/@rsksmart/rsk-precompiled-abis/-/rsk-precompiled-abis-5.0.0-HOP.tgz",
-      "integrity": "sha512-VCSQRNE+3qeyMUsEPTxHTbj1MxmJSVJaeBwrYZg7vN46KFE4FaZd9hYp8iNpOUmpyZNhXySdVSFV9wlcubR1Gw==",
-      "dependencies": {
-        "web3": "^1.3.6"
-      }
+      "version": "5.0.0-FINGERROOT",
+      "resolved": "https://registry.npmjs.org/@rsksmart/rsk-precompiled-abis/-/rsk-precompiled-abis-5.0.0-FINGERROOT.tgz",
+      "integrity": "sha512-mKaKicuEzyLqQgnWZOBfyjdzMGjdGDqcGWkH4jXK7Edd8u62np0B7GUJLoXjHFDP6G28A/HqROx1tlGoJJcQ4Q=="
     },
     "node_modules/precompiled-hop400": {
       "name": "@rsksmart/rsk-precompiled-abis",
diff --git a/package.json b/package.json
index 00c130e1..6925525d 100644
--- a/package.json
+++ b/package.json
@@ -12,12 +12,12 @@
   "author": "",
   "license": "GPL3",
   "dependencies": {
-    "@rsksmart/bridge-state-data-parser": "^1.1.0",
     "@rsksmart/btc-eth-unit-converter": "^1.0.0",
     "@rsksmart/btc-rsk-derivation": "^0.0.2",
     "@rsksmart/pmt-builder": "^3.0.0",
     "@rsksmart/powpeg-redeemscript-parser": "^1.0.0",
     "bn.js": "^4.11.8",
+    "@rsksmart/bridge-state-data-parser": "github:rsksmart/bridge-state-data-parser#dependencies-update",
     "bridge-transaction-parser-fingerroot500": "github:rsksmart/bridge-transaction-parser#v0.5.0-beta",
     "bridge-transaction-parser-hop400": "github:rsksmart/bridge-transaction-parser#v0.4.0-beta",
     "btc-transaction-helper": "git+https://git@github.com/rsksmart/btc-transaction-helper#v3.5.0",
@@ -36,12 +36,12 @@
     "pegin-address-verificator": "git+https://git@github.com/rsksmart/pegin-address-verifier#v0.4.0",
     "peglib": "git+https://github.com/rsksmart/rsk-peglib#v1.4.15",
     "precompiled-arrowhead600": "npm:@rsksmart/rsk-precompiled-abis@^6.0.0-ARROWHEAD",
-    "precompiled-fingerroot500": "npm:@rsksmart/rsk-precompiled-abis@^5.0.0-FINGERROOT",
-    "precompiled-hop400": "npm:@rsksmart/rsk-precompiled-abis@^5.0.0-HOP",
+    "precompiled-fingerroot500": "npm:@rsksmart/rsk-precompiled-abis@5.0.0-FINGERROOT",
+    "precompiled-hop400": "npm:@rsksmart/rsk-precompiled-abis@5.0.0-HOP",
     "precompiled-iris300": "npm:@rsksmart/rsk-precompiled-abis@^4.0.0-IRIS",
-    "precompiled-orchid": "npm:@rsksmart/rsk-precompiled-abis@^1.0.0-ORCHID",
     "precompiled-papyrus200": "npm:@rsksmart/rsk-precompiled-abis@^3.0.0-PAPYRUS",
     "precompiled-wasabi100": "npm:@rsksmart/rsk-precompiled-abis@^2.0.0-WASABI",
+    "precompiled-orchid": "npm:@rsksmart/rsk-precompiled-abis@^1.0.0-ORCHID",
     "rsk-transaction-helper": "git+https://github.com/rsksmart/rootstock-transaction-helper#v3.1.0",
     "solc": "^0.7.5",
     "stream-line-wrapper": "^0.1.1",