diff --git a/packages/ensjs/archive.tar.lz4 b/packages/ensjs/archive.tar.lz4 index 678e5e73..6465afa5 100644 Binary files a/packages/ensjs/archive.tar.lz4 and b/packages/ensjs/archive.tar.lz4 differ diff --git a/packages/ensjs/deploy/01_universal_resolver_v2.cjs b/packages/ensjs/deploy/01_universal_resolver_v2.cjs deleted file mode 100644 index f7aa8b21..00000000 --- a/packages/ensjs/deploy/01_universal_resolver_v2.cjs +++ /dev/null @@ -1,34 +0,0 @@ -const { readFile } = require('fs/promises') -const { resolve } = require('path') - -const getArtifact = async () => { - const artifact = JSON.parse( - await readFile(resolve('./contracts/UniversalResolverv2.json'), 'utf8'), - ) - return artifact -} - -/** - * @type {import('hardhat-deploy/types').DeployFunction} - */ -const func = async function (hre) { - const { getNamedAccounts, deployments } = hre - const { deploy } = deployments - const { deployer } = await getNamedAccounts() - - const registry = await hre.ethers.getContract('ENSRegistry') - - console.log('RUNNING TEMP UNIVERSALRESOLVER v2 DEPLOYMENT...') - console.log('THIS SHOULD BE REMOVED BEFORE MERGE') - - await deploy('UniversalResolver', { - from: deployer, - args: [registry.address, ['http://0.0.0.0:8787']], - log: true, - contract: await getArtifact(), - }) -} - -func.dependencies = ['registry', 'UniversalResolver'] - -module.exports = func diff --git a/packages/ensjs/package.json b/packages/ensjs/package.json index 2013c7a5..dcc3785f 100644 --- a/packages/ensjs/package.json +++ b/packages/ensjs/package.json @@ -110,7 +110,7 @@ }, "devDependencies": { "@ensdomains/buffer": "^0.0.13", - "@ensdomains/ens-contracts": "0.0.22", + "@ensdomains/ens-contracts": "1.0.0", "@ensdomains/ens-test-env": "workspace:*", "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers", "@openzeppelin/contracts": "^4.5.0", @@ -122,8 +122,8 @@ "@types/jest": "^27.4.1", "@types/node": "^20.3.3", "@types/pako": "^2.0.0", - "cbor": "^8.1.0", "@types/traverse": "^0.6.32", + "cbor": "^8.1.0", "dotenv": "^16.0.0", "esbuild": "^0.15.6", "eslint-plugin-jest": "^27.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01e296e2..3caae4d3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -102,7 +102,7 @@ importers: '@ensdomains/buffer': ^0.0.13 '@ensdomains/content-hash': 3.1.0-rc.0 '@ensdomains/dnsprovejs': ^0.5.0 - '@ensdomains/ens-contracts': 0.0.22 + '@ensdomains/ens-contracts': 1.0.0 '@ensdomains/ens-test-env': workspace:* '@nomiclabs/hardhat-ethers': npm:hardhat-deploy-ethers@0.3.0-beta.13 '@openzeppelin/contracts': ^4.5.0 @@ -156,7 +156,7 @@ importers: traverse: 0.6.6 devDependencies: '@ensdomains/buffer': 0.0.13_hardhat@2.16.1 - '@ensdomains/ens-contracts': 0.0.22 + '@ensdomains/ens-contracts': 1.0.0 '@ensdomains/ens-test-env': link:../ens-test-env '@nomiclabs/hardhat-ethers': /hardhat-deploy-ethers/0.3.0-beta.13_drbn5rr2wg6skrabufgggpzpcu '@openzeppelin/contracts': 4.7.3 @@ -655,13 +655,13 @@ packages: typescript-logging: 1.0.1 dev: false - /@ensdomains/ens-contracts/0.0.22: - resolution: {integrity: sha512-kNu7pp68/5KfJ5wkswnUS4NfI9Ek4zGi0nnNSmGf1WXs6BHU9NYRVR6NnoVzb1B+cZ658e1v2srTtvmBYYIYzg==} + /@ensdomains/ens-contracts/1.0.0: + resolution: {integrity: sha512-NB5fig+TuaAkdW3uVshO/vuI/BNWus8MkpdDCzx6S797j7gRrDbKfcVHHDH5rBmj8Yp0/jCR1LU4DHaU5oxO0Q==} dependencies: '@ensdomains/buffer': 0.1.1 '@ensdomains/solsha1': 0.0.3 '@openzeppelin/contracts': 4.7.3 - dns-packet: 5.4.0 + dns-packet: 5.6.1 dev: true /@ensdomains/ens/0.4.5: @@ -4191,13 +4191,13 @@ packages: engines: {node: '>=6'} dependencies: '@leichtgewicht/ip-codec': 2.0.4 + dev: false /dns-packet/5.6.1: resolution: {integrity: sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==} engines: {node: '>=6'} dependencies: '@leichtgewicht/ip-codec': 2.0.4 - dev: false /docker-compose/0.23.17: resolution: {integrity: sha512-YJV18YoYIcxOdJKeFcCFihE6F4M2NExWM/d4S1ITcS9samHKnNUihz9kjggr0dNtsrbpFNc7/Yzd19DWs+m1xg==}