From 8546cbb13a34a63e243fd9f90695ccb88204ea70 Mon Sep 17 00:00:00 2001 From: DefiCake Date: Thu, 5 Sep 2024 11:28:51 +0200 Subject: [PATCH 1/3] chore: bump ts-sdk --- package.json | 2 +- packages/fungible-token/package.json | 2 +- packages/integration-tests/package.json | 2 +- packages/test-utils/package.json | 2 +- pnpm-lock.yaml | 319 ++++++++++++------------ 5 files changed, 167 insertions(+), 160 deletions(-) diff --git a/package.json b/package.json index df3c9e2c..87a0289a 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@fuels/eslint-plugin": "0.20.0", "@fuels/prettier-config": "0.0.10", "@fuels/ts-config": "0.0.10", - "fuels": "0.94.3", + "fuels": "0.94.4", "eslint": "^8.49.0", "prettier": "^2.7.1", "tsup": "^7.2.0", diff --git a/packages/fungible-token/package.json b/packages/fungible-token/package.json index 47710f71..894d0a73 100644 --- a/packages/fungible-token/package.json +++ b/packages/fungible-token/package.json @@ -9,7 +9,7 @@ "build": "fuels typegen -i ./bridge-fungible-token/**/release/*-abi.json -o ./exports/types && tsup" }, "devDependencies": { - "fuels": "0.94.3", + "fuels": "0.94.4", "@fuel-bridge/esbuild-bin-loader": "workspace:../esbuild-bin-loader", "@fuel-bridge/solidity-contracts": "workspace:*" } diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index e58cad5f..416f04ae 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -24,7 +24,7 @@ "chai": "^4.3.6", "dotenv": "^16.0.3", "ethers": "6.13.1", - "fuels": "0.94.3", + "fuels": "0.94.4", "mocha": "^10.0.0", "ts-node": "^10.9.1", "typescript": "^5.1.6" diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 04d6247a..ea4647a9 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -18,7 +18,7 @@ "deploy:relay": "pnpm ts-node src/scripts/relay-deposit.ts" }, "peerDependencies": { - "fuels": "0.94.3", + "fuels": "0.94.4", "ethers": "6.13.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 64c7ac06..0c220228 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,8 +34,8 @@ importers: specifier: ^8.49.0 version: 8.57.0 fuels: - specifier: 0.94.3 - version: 0.94.3 + specifier: 0.94.4 + version: 0.94.4 prettier: specifier: ^2.7.1 version: 2.8.8 @@ -71,8 +71,8 @@ importers: specifier: workspace:* version: link:../solidity-contracts fuels: - specifier: 0.94.3 - version: 0.94.3 + specifier: 0.94.4 + version: 0.94.4 packages/integration-tests: devDependencies: @@ -104,8 +104,8 @@ importers: specifier: 6.13.1 version: 6.13.1(bufferutil@4.0.5)(utf-8-validate@5.0.7) fuels: - specifier: 0.94.3 - version: 0.94.3 + specifier: 0.94.4 + version: 0.94.4 mocha: specifier: ^10.0.0 version: 10.4.0 @@ -260,8 +260,8 @@ importers: specifier: 6.13.1 version: 6.13.1(bufferutil@4.0.5)(utf-8-validate@5.0.7) fuels: - specifier: 0.94.3 - version: 0.94.3 + specifier: 0.94.4 + version: 0.94.4 devDependencies: '@fuel-bridge/fungible-token': specifier: workspace:* @@ -918,8 +918,8 @@ packages: resolution: {integrity: sha512-WFjt3pjgb9p1SSGDuqIblPs7aIaZccDFVK66fMPyCBr9jFkpyc16xv7k8gf+yOAxxAdxktne747420XZ9ZJarA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/abi-coder@0.94.3': - resolution: {integrity: sha512-BdQbzWTsUlJjWjp7kvsCGR/hKzrAI3+r9HrYCMEvcdO8PGsltPhLUbPxUydj5Pl+qmfeIALwUz2ZtgN0Pn86dQ==} + '@fuel-ts/abi-coder@0.94.4': + resolution: {integrity: sha512-JvOWCa0/iMOlo+TOCE9vMjqMEyh/R9I3tgdlSj6TJ2Ik6O4ECyFAR0Idm5llvPolTWTQ80ObPYD793pphMpaBw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/abi-typegen@0.94.0': @@ -927,8 +927,8 @@ packages: engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} hasBin: true - '@fuel-ts/abi-typegen@0.94.3': - resolution: {integrity: sha512-Tkhp/cehBQrzfFK64zphlcvf1HYEwScm1yop/3qtlWtPc9omTI1wVVE0nY3JribpQ2DtjMcjWNmyZvDoZX3hcA==} + '@fuel-ts/abi-typegen@0.94.4': + resolution: {integrity: sha512-AkI8fIctMqkpXqorluhH4bNTq0z+wkrMLH3IzLrfELZkBntg5pjy9EGxqyHrlEK7LFT0sNV0tJm2+RKUs2J/zQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} hasBin: true @@ -936,24 +936,24 @@ packages: resolution: {integrity: sha512-/vENitnkvMbHn5wGW+K+acTRPWYligCkxD31jFTuSbe/mCR9ccHxdHaerh5333L5i4CffJNjB+wVVrUyu+g+dA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/account@0.94.3': - resolution: {integrity: sha512-bwzyfjCTjAg1zfoaGdm80w6weiniZewX2QOfwAqC1dUsoBjQoyJaAoe8DUrKbuJ3tQXRabwKLeBn66MaA0b4sA==} + '@fuel-ts/account@0.94.4': + resolution: {integrity: sha512-MMOS3EDxcoGaX/00A/w/CcGYaRl1r8oNhZneQVv7FifBeSluPEubnXReZLtXebP4zz0Ahp5um9e0rUv5fMUDKQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/address@0.94.0': resolution: {integrity: sha512-MHcpEyXViosuq6/vG6D07crsICIwpX6CVeF1wu0FWPv/B2lc/h0Vo1S8au4G/b4WFlinxvlAFhe1eSs2t49xMQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/address@0.94.3': - resolution: {integrity: sha512-W74hARz+zjDJyI/jFyGSWhYupB8q3zaIAOvUBxl6jat6fHBuWLmNeAzBSfKV9cir7ZjKDjI5tBRDVbr33Ud/Pg==} + '@fuel-ts/address@0.94.4': + resolution: {integrity: sha512-nLvNiFmroEmp/Lu/MFLa3za1iRXeW3XG/wGa75Hn/BU5GnN2MSh62cwQ1sqIuWRnaYaMNkqhlmBZrIm0/zX5bQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/contract@0.94.0': resolution: {integrity: sha512-04lDY+J6hAJuWoH1NLRuQXAphhp0uCjn4vG6C4lEEU1UA/JGFPU3OVRMyEAACwL/u9tuTOGaPvEhPStnIdjPlQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/contract@0.94.3': - resolution: {integrity: sha512-URAjtrpm/XECWIIxyaJL24tvNQpxPsSm9U26IDNzptvhEVL6YGYLmNdfeLIMLsE5PcA/JtM4SK1XdbZfFt5YOQ==} + '@fuel-ts/contract@0.94.4': + resolution: {integrity: sha512-bR7MDkZSt0XW5Kacw5Le+TgVBCyMnHdu4LnRWnftEM0H98BRqYiQmi+7nbnSpJHHNKGdBiYI71igmdumdeBxqw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/crypto@0.94.0': @@ -964,8 +964,8 @@ packages: resolution: {integrity: sha512-+Ga41iXUxulw6o6mI86/gj3iyXDC0MP03+X7O6XTnOL1WIX1qiOWUnxaupouKhZuNq52k5nVTfH8nTLd9ek/Gg==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/crypto@0.94.3': - resolution: {integrity: sha512-TF0W/y6jq1iWV1UP81GX9Xfp5GXe31folNolN2L1bm0jsKn0HdUkZx6ZKIxqjdWwCFnUHx6qsQBVMmcsP7rPjg==} + '@fuel-ts/crypto@0.94.4': + resolution: {integrity: sha512-51nQ+Ln2jlOlwUGEJ8vpOffn5nl+lthWnT7tkEZxsgC76oiXy3eIeLo1JMTYWDrMhOlMHcRYp6JsWN9by08zCA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/errors@0.94.0': @@ -976,8 +976,8 @@ packages: resolution: {integrity: sha512-eKNBFIlB1xPc13899R0FdhGwiykbkBdBlgAinbjDLm8RSWHYMAFjgRpho6HELcYpLYFqf6uY9ms/J3BBosSFEA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/errors@0.94.3': - resolution: {integrity: sha512-2SEAHye6mdEWZZ1S+pXssEfZTpJex/4haLdFiye3qn616JbS6zZ957+vEPFMu2x1clOYs6L9xRwt0ZsYfOnQpA==} + '@fuel-ts/errors@0.94.4': + resolution: {integrity: sha512-mLlgmh0vxTY7PDZdsgYHCLNXZnIULbKs6LBWrRVxNGbyvqVS6xzDJkOVd1EASEYSlLQ/9CjWrLkibFt/mJ3vLQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/forc@0.73.0': @@ -992,8 +992,8 @@ packages: resolution: {integrity: sha512-EiaLTk3TwiJOo78O47blhrntEMG4zx1HqjfNcwcOASq11Rd3IdzWjtxQqdnWqTm+bvvaVd2NkoUgd42EtMlR2A==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/hasher@0.94.3': - resolution: {integrity: sha512-9+lKBVYELDVp+QX64l48rvyF6zV5s4UJs+mNOteGoqtdi1M1YRHMy2nd5lYzIaCCpLKj796d4G9PGDjs8kz/ww==} + '@fuel-ts/hasher@0.94.4': + resolution: {integrity: sha512-6EQY/OwM4GE0/a7UZ9ISbz8N9bh0Jz1qufSPKSi5ZgGIzZxbQPeqJnYrf+xgJQjPiv+WP9uxzp72mpr71w7/xg==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/interfaces@0.94.0': @@ -1004,8 +1004,8 @@ packages: resolution: {integrity: sha512-ygw6wZoXQr2/AU91VuJporo68ySgVsmSRkNiJ+lP9Rq5WLie2TXTR4REyD4UGgTGKvjkwMl5YOVfGNFP6hRX4g==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/interfaces@0.94.3': - resolution: {integrity: sha512-bHl6sYq/1LGUNV75t8hO1VWQVk3kC1zMlY2ymkLHZRvZNfvlb8hfsCf34DIx2nC5CZx9J3hZZ/KxBI3VLKoeeg==} + '@fuel-ts/interfaces@0.94.4': + resolution: {integrity: sha512-LaKgnNF07/90Z6qhzdzJ7ldNAKoHC+mR0VcooKmElzSUZMnu6LpOGP9gNYlvykJ+sr24nKxp48eky9SukI3CNA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/math@0.21.2': @@ -1019,8 +1019,8 @@ packages: resolution: {integrity: sha512-FzNmIPBTV4KbLi4D+2G0YdIjfC5sC9HTGyd93WITd5DHcqRlHXqTUMENyIa5tenouBXl9g8mNGfc8AJ/6UQIuQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/math@0.94.3': - resolution: {integrity: sha512-NFLP9HGPKl7Mn1pW5uVWQDW9OznU0UhogKQbKPy7iBEn6KhlHXC2668vzF+cXQ7Qrxt+ns74JtaWrmQq71ISIg==} + '@fuel-ts/math@0.94.4': + resolution: {integrity: sha512-Vxb/5iwEEJJKaLvIxrit8KEfSaiTS9ttXimzK7KtWnDVcMwGiqMeTXe7+c5oGfbbrFNQOMEN+owBkl0FgUACMw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/merkle-shared@0.21.2': @@ -1033,32 +1033,32 @@ packages: resolution: {integrity: sha512-rmCx15cutbFJi4L9ecvFQSI/eRb81GbeGtbeZNrwucmVjkKvJ2/3czNuaVE9whG0Ay0cni19EbqujldhpiLpEQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/merkle@0.94.3': - resolution: {integrity: sha512-qFMdq4sDfs3Kgrq+4bl2fkAVapzKpzeqlKltHcnj8Xs9sJqI+0AGCtmvSPxmUJ5P6favpRWEiK3EaOTyyea1xg==} + '@fuel-ts/merkle@0.94.4': + resolution: {integrity: sha512-8xfmjLwj/peWFNsGzW4NiJtpspPoLSrLiTXUpgyvkzIMAVfIpMnFPp0U1YU4tPNXCywRwKKYl9OYEkzLXM2MPw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/program@0.94.0': resolution: {integrity: sha512-3yEQPe1uAhbjlTC3WgnJiPZTFSIeml80dmaMJy5xcWcKYzaLafmcDVJpLcMLoXqUI8ZXODlfwLjFZPyhicTO4A==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/program@0.94.3': - resolution: {integrity: sha512-hbqOW8xfeHfNrhZIKg5JnFYpkLs8cUzMI9DuHh8eDgghmg/ge0gYOi4vETSi5bW8szEiIZ+TGocHpCa5kqiEoA==} + '@fuel-ts/program@0.94.4': + resolution: {integrity: sha512-T2JqQyX3kXK8IhLws/tZjqYNtjWpurMNyMeScDwPd54QNs/LCseEKFWQMKuPq1Y3PQqf+FJ3oRc7AWBqKk7gHw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/script@0.94.0': resolution: {integrity: sha512-AprAvYzadtpr0N0olqDJ7Mp9IRb9fY3k3oQ6OXyW3e0TSJ+gac8mOSb1Kr/jiGEhrW9dEiHG9mgEVuNZZbLsaw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/script@0.94.3': - resolution: {integrity: sha512-16q3p4tZOWTvH7K5wwlGMiVTFiUs5T7MnovAogeJRkW93Lx+PxreheWPY34lOiMpvGMoRtq5nbVhwVsy2aOneQ==} + '@fuel-ts/script@0.94.4': + resolution: {integrity: sha512-dtoTAfiisb+HeCUo9c6pmc1kfmBWoMm64z2Xnfj6yhyNRGRL81mEOeNlpT/Ee57xprww9eMUlRqU9ulPYEeJXg==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/transactions@0.94.0': resolution: {integrity: sha512-DMrA/35/a2wUQVkyu2a/X4CE72Y8nh1f4BzbA7toWEc12c5txkrr5x/8AbDc51THyN2fXQRwx6sLhekKUB9M4w==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/transactions@0.94.3': - resolution: {integrity: sha512-KLrsrepB0OuHsQ7cmB0IAS+Gekly/18XdETKrVvrwMFCxA3/cxlCPf2N9ZrrIPhFFvYs/xhvLlvamiA3Esu0OQ==} + '@fuel-ts/transactions@0.94.4': + resolution: {integrity: sha512-vDBnopMIaJTv6Q8EMayaC/FTB5BwLYVoySHCjgPCo6mafvBZNDzR5gRP1T03IDFdtJm8wefQGd6tGYjncinvEw==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/utils@0.94.0': @@ -1069,8 +1069,8 @@ packages: resolution: {integrity: sha512-rRcg67TQGeaPyhzgmRL43E7+fwEibpcFy/YZTlXQ7wS3uRuUnJd6EjnVUtOjPJLV6w5tTJ50puSF24iLNc38FA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} - '@fuel-ts/utils@0.94.3': - resolution: {integrity: sha512-UAe/0W3uHD0xdtk2LcKFiQxednQ7DsA8/gpy9fHfky+jF/wL16Zw0S12GM7l7BaTokYAzn8vyxM+qhqU9MMGAw==} + '@fuel-ts/utils@0.94.4': + resolution: {integrity: sha512-aRzXZ7QTbD8bdmLcrj7FJiqS4wMQCsTVnMATu9UXDRKWFSUBc8wTkH+X9w9W2VZXsfn2GoW80ZJpVs54PzGMvA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} '@fuel-ts/versions@0.94.0': @@ -1083,8 +1083,8 @@ packages: engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} hasBin: true - '@fuel-ts/versions@0.94.3': - resolution: {integrity: sha512-bXfcTSiYdNHEOJ4jByJbDzDMKuEzMhWfkArbw1IaOhvnFMTjkdAUUmAP6T4CmCKDEtjozmzoCfeOIjxMAR10lA==} + '@fuel-ts/versions@0.94.4': + resolution: {integrity: sha512-k/e33mqWbPYdKa3lUBi9p5maFHwjkVvMBzrqfi1L4/8hmE++xSDhr+Fp9RyerILNWM03GAb7cOM7Ke6GabhaPA==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} hasBin: true @@ -3073,8 +3073,8 @@ packages: engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} hasBin: true - fuels@0.94.3: - resolution: {integrity: sha512-n9Pim2QUNJRXa8tRSf1DVQOkP9khnhQFSKFmnLXbN2Af+zMP4J0wUXvk095kGrOb9NUYAHbeggxDsLATpRyMfA==} + fuels@0.94.4: + resolution: {integrity: sha512-g+pfrTKiuS1jWg7jDN2DxTAwcnZmiIuCdct0CjK9n/16XCz4TUsEczvU9VOn/5m7lx712RHP1FXYHpaLPj6ivQ==} engines: {node: ^18.20.3 || ^20.0.0 || ^22.0.0} hasBin: true @@ -5043,6 +5043,11 @@ packages: engines: {node: '>=0.8.0'} hasBin: true + uglify-js@3.19.3: + resolution: {integrity: sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==} + engines: {node: '>=0.8.0'} + hasBin: true + unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} @@ -5993,14 +5998,14 @@ snapshots: '@fuel-ts/utils': 0.94.0 type-fest: 4.25.0 - '@fuel-ts/abi-coder@0.94.3': + '@fuel-ts/abi-coder@0.94.4': dependencies: - '@fuel-ts/crypto': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/hasher': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/crypto': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/hasher': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/utils': 0.94.4 type-fest: 4.25.0 '@fuel-ts/abi-typegen@0.94.0': @@ -6016,12 +6021,12 @@ snapshots: ramda: 0.30.1 rimraf: 5.0.9 - '@fuel-ts/abi-typegen@0.94.3': + '@fuel-ts/abi-typegen@0.94.4': dependencies: - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/utils': 0.94.3 - '@fuel-ts/versions': 0.94.3 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/utils': 0.94.4 + '@fuel-ts/versions': 0.94.4 commander: 12.1.0 glob: 10.3.12 handlebars: 4.7.8 @@ -6054,19 +6059,19 @@ snapshots: - encoding - supports-color - '@fuel-ts/account@0.94.3': - dependencies: - '@fuel-ts/abi-coder': 0.94.3 - '@fuel-ts/address': 0.94.3 - '@fuel-ts/crypto': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/hasher': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/merkle': 0.94.3 - '@fuel-ts/transactions': 0.94.3 - '@fuel-ts/utils': 0.94.3 - '@fuel-ts/versions': 0.94.3 + '@fuel-ts/account@0.94.4': + dependencies: + '@fuel-ts/abi-coder': 0.94.4 + '@fuel-ts/address': 0.94.4 + '@fuel-ts/crypto': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/hasher': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/merkle': 0.94.4 + '@fuel-ts/transactions': 0.94.4 + '@fuel-ts/utils': 0.94.4 + '@fuel-ts/versions': 0.94.4 '@fuels/vm-asm': 0.56.0 '@noble/curves': 1.4.2 events: 3.3.0 @@ -6088,12 +6093,12 @@ snapshots: '@noble/hashes': 1.4.0 bech32: 2.0.0 - '@fuel-ts/address@0.94.3': + '@fuel-ts/address@0.94.4': dependencies: - '@fuel-ts/crypto': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/crypto': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/utils': 0.94.4 '@noble/hashes': 1.4.0 bech32: 2.0.0 @@ -6117,20 +6122,20 @@ snapshots: - encoding - supports-color - '@fuel-ts/contract@0.94.3': - dependencies: - '@fuel-ts/abi-coder': 0.94.3 - '@fuel-ts/account': 0.94.3 - '@fuel-ts/crypto': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/hasher': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/merkle': 0.94.3 - '@fuel-ts/program': 0.94.3 - '@fuel-ts/transactions': 0.94.3 - '@fuel-ts/utils': 0.94.3 - '@fuel-ts/versions': 0.94.3 + '@fuel-ts/contract@0.94.4': + dependencies: + '@fuel-ts/abi-coder': 0.94.4 + '@fuel-ts/account': 0.94.4 + '@fuel-ts/crypto': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/hasher': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/merkle': 0.94.4 + '@fuel-ts/program': 0.94.4 + '@fuel-ts/transactions': 0.94.4 + '@fuel-ts/utils': 0.94.4 + '@fuel-ts/versions': 0.94.4 '@fuels/vm-asm': 0.56.0 ramda: 0.30.1 transitivePeerDependencies: @@ -6153,12 +6158,12 @@ snapshots: '@fuel-ts/utils': 0.94.1 '@noble/hashes': 1.4.0 - '@fuel-ts/crypto@0.94.3': + '@fuel-ts/crypto@0.94.4': dependencies: - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/utils': 0.94.4 '@noble/hashes': 1.4.0 '@fuel-ts/errors@0.94.0': @@ -6169,9 +6174,9 @@ snapshots: dependencies: '@fuel-ts/versions': 0.94.1 - '@fuel-ts/errors@0.94.3': + '@fuel-ts/errors@0.94.4': dependencies: - '@fuel-ts/versions': 0.94.3 + '@fuel-ts/versions': 0.94.4 '@fuel-ts/forc@0.73.0': dependencies: @@ -6193,18 +6198,18 @@ snapshots: '@fuel-ts/utils': 0.94.1 '@noble/hashes': 1.4.0 - '@fuel-ts/hasher@0.94.3': + '@fuel-ts/hasher@0.94.4': dependencies: - '@fuel-ts/crypto': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/crypto': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/utils': 0.94.4 '@noble/hashes': 1.4.0 '@fuel-ts/interfaces@0.94.0': {} '@fuel-ts/interfaces@0.94.1': {} - '@fuel-ts/interfaces@0.94.3': {} + '@fuel-ts/interfaces@0.94.4': {} '@fuel-ts/math@0.21.2': dependencies: @@ -6223,9 +6228,9 @@ snapshots: '@types/bn.js': 5.1.5 bn.js: 5.2.1 - '@fuel-ts/math@0.94.3': + '@fuel-ts/math@0.94.4': dependencies: - '@fuel-ts/errors': 0.94.3 + '@fuel-ts/errors': 0.94.4 '@types/bn.js': 5.1.5 bn.js: 5.2.1 @@ -6244,10 +6249,10 @@ snapshots: '@fuel-ts/hasher': 0.94.1 '@fuel-ts/math': 0.94.0 - '@fuel-ts/merkle@0.94.3': + '@fuel-ts/merkle@0.94.4': dependencies: - '@fuel-ts/hasher': 0.94.3 - '@fuel-ts/math': 0.94.3 + '@fuel-ts/hasher': 0.94.4 + '@fuel-ts/math': 0.94.4 '@fuel-ts/program@0.94.0': dependencies: @@ -6265,16 +6270,16 @@ snapshots: - encoding - supports-color - '@fuel-ts/program@0.94.3': + '@fuel-ts/program@0.94.4': dependencies: - '@fuel-ts/abi-coder': 0.94.3 - '@fuel-ts/account': 0.94.3 - '@fuel-ts/address': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/transactions': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/abi-coder': 0.94.4 + '@fuel-ts/account': 0.94.4 + '@fuel-ts/address': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/transactions': 0.94.4 + '@fuel-ts/utils': 0.94.4 '@fuels/vm-asm': 0.56.0 ramda: 0.30.1 transitivePeerDependencies: @@ -6296,17 +6301,17 @@ snapshots: - encoding - supports-color - '@fuel-ts/script@0.94.3': - dependencies: - '@fuel-ts/abi-coder': 0.94.3 - '@fuel-ts/account': 0.94.3 - '@fuel-ts/address': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/program': 0.94.3 - '@fuel-ts/transactions': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/script@0.94.4': + dependencies: + '@fuel-ts/abi-coder': 0.94.4 + '@fuel-ts/account': 0.94.4 + '@fuel-ts/address': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/program': 0.94.4 + '@fuel-ts/transactions': 0.94.4 + '@fuel-ts/utils': 0.94.4 transitivePeerDependencies: - encoding - supports-color @@ -6321,15 +6326,15 @@ snapshots: '@fuel-ts/math': 0.94.0 '@fuel-ts/utils': 0.94.0 - '@fuel-ts/transactions@0.94.3': + '@fuel-ts/transactions@0.94.4': dependencies: - '@fuel-ts/abi-coder': 0.94.3 - '@fuel-ts/address': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/hasher': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/utils': 0.94.3 + '@fuel-ts/abi-coder': 0.94.4 + '@fuel-ts/address': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/hasher': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/utils': 0.94.4 '@fuel-ts/utils@0.94.0': dependencies: @@ -6347,12 +6352,12 @@ snapshots: '@fuel-ts/versions': 0.94.1 fflate: 0.8.2 - '@fuel-ts/utils@0.94.3': + '@fuel-ts/utils@0.94.4': dependencies: - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/versions': 0.94.3 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/versions': 0.94.4 fflate: 0.8.2 '@fuel-ts/versions@0.94.0': @@ -6365,7 +6370,7 @@ snapshots: chalk: 4.1.2 cli-table: 0.3.11 - '@fuel-ts/versions@0.94.3': + '@fuel-ts/versions@0.94.4': dependencies: chalk: 4.1.2 cli-table: 0.3.11 @@ -8975,24 +8980,24 @@ snapshots: - encoding - supports-color - fuels@0.94.3: - dependencies: - '@fuel-ts/abi-coder': 0.94.3 - '@fuel-ts/abi-typegen': 0.94.3 - '@fuel-ts/account': 0.94.3 - '@fuel-ts/address': 0.94.3 - '@fuel-ts/contract': 0.94.3 - '@fuel-ts/crypto': 0.94.3 - '@fuel-ts/errors': 0.94.3 - '@fuel-ts/hasher': 0.94.3 - '@fuel-ts/interfaces': 0.94.3 - '@fuel-ts/math': 0.94.3 - '@fuel-ts/merkle': 0.94.3 - '@fuel-ts/program': 0.94.3 - '@fuel-ts/script': 0.94.3 - '@fuel-ts/transactions': 0.94.3 - '@fuel-ts/utils': 0.94.3 - '@fuel-ts/versions': 0.94.3 + fuels@0.94.4: + dependencies: + '@fuel-ts/abi-coder': 0.94.4 + '@fuel-ts/abi-typegen': 0.94.4 + '@fuel-ts/account': 0.94.4 + '@fuel-ts/address': 0.94.4 + '@fuel-ts/contract': 0.94.4 + '@fuel-ts/crypto': 0.94.4 + '@fuel-ts/errors': 0.94.4 + '@fuel-ts/hasher': 0.94.4 + '@fuel-ts/interfaces': 0.94.4 + '@fuel-ts/math': 0.94.4 + '@fuel-ts/merkle': 0.94.4 + '@fuel-ts/program': 0.94.4 + '@fuel-ts/script': 0.94.4 + '@fuel-ts/transactions': 0.94.4 + '@fuel-ts/utils': 0.94.4 + '@fuel-ts/versions': 0.94.4 bundle-require: 5.0.0(esbuild@0.22.0) chalk: 4.1.2 chokidar: 3.6.0 @@ -9004,7 +9009,7 @@ snapshots: lodash.camelcase: 4.3.0 portfinder: 1.0.32 toml: 3.0.0 - uglify-js: 3.19.2 + uglify-js: 3.19.3 yup: 1.4.0 transitivePeerDependencies: - encoding @@ -11239,6 +11244,8 @@ snapshots: uglify-js@3.19.2: {} + uglify-js@3.19.3: {} + unbox-primitive@1.0.2: dependencies: call-bind: 1.0.7 From 9203e4661945253f23483bb4bbc24074e0548138 Mon Sep 17 00:00:00 2001 From: DefiCake Date: Thu, 5 Sep 2024 11:29:15 +0200 Subject: [PATCH 2/3] chore: add changeset --- .changeset/few-turkeys-yell.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/few-turkeys-yell.md diff --git a/.changeset/few-turkeys-yell.md b/.changeset/few-turkeys-yell.md new file mode 100644 index 00000000..83fa601f --- /dev/null +++ b/.changeset/few-turkeys-yell.md @@ -0,0 +1,6 @@ +--- +'@fuel-bridge/fungible-token': minor +'@fuel-bridge/test-utils': minor +--- + +Bump ts-sdk to 0.94.4 From 7f844ac02ed458dde1ed63eb01b435f3a0de72c3 Mon Sep 17 00:00:00 2001 From: DefiCake Date: Thu, 5 Sep 2024 11:42:42 +0200 Subject: [PATCH 3/3] feat: adapt new typings from fuels::provider.getMessageByNonce() --- .../src/utils/fuels/waitForMessage.ts | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/packages/test-utils/src/utils/fuels/waitForMessage.ts b/packages/test-utils/src/utils/fuels/waitForMessage.ts index eced76f9..6bf987e1 100644 --- a/packages/test-utils/src/utils/fuels/waitForMessage.ts +++ b/packages/test-utils/src/utils/fuels/waitForMessage.ts @@ -5,14 +5,12 @@ import { type Message, BN, AbstractAddress, - Address, hexlify, } from 'fuels'; import { FUEL_MESSAGE_POLL_MS } from '../constants'; import { delay } from '../delay'; import { debug } from '../logs'; -import { zeroPadValue } from 'ethers'; // Wait until a message is present in the fuel client export async function waitForMessage( @@ -28,21 +26,18 @@ export async function waitForMessage( ); if (gqlMessage) { - if ( - gqlMessage.recipient.replace('0x', '') !== - recipient.toB256().replace('0x', '') - ) { + if (gqlMessage.recipient.toB256() !== recipient.toB256()) { return null; } const message: Message = { - messageId: '0x', // Message ID left uncalculated, unused in test suite - sender: Address.fromB256(zeroPadValue(gqlMessage.sender, 32)), - recipient: Address.fromB256(gqlMessage.recipient), + messageId: gqlMessage.messageId, + sender: gqlMessage.sender, + recipient: gqlMessage.recipient, nonce: hexlify(nonce.toBytes(32)), - amount: new BN(gqlMessage.amount), + amount: gqlMessage.amount, data: gqlMessage.data, - daHeight: new BN(gqlMessage.daHeight), + daHeight: gqlMessage.daHeight, }; return message;