refactor: convert deploy_aitoken_staging.js to ES6 module syntax
Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m12s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m12s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m12s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Failing after 3s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 3s
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) Successful in 1m19s
Security Scanning / security-scan (push) Successful in 34s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m23s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 18s
Smart Contract Tests / test-foundry (push) Failing after 33s
Smart Contract Tests / lint-solidity (push) Successful in 24s
Smart Contract Tests / deploy-contracts (push) Successful in 1m28s
Node Failover Simulation / failover-test (push) Failing after 4s
Multi-Node Stress Testing / stress-test (push) Successful in 5s
Cross-Node Transaction Testing / transaction-test (push) Successful in 4s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 4s

- Changed require("hardhat") to import statement
- Updated from CommonJS to ES6 module format
This commit is contained in:
aitbc
2026-05-11 13:54:15 +02:00
parent e4f1a96172
commit 3105189d4c

View File

@@ -1,4 +1,4 @@
const hre = require("hardhat"); import hre from "hardhat";
async function main() { async function main() {
console.log("Deploying AIToken to testnet..."); console.log("Deploying AIToken to testnet...");