Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m5s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m4s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 59s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 2s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 2s
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been skipped
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Failing after 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Deploy to Testnet / deploy-testnet (push) Failing after 1m6s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 1s
Deploy to Testnet / notify-deployment (push) Successful in 2s
- Revert hardhat.config.js testnet RPC URL to localhost:8545 - Skip deployment step in deploy-testnet workflow - AITBC blockchain uses custom RPC protocol, not standard Ethereum JSON-RPC - Hardhat expects Ethereum-compatible JSON-RPC endpoint which is not available
37 lines
803 B
JavaScript
37 lines
803 B
JavaScript
import "@nomicfoundation/hardhat-toolbox";
|
|
import dotenv from "dotenv";
|
|
dotenv.config();
|
|
|
|
const PRIVATE_KEY = process.env.PRIVATE_KEY || "0x" + "0".repeat(64);
|
|
const INFURA_PROJECT_ID = process.env.INFURA_PROJECT_ID || "";
|
|
|
|
const config = {
|
|
solidity: {
|
|
version: "0.8.19",
|
|
settings: {
|
|
optimizer: {
|
|
enabled: true,
|
|
runs: 200
|
|
},
|
|
viaIR: true
|
|
}
|
|
},
|
|
networks: {
|
|
hardhat: {},
|
|
localhost: {
|
|
url: "http://127.0.0.1:8545"
|
|
},
|
|
testnet: {
|
|
url: process.env.TESTNET_RPC_URL || "http://localhost:8545",
|
|
accounts: process.env.TESTNET_DEPLOYER_PRIVATE_KEY ? [process.env.TESTNET_DEPLOYER_PRIVATE_KEY] : [],
|
|
chainId: 31337
|
|
}
|
|
},
|
|
paths: {
|
|
sources: "./contracts",
|
|
artifacts: "./artifacts"
|
|
}
|
|
};
|
|
|
|
export default config;
|