Skip to content

Commit

Permalink
fix(@agora): AG-18 fixed unit test
Browse files Browse the repository at this point in the history
n
  • Loading branch information
g3k0 committed Mar 28, 2024
1 parent 29309c5 commit 26d44d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:

- name: Run smart contracts unit tests
run: npm run test-contracts
env:
ALCHEMY_PRIVATE_KEY: ${{ secrets.ALCHEMY_PRIVATE_KEY }}
GOERLI_URL: ${{ secrets.GOERLI_URL }}

- name: Run scripts unit tests
run: npm run test-scripts
4 changes: 2 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import "hardhat-gas-reporter";
import "hardhat-deploy";

const GOERLI_URL: string = process.env.GOERLI_URL || "";
const PRIVATE_KEY: string = process.env.PRIVATE_KEY || "";
const ALCHEMY_PRIVATE_KEY: string = process.env.ALCHEMY_PRIVATE_KEY || "";

const config: HardhatUserConfig = {
solidity: "0.8.24",
Expand All @@ -18,7 +18,7 @@ const config: HardhatUserConfig = {
networks: {
goerli: {
url: GOERLI_URL,
accounts: [PRIVATE_KEY],
accounts: [ALCHEMY_PRIVATE_KEY],
},
},
};
Expand Down

0 comments on commit 26d44d0

Please sign in to comment.