Skip to content

Commit

Permalink
Merge pull request #1479 from kaleido-io/upgrade-hardhat
Browse files Browse the repository at this point in the history
Upgrade to hardhat-toolbox for batch bin and custom pin contracts
  • Loading branch information
nguyer authored Mar 22, 2024
2 parents 23af4de + b36260b commit 49410c5
Show file tree
Hide file tree
Showing 11 changed files with 9,288 additions and 21,865 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "16.x"
node-version: "20.x"
- run: npm ci
working-directory: ./smart_contracts/ethereum/solidity_firefly
- run: npm run test
Expand Down
18 changes: 7 additions & 11 deletions smart_contracts/ethereum/custompin_sample/hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { HardhatUserConfig } from 'hardhat/config';
import '@nomiclabs/hardhat-etherscan';
import '@nomiclabs/hardhat-waffle';
import '@typechain/hardhat';
import 'hardhat-gas-reporter';
import 'solidity-coverage';
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";

// You need to export an object to set up your config
// Go to https://hardhat.org/config/ to learn more
Expand All @@ -12,17 +8,17 @@ const config: HardhatUserConfig = {
solidity: "0.8.4",
defaultNetwork: "firefly-cli",
networks: {
'firefly-cli': {
url: "http://127.0.0.1:5100"
}
"firefly-cli": {
url: "http://127.0.0.1:5100",
},
},
gasReporter: {
enabled: process.env.REPORT_GAS !== undefined,
currency: 'USD',
currency: "USD",
},
etherscan: {
apiKey: process.env.ETHERSCAN_API_KEY,
},
};

export default config;
export default config;
Loading

0 comments on commit 49410c5

Please sign in to comment.