Skip to content

Commit

Permalink
Steal some tokens from rich users for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Sep 3, 2024
1 parent d69493a commit c8a15e5
Show file tree
Hide file tree
Showing 7 changed files with 948 additions and 417 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/lint.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
with:
node-version: '20'
- run: npm ci
- run: npm run lint
- run: npx hardhat node &
- run: npm test
env:
Expand Down
14 changes: 13 additions & 1 deletion hardhat.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
import "@nomicfoundation/hardhat-ethers";

/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.24",
networks: {
hardhat: {
chainId: 1,
hardfork: "shanghai",
// base fee of 0 allows use of 0 gas price when testing
initialBaseFeePerGas: 0,
// brownie expects calls and transactions to throw on revert
throwOnTransactionFailures: true,
throwOnCallFailures: true
}
}
};
Loading

0 comments on commit c8a15e5

Please sign in to comment.