diff --git a/packages/protocol/package.json b/packages/protocol/package.json index ac0d2e11002..7a17e3153de 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -71,7 +71,7 @@ "@summa-tx/memview.sol": "^1.1.0", "@truffle/artifactor": "4.0.180", "@truffle/contract": "4.6.10", - "@truffle/resolver": "9.0.27", + "@truffle/resolver": "9.0.53", "bignumber.js": "9.1.0", "bip39": "https://github.com/bitcoinjs/bip39#d8ea080a18b40f301d4e2219a2991cd2417e83c2", "bn.js": "^5.1.0", diff --git a/yarn.lock b/yarn.lock index 15cadf2f1af..01fa96f1378 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1684,14 +1684,6 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ganache/console.log@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@ganache/console.log/-/console.log-0.2.0.tgz#32ea0df806ed735d61bd0537d7b7fc350e511479" - integrity sha512-+SNBUZzrbe4DE4F0jdl9SU8w3ek5k4cUE73ttUFweo8FaKEDQsMbFjZ3ZU0LM6QM/zCMqE7euSq0s/IlsYxf7A== - dependencies: - "@ganache/utils" "0.3.0" - ethereumjs-util "7.1.5" - "@ganache/console.log@0.3.0": version "0.3.0" resolved "https://registry.yarnpkg.com/@ganache/console.log/-/console.log-0.3.0.tgz#be7bb0875e883d7c219c3543cc7e854203c5233d" @@ -3726,15 +3718,6 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== -"@truffle/abi-utils@^0.3.0", "@truffle/abi-utils@^0.3.9": - version "0.3.9" - resolved "https://registry.yarnpkg.com/@truffle/abi-utils/-/abi-utils-0.3.9.tgz#c476f5cfe01072b513b3e93fd7bea05cf7bd9d96" - integrity sha512-G5dqgwRHx5zwlXjz3QT8OJVfB2cOqWwD6DwKso0KttUt/zejhCjnkKq72rSgyeLMkz7wBB9ERLOsupLBILM8MA== - dependencies: - change-case "3.0.2" - fast-check "3.1.1" - web3-utils "1.8.2" - "@truffle/abi-utils@^0.3.10": version "0.3.10" resolved "https://registry.yarnpkg.com/@truffle/abi-utils/-/abi-utils-0.3.10.tgz#693684d6cd3e86bd48ddbf615cd159156fac1605" @@ -3744,6 +3727,15 @@ fast-check "3.1.1" web3-utils "1.10.0" +"@truffle/abi-utils@^0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@truffle/abi-utils/-/abi-utils-0.3.9.tgz#c476f5cfe01072b513b3e93fd7bea05cf7bd9d96" + integrity sha512-G5dqgwRHx5zwlXjz3QT8OJVfB2cOqWwD6DwKso0KttUt/zejhCjnkKq72rSgyeLMkz7wBB9ERLOsupLBILM8MA== + dependencies: + change-case "3.0.2" + fast-check "3.1.1" + web3-utils "1.8.2" + "@truffle/abi-utils@^1.0.0", "@truffle/abi-utils@^1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@truffle/abi-utils/-/abi-utils-1.0.3.tgz#9f0df7a8aaf5e815bee47e0ad26bd4c91e4045f2" @@ -3883,28 +3875,6 @@ semver "^5.6.0" solc "^0.6.0" -"@truffle/compile-solidity@^6.0.54": - version "6.0.66" - resolved "https://registry.yarnpkg.com/@truffle/compile-solidity/-/compile-solidity-6.0.66.tgz#28b432a90766d49530bba6371a7a00f8246e79d9" - integrity sha512-IAOSBRf32kI6SzD3G9ZA8D6Df96TX2G+XW9m8tKEUghYk38NCTqKTg13u6GKrIuDrtTzWw/f/Eq8mn0bTdDoig== - dependencies: - "@truffle/compile-common" "^0.9.4" - "@truffle/config" "^1.3.55" - "@truffle/contract-sources" "^0.2.0" - "@truffle/expect" "^0.1.5" - "@truffle/profiler" "^0.1.47" - axios "1.2.4" - axios-retry "^3.1.9" - debug "^4.3.1" - fs-extra "^9.1.0" - iter-tools "^7.0.2" - lodash "^4.17.21" - node-abort-controller "^3.0.1" - original-require "^1.0.1" - require-from-string "^2.0.2" - semver "7.3.7" - solc "0.8.19" - "@truffle/compile-solidity@^6.0.79": version "6.0.79" resolved "https://registry.yarnpkg.com/@truffle/compile-solidity/-/compile-solidity-6.0.79.tgz#65007b072bd5b32984858b27cd1a72c7c45e50ef" @@ -4003,14 +3973,6 @@ debug "^4.3.1" glob "^7.1.6" -"@truffle/contract-sources@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@truffle/contract-sources/-/contract-sources-0.2.0.tgz#b8dd1a5e985eb8cf507f23a751aa7aadc0645ab4" - integrity sha512-S14SKQW3EGbLip3rBU7i+VtB5ImBfBz6TpviSXxQsYY6Udy+aqJEmTkVKA/KhHeOG6yQyZqvb4dWIbMtEh+tYg== - dependencies: - debug "^4.3.1" - glob "^7.1.6" - "@truffle/contract-sources@^0.2.1": version "0.2.1" resolved "https://registry.yarnpkg.com/@truffle/contract-sources/-/contract-sources-0.2.1.tgz#ecc043a7f5d72f3428a7205a663aefc376b506c7" @@ -4039,7 +4001,7 @@ web3-eth-abi "1.8.1" web3-utils "1.8.1" -"@truffle/contract@^4.0.37", "@truffle/contract@^4.2.3", "@truffle/contract@^4.6.10": +"@truffle/contract@^4.0.37", "@truffle/contract@^4.2.3": version "4.6.20" resolved "https://registry.yarnpkg.com/@truffle/contract/-/contract-4.6.20.tgz#48237b9d3fe3e5019eac2c8ce9794201ae84fdf8" integrity sha512-s7Mbc37L/CF5Apy/cjPnalkgACmG9tTAmcIW28cIZLRLOUAze18pqhtdHryxAQhEOtKGaDAho6TriqL7/74uHw== @@ -4269,11 +4231,6 @@ resolved "https://registry.yarnpkg.com/@truffle/expect/-/expect-0.0.15.tgz#293b773680d3e088b8c102480df55907234db533" integrity sha512-hrIbDRsaEoIkapvY2unw8W5b5qfkz3A3ayxUVxfdPlnevdDUVmvfqfYJrJOSdtbIucwDIhU74VaBPKyiqoTJOw== -"@truffle/expect@^0.1.4", "@truffle/expect@^0.1.5": - version "0.1.5" - resolved "https://registry.yarnpkg.com/@truffle/expect/-/expect-0.1.5.tgz#9b6d3d8e2f3765d8975506d50cd70a47e71161f7" - integrity sha512-CkrR2BbT2ORwy1l39few03JlXysthXQIjWPk8vC2uA8orcUpMv7PWC4AoVbTvE2OgcnbClpYekGFyaQ9iToyAg== - "@truffle/expect@^0.1.7": version "0.1.7" resolved "https://registry.yarnpkg.com/@truffle/expect/-/expect-0.1.7.tgz#290e7822239355f8ec95e4cdf93f171818ddfd1f" @@ -4317,15 +4274,6 @@ ethers "^4.0.32" web3 "1.10.0" -"@truffle/profiler@^0.1.47": - version "0.1.47" - resolved "https://registry.yarnpkg.com/@truffle/profiler/-/profiler-0.1.47.tgz#fee15be5ff2131115762f973228d64d960862f3c" - integrity sha512-CMX6TzlrFFpRb8RoHmlICRbusFPp0F8u0d1GaC2TW1tvfe5Ug4oLjAh5dBGpENDbm9DpMrbHV/2YvAyJzSYa1w== - dependencies: - "@truffle/contract-sources" "^0.2.0" - "@truffle/expect" "^0.1.5" - debug "^4.3.1" - "@truffle/profiler@^0.1.53": version "0.1.53" resolved "https://registry.yarnpkg.com/@truffle/profiler/-/profiler-0.1.53.tgz#7be1d8f11d774738a34d0f41f26956a4eaa7fd92" @@ -4375,7 +4323,7 @@ debug "^4.3.1" web3 "1.10.0" -"@truffle/provisioner@^0.2.0", "@truffle/provisioner@^0.2.70": +"@truffle/provisioner@^0.2.0": version "0.2.78" resolved "https://registry.yarnpkg.com/@truffle/provisioner/-/provisioner-0.2.78.tgz#4aad0b8b911bd5a182637504e9b629015150b1eb" integrity sha512-DFT3n6oXIsvTRwg4/f5RA+iyQB8ivQTyo44JkgUecBgpX1tQ20wRgbfww/018kkeKVix4n9J/CzRJvv3YOve/w== @@ -4389,24 +4337,24 @@ dependencies: "@truffle/config" "^1.3.61" -"@truffle/resolver@9.0.27": - version "9.0.27" - resolved "https://registry.yarnpkg.com/@truffle/resolver/-/resolver-9.0.27.tgz#7c0eaa1cb30ada2951cde44f537baa53fce4c49c" - integrity sha512-sNYMXqyEEtKAp2zkT+NQJ5pTXa41aEUF3HuLi2Sqt+bBKT8RjQoqM7PwNO0DzoLIwmRba8mpLoNMq87ALb8N5Q== - dependencies: - "@ganache/console.log" "0.2.0" - "@truffle/compile-solidity" "^6.0.54" - "@truffle/contract" "^4.6.10" - "@truffle/contract-sources" "^0.2.0" - "@truffle/expect" "^0.1.4" - "@truffle/provisioner" "^0.2.70" - abi-to-sol "^0.6.6" +"@truffle/resolver@9.0.53", "@truffle/resolver@^9.0.35": + version "9.0.53" + resolved "https://registry.yarnpkg.com/@truffle/resolver/-/resolver-9.0.53.tgz#1864463c17b4aa54136ae015a40d19d15a33c97b" + integrity sha512-jYqHIucs6yMCOpKFwnvcW6cfpn/WEWJQ8FN0EUhf0r0HMz9TjG9HnabBZSvfMBFPAmKklGR/GI0GESWf3alpXQ== + dependencies: + "@ganache/console.log" "0.3.0" + "@truffle/compile-solidity" "^6.0.79" + "@truffle/contract" "^4.6.31" + "@truffle/contract-sources" "^0.2.1" + "@truffle/expect" "^0.1.7" + "@truffle/provisioner" "^0.2.84" + abi-to-sol "^0.7.0" debug "^4.3.1" detect-installed "^2.0.4" fs-extra "^9.1.0" get-installed-path "^4.0.8" glob "^7.1.6" - web3-utils "1.8.1" + web3-utils "1.10.0" "@truffle/resolver@^5.0.18": version "5.1.12" @@ -4423,25 +4371,6 @@ source-map-support "^0.5.16" supports-color "^7.1.0" -"@truffle/resolver@^9.0.35": - version "9.0.53" - resolved "https://registry.yarnpkg.com/@truffle/resolver/-/resolver-9.0.53.tgz#1864463c17b4aa54136ae015a40d19d15a33c97b" - integrity sha512-jYqHIucs6yMCOpKFwnvcW6cfpn/WEWJQ8FN0EUhf0r0HMz9TjG9HnabBZSvfMBFPAmKklGR/GI0GESWf3alpXQ== - dependencies: - "@ganache/console.log" "0.3.0" - "@truffle/compile-solidity" "^6.0.79" - "@truffle/contract" "^4.6.31" - "@truffle/contract-sources" "^0.2.1" - "@truffle/expect" "^0.1.7" - "@truffle/provisioner" "^0.2.84" - abi-to-sol "^0.7.0" - debug "^4.3.1" - detect-installed "^2.0.4" - fs-extra "^9.1.0" - get-installed-path "^4.0.8" - glob "^7.1.6" - web3-utils "1.10.0" - "@truffle/source-map-utils@^1.3.111": version "1.3.111" resolved "https://registry.yarnpkg.com/@truffle/source-map-utils/-/source-map-utils-1.3.111.tgz#8ebc52f6a7f7f77f4ff302141c11e09dd7f8a220" @@ -5277,22 +5206,6 @@ abbrev@1.0.x: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135" integrity sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q== -abi-to-sol@^0.6.6: - version "0.6.6" - resolved "https://registry.yarnpkg.com/abi-to-sol/-/abi-to-sol-0.6.6.tgz#2f0b7ea949f7015c1a7939d200b9e8d07f2c3c6d" - integrity sha512-PRn81rSpv6NXFPYQSw7ujruqIP6UkwZ/XoFldtiqCX8+2kHVc73xVaUVvdbro06vvBVZiwnxhEIGdI4BRMwGHw== - dependencies: - "@truffle/abi-utils" "^0.3.0" - "@truffle/contract-schema" "^3.3.1" - ajv "^6.12.5" - better-ajv-errors "^0.8.2" - neodoc "^2.0.2" - semver "^7.3.5" - source-map-support "^0.5.19" - optionalDependencies: - prettier "^2.7.1" - prettier-plugin-solidity "^1.0.0-dev.23" - abi-to-sol@^0.7.0: version "0.7.1" resolved "https://registry.yarnpkg.com/abi-to-sol/-/abi-to-sol-0.7.1.tgz#76d55c35ab2932fda26c224e4194987517324a19" @@ -6038,14 +5951,6 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3" integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== -axios-retry@^3.1.9: - version "3.4.0" - resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.4.0.tgz#f464dbe9408e5aa78fa319afd38bb69b533d8854" - integrity sha512-VdgaP+gHH4iQYCCNUWF2pcqeciVOdGrBBAYUfTY+wPcO5Ltvp/37MLFNCmJKo7Gj3SHvCSdL8ouI1qLYJN3liA== - dependencies: - "@babel/runtime" "^7.15.4" - is-retry-allowed "^2.2.0" - axios-retry@^3.7.0: version "3.8.0" resolved "https://registry.yarnpkg.com/axios-retry/-/axios-retry-3.8.0.tgz#a174af633ef143a9f5642b9e4afe65c2017936b5" @@ -9437,17 +9342,6 @@ ethereumjs-tx@^2.1.1, ethereumjs-tx@^2.1.2: ethereumjs-common "^1.5.0" ethereumjs-util "^6.0.0" -ethereumjs-util@7.1.5, ethereumjs-util@^7.0.10, ethereumjs-util@^7.0.2, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" - integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== - dependencies: - "@types/bn.js" "^5.1.0" - bn.js "^5.1.2" - create-hash "^1.1.2" - ethereum-cryptography "^0.1.3" - rlp "^2.2.4" - ethereumjs-util@^5.0.0, ethereumjs-util@^5.0.1, ethereumjs-util@^5.1.1, ethereumjs-util@^5.1.2, ethereumjs-util@^5.1.5: version "5.2.1" resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz#a833f0e5fca7e5b361384dc76301a721f537bf65" @@ -9474,6 +9368,17 @@ ethereumjs-util@^6.0.0, ethereumjs-util@^6.1.0, ethereumjs-util@^6.2.0: ethjs-util "0.1.6" rlp "^2.2.3" +ethereumjs-util@^7.0.10, ethereumjs-util@^7.0.2, ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: + version "7.1.5" + resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" + integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== + dependencies: + "@types/bn.js" "^5.1.0" + bn.js "^5.1.2" + create-hash "^1.1.2" + ethereum-cryptography "^0.1.3" + rlp "^2.2.4" + ethereumjs-vm@4.1.3: version "4.1.3" resolved "https://registry.yarnpkg.com/ethereumjs-vm/-/ethereumjs-vm-4.1.3.tgz#dc8eb45f47d775da9f0b2437d5e20896fdf66f37" @@ -18163,19 +18068,6 @@ solc@0.5.8: tmp "0.0.33" yargs "^11.0.0" -solc@0.8.19, solc@^0.8: - version "0.8.19" - resolved "https://registry.yarnpkg.com/solc/-/solc-0.8.19.tgz#cac6541106ae3cff101c740042c7742aa56a2ed3" - integrity sha512-yqurS3wzC4LdEvmMobODXqprV4MYJcVtinuxgrp61ac8K2zz40vXA0eSAskSHPgv8dQo7Nux39i3QBsHx4pqyA== - dependencies: - command-exists "^1.2.8" - commander "^8.1.0" - follow-redirects "^1.12.1" - js-sha3 "0.8.0" - memorystream "^0.3.1" - semver "^5.5.0" - tmp "0.0.33" - solc@0.8.21: version "0.8.21" resolved "https://registry.yarnpkg.com/solc/-/solc-0.8.21.tgz#c3cd505c360ea2fa0eaa5ab574ef96bffb1a2766" @@ -18228,6 +18120,19 @@ solc@^0.6.0: semver "^5.5.0" tmp "0.0.33" +solc@^0.8: + version "0.8.19" + resolved "https://registry.yarnpkg.com/solc/-/solc-0.8.19.tgz#cac6541106ae3cff101c740042c7742aa56a2ed3" + integrity sha512-yqurS3wzC4LdEvmMobODXqprV4MYJcVtinuxgrp61ac8K2zz40vXA0eSAskSHPgv8dQo7Nux39i3QBsHx4pqyA== + dependencies: + command-exists "^1.2.8" + commander "^8.1.0" + follow-redirects "^1.12.1" + js-sha3 "0.8.0" + memorystream "^0.3.1" + semver "^5.5.0" + tmp "0.0.33" + solhint@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/solhint/-/solhint-2.3.1.tgz#6fee8fc2635112bf5812f7cba8359c14e9d9a491"