diff --git a/package-lock.json b/package-lock.json index 6b4d40b..c889ad5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,8 +17,8 @@ "@nomicfoundation/hardhat-verify": "^2.0.5", "@openzeppelin/contracts-upgradeable": "4.9.6", "@openzeppelin/hardhat-upgrades": "^3.0.5", - "@tableland/local": "^2.4.1", - "@tableland/sdk": "^6.0.0", + "@tableland/local": "^3.0.0-pre.1", + "@tableland/sdk": "^7.0.0-pre.0", "@typechain/ethers-v6": "^0.5.1", "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.4", @@ -38,7 +38,7 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.6.1", "eslint-plugin-promise": "^6.1.1", - "ethers": "^6.11.1", + "ethers": "^6.12.0", "hardhat": "^2.22.2", "hardhat-contract-sizer": "^2.10.0", "hardhat-gas-reporter": "^2.1.1", @@ -52,7 +52,7 @@ "typescript": "^5.0.2" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" } }, "node_modules/@adraffy/ens-normalize": { @@ -2332,36 +2332,30 @@ } }, "node_modules/@tableland/evm": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@tableland/evm/-/evm-5.0.0.tgz", - "integrity": "sha512-JZeIBtB2Z78sWprHPrbf8//QFNRiznniuj6+GRQmU57Mn9azf85m+GvvRbKqqR1Eil0V2LSvglFH738I5igE1w==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@tableland/evm/-/evm-6.0.0.tgz", + "integrity": "sha512-zvWJGmPiEwKkgikP7ymoGtbtpt9YvLUua+07yC5dWrgA6ZWS0UWsRyzHWTVoK/QYA5pT0itQHvIDz0+d/RcRgQ==", "dev": true, "dependencies": { - "@openzeppelin/contracts": "4.8.3" + "@openzeppelin/contracts": "4.9.6" }, "engines": { - "node": ">=16.0.0" + "node": ">=18.0.0" } }, - "node_modules/@tableland/evm/node_modules/@openzeppelin/contracts": { - "version": "4.8.3", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.3.tgz", - "integrity": "sha512-bQHV8R9Me8IaJoJ2vPG4rXcL7seB7YVuskr4f+f5RyOStSZetwzkWtoqDMl5erkBJy0lDRUnIR2WIkPiC0GJlg==", - "dev": true - }, "node_modules/@tableland/local": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@tableland/local/-/local-2.4.1.tgz", - "integrity": "sha512-zZhVrHKtMMFVZVCb3WmI5WJjnF1EdxS6SMg94pozGE9RzlFjDrfMMWF3zJKEGpWwdlKd0feO9XTnWha12OPzRg==", + "version": "3.0.0-pre.1", + "resolved": "https://registry.npmjs.org/@tableland/local/-/local-3.0.0-pre.1.tgz", + "integrity": "sha512-HoHRqiHsVEHheX3e2IYTzhpTtpv+3tIHe81D9pRn6+bXlsLWDIyJkjDJ9jqIQuKBuAFqD9A36O9oNJk5rYCqdQ==", "dev": true, "hasInstallScript": true, "dependencies": { - "@tableland/sdk": "^5.1.0", - "@tableland/validator": "^1.8.1", + "@tableland/sdk": "^7.0.0-pre.0", + "@tableland/validator": "^1.10.2", "cross-spawn": "^7.0.3", "dotenv": "^16.4.1", "enquirer": "^2.3.6", - "ethers": "^5.7.2", + "ethers": "^6.11.1", "shelljs": "^0.8.5", "yargs": "^17.5.1" }, @@ -2369,145 +2363,19 @@ "local-tableland": "dist/esm/up.js" }, "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@tableland/local/node_modules/@openzeppelin/contracts": { - "version": "4.8.3", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.8.3.tgz", - "integrity": "sha512-bQHV8R9Me8IaJoJ2vPG4rXcL7seB7YVuskr4f+f5RyOStSZetwzkWtoqDMl5erkBJy0lDRUnIR2WIkPiC0GJlg==", - "dev": true - }, - "node_modules/@tableland/local/node_modules/@tableland/evm": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@tableland/evm/-/evm-4.5.1.tgz", - "integrity": "sha512-FoFSmN4nBYo1a9PMfgXusxaSAWlllPi9e5k0TtGIUayyeanLilYKJ2fJAzPWMmWy4AAoqid7aDUCKdP21uGVeg==", - "dev": true, - "dependencies": { - "@openzeppelin/contracts": "4.8.3" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@tableland/local/node_modules/@tableland/sdk": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/@tableland/sdk/-/sdk-5.2.0.tgz", - "integrity": "sha512-tqu6ByCm4oz1Ml/bZBeBYPeEsxW6pqbNY+VGV+PQ+UFpMU+cf4T202hki4s69F2nnE3HpgaPrXPKYD8Z55pU+Q==", - "dev": true, - "dependencies": { - "@async-generators/from-emitter": "^0.3.0", - "@tableland/evm": "^4.5.0", - "@tableland/sqlparser": "^1.3.0", - "ethers": "^5.7.2" - } - }, - "node_modules/@tableland/local/node_modules/ethers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", - "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abi": "5.7.0", - "@ethersproject/abstract-provider": "5.7.0", - "@ethersproject/abstract-signer": "5.7.0", - "@ethersproject/address": "5.7.0", - "@ethersproject/base64": "5.7.0", - "@ethersproject/basex": "5.7.0", - "@ethersproject/bignumber": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/constants": "5.7.0", - "@ethersproject/contracts": "5.7.0", - "@ethersproject/hash": "5.7.0", - "@ethersproject/hdnode": "5.7.0", - "@ethersproject/json-wallets": "5.7.0", - "@ethersproject/keccak256": "5.7.0", - "@ethersproject/logger": "5.7.0", - "@ethersproject/networks": "5.7.1", - "@ethersproject/pbkdf2": "5.7.0", - "@ethersproject/properties": "5.7.0", - "@ethersproject/providers": "5.7.2", - "@ethersproject/random": "5.7.0", - "@ethersproject/rlp": "5.7.0", - "@ethersproject/sha2": "5.7.0", - "@ethersproject/signing-key": "5.7.0", - "@ethersproject/solidity": "5.7.0", - "@ethersproject/strings": "5.7.0", - "@ethersproject/transactions": "5.7.0", - "@ethersproject/units": "5.7.0", - "@ethersproject/wallet": "5.7.0", - "@ethersproject/web": "5.7.1", - "@ethersproject/wordlists": "5.7.0" + "node": ">=18.0.0" } }, "node_modules/@tableland/sdk": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@tableland/sdk/-/sdk-6.0.0.tgz", - "integrity": "sha512-3gpwiC2XOSUHq0M5kHfSl6mB2vDX9xPb+ZiNuiPzSN3EZaIBsA6IJZzWzlinc6Nnmaxz1V1ZR4sUowMeMF0Hag==", + "version": "7.0.0-pre.0", + "resolved": "https://registry.npmjs.org/@tableland/sdk/-/sdk-7.0.0-pre.0.tgz", + "integrity": "sha512-VsDT/SOFpyyEvizCeD505UW0Sa4s+bcmWqbbCOjhQFj4Xy0o4tQZzL55B/87X0YXl+jOABiT8ec4zkQM6SU3JA==", "dev": true, "dependencies": { "@async-generators/from-emitter": "^0.3.0", - "@tableland/evm": "^5.0.0", + "@tableland/evm": "^6.0.0", "@tableland/sqlparser": "^1.3.0", - "ethers": "^5.7.2" - } - }, - "node_modules/@tableland/sdk/node_modules/ethers": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.7.2.tgz", - "integrity": "sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abi": "5.7.0", - "@ethersproject/abstract-provider": "5.7.0", - "@ethersproject/abstract-signer": "5.7.0", - "@ethersproject/address": "5.7.0", - "@ethersproject/base64": "5.7.0", - "@ethersproject/basex": "5.7.0", - "@ethersproject/bignumber": "5.7.0", - "@ethersproject/bytes": "5.7.0", - "@ethersproject/constants": "5.7.0", - "@ethersproject/contracts": "5.7.0", - "@ethersproject/hash": "5.7.0", - "@ethersproject/hdnode": "5.7.0", - "@ethersproject/json-wallets": "5.7.0", - "@ethersproject/keccak256": "5.7.0", - "@ethersproject/logger": "5.7.0", - "@ethersproject/networks": "5.7.1", - "@ethersproject/pbkdf2": "5.7.0", - "@ethersproject/properties": "5.7.0", - "@ethersproject/providers": "5.7.2", - "@ethersproject/random": "5.7.0", - "@ethersproject/rlp": "5.7.0", - "@ethersproject/sha2": "5.7.0", - "@ethersproject/signing-key": "5.7.0", - "@ethersproject/solidity": "5.7.0", - "@ethersproject/strings": "5.7.0", - "@ethersproject/transactions": "5.7.0", - "@ethersproject/units": "5.7.0", - "@ethersproject/wallet": "5.7.0", - "@ethersproject/web": "5.7.1", - "@ethersproject/wordlists": "5.7.0" + "ethers": "^6.11.1" } }, "node_modules/@tableland/sqlparser": { @@ -2517,9 +2385,9 @@ "dev": true }, "node_modules/@tableland/validator": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/@tableland/validator/-/validator-1.8.1.tgz", - "integrity": "sha512-8A2oNjNlvJnydSZWFFcFwGrLv/cFu6r2KPY5UgMXdMQxciKQzJ7XmGJODflKSpr2jwMLQV+oqSzlTmr08pQdow==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/@tableland/validator/-/validator-1.10.2.tgz", + "integrity": "sha512-msGDUcJPu/ecD/Wvcggivj6KMk9KIqpE4qzw3O5uSkGEA2Sy46/WoRzw8BhvWPpv7r3tHPAC8o7qrrR8P2oG0g==", "dev": true }, "node_modules/@tsconfig/node10": { @@ -5617,9 +5485,9 @@ } }, "node_modules/ethers": { - "version": "6.11.1", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.11.1.tgz", - "integrity": "sha512-mxTAE6wqJQAbp5QAe/+o+rXOID7Nw91OZXvgpjDa1r4fAbq2Nu314oEZSbjoRLacuCzs7kUC3clEvkCQowffGg==", + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.12.0.tgz", + "integrity": "sha512-zL5NlOTjML239gIvtVJuaSk0N9GQLi1Hom3ZWUszE5lDTQE/IVB62mrPkQ2W1bGcZwVGSLaetQbWNQSvI4rGDQ==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index 03e7537..92c9ed8 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "@nomicfoundation/hardhat-verify": "^2.0.5", "@openzeppelin/contracts-upgradeable": "4.9.6", "@openzeppelin/hardhat-upgrades": "^3.0.5", - "@tableland/local": "^2.4.1", - "@tableland/sdk": "^6.0.0", + "@tableland/local": "^3.0.0-pre.1", + "@tableland/sdk": "^7.0.0-pre.0", "@typechain/ethers-v6": "^0.5.1", "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.4", @@ -81,7 +81,7 @@ "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.6.1", "eslint-plugin-promise": "^6.1.1", - "ethers": "^6.11.1", + "ethers": "^6.12.0", "hardhat": "^2.22.2", "hardhat-contract-sizer": "^2.10.0", "hardhat-gas-reporter": "^2.1.1", diff --git a/test/integration/e2e.test.mjs b/test/integration/e2e.test.mjs index 8280541..422d23d 100644 --- a/test/integration/e2e.test.mjs +++ b/test/integration/e2e.test.mjs @@ -283,7 +283,7 @@ describe("Validator, Chain, and SDK work end to end", function () { ) .run(); })() - ).to.be.rejectedWith(`reverted with custom error 'Unauthorized()'`); + ).to.be.rejectedWith(/execution reverted (unknown custom error)*/); }); it("set controller", async function () {