diff --git a/.github/workflows/1.yml b/.github/workflows/1.yml index f859ba738a..60739a88b7 100644 --- a/.github/workflows/1.yml +++ b/.github/workflows/1.yml @@ -1,5 +1,5 @@ name: deploy-hardhat - + on: pull_request: branches: [ "master" ] diff --git a/.github/workflows/deploy.sh b/.github/workflows/deploy.sh new file mode 100755 index 0000000000..1d21893a74 --- /dev/null +++ b/.github/workflows/deploy.sh @@ -0,0 +1,5 @@ +git add . + +git commit -m "Testing deployment" + +git push origin new_branch diff --git a/.github/workflows/docker-deploy.yml b/.github/workflows/docker-deploy.yml index 5e3f27bbd4..d40cfac472 100644 --- a/.github/workflows/docker-deploy.yml +++ b/.github/workflows/docker-deploy.yml @@ -1,5 +1,5 @@ name: deploy-hardhat - + on: pull_request: branches: [ "master" ] diff --git a/hardhat/hardhat.config.js b/hardhat/hardhat.config.js index 8ba99bc91c..711ea7f6c7 100644 --- a/hardhat/hardhat.config.js +++ b/hardhat/hardhat.config.js @@ -3,4 +3,9 @@ require("@nomicfoundation/hardhat-toolbox"); /** @type import('hardhat/config').HardhatUserConfig */ module.exports = { solidity: "0.8.24", + networks: { + devnet: { + url: "http://localhost:8545", + }, + }, }; diff --git a/hardhat/package.json b/hardhat/package.json index ef3f38a9a2..1885097648 100644 --- a/hardhat/package.json +++ b/hardhat/package.json @@ -1,10 +1,10 @@ { - "name": "hardhat-pacage", + "name": "hardhat-package", "version": "1.0.0", "description": "denis hardhat project", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "hardhat test" }, "repository": { "type": "git", @@ -18,6 +18,9 @@ "homepage": "https://github.com/denislav-mladenov/go-ethereum#readme", "devDependencies": { "@nomicfoundation/hardhat-toolbox": "^5.0.0", - "hardhat": "^2.22.6" + "hardhat": "^2.22.5", + "@nomiclabs/hardhat-waffle": "^2.0.0", + "ethereum-waffle": "^3.4.0", + "chai": "^4.3.4" } }