Skip to content

Commit

Permalink
Node v15 (#28)
Browse files Browse the repository at this point in the history
* Remove web3 and move contracts to dev dependencies

* Add contracts and anchors

* Move contract addresses to devDependencies

* Bump version
  • Loading branch information
makoto authored Nov 16, 2020
1 parent 86d28a0 commit 72e4d2d
Show file tree
Hide file tree
Showing 4 changed files with 1,095 additions and 364 deletions.
2 changes: 1 addition & 1 deletion lib/oracle/oracle.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const artifact = require('@ensdomains/dnssec-oracle/build/contracts/DNSSECImpl.json');
const artifact = require('@ensdomains/contracts/abis/dnssec-oracle/DNSSECImpl.json');
const Web3 = require('web3');
const abi = artifact.abi;
const packet = require('dns-packet');
Expand Down
2 changes: 1 addition & 1 deletion migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var DNSRegistrar = artifacts.require("@ensdomains/dnsregistrar/DNSRegistrar
var ENSRegistry = artifacts.require("@ensdomains/ens/ENSRegistry.sol");

const packet = require('dns-packet');
const dnsAnchors = require('@ensdomains/dnssec-oracle/lib/anchors.js');
const dnsAnchors = require('@ensdomains/dnssec-oracle-anchors');

var sha3 = require('web3').utils.sha3;
var tld = "xyz";
Expand Down
Loading

0 comments on commit 72e4d2d

Please sign in to comment.