fix: remove duplicate registration of DAOGovernanceEnhanced in test setup
Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m12s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 1m11s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 1m13s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 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) Successful in 2s
Cross-Chain Functionality Tests / aggregate-results (push) Has been skipped
Cross-Node Transaction Testing / transaction-test (push) Successful in 10s
Deploy to Testnet / deploy-testnet (push) Successful in 1m16s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m10s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 16s
Smart Contract Tests / test-foundry (push) Failing after 15s
Smart Contract Tests / lint-solidity (push) Successful in 21s
Smart Contract Tests / deploy-contracts (push) Successful in 1m16s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 1s

This commit is contained in:
aitbc
2026-05-02 15:25:06 +02:00
parent 21ca52aa27
commit 683a8d85ac

View File

@@ -72,11 +72,7 @@ describe("Phase 4 Modular Smart Contracts", function () {
ethers.keccak256(ethers.toUtf8Bytes("RewardDistributor")),
await rewardDistributor.getAddress()
);
// StakingPoolFactory and PerformanceAggregator register themselves during initialize()
await contractRegistry.registerContract(
ethers.keccak256(ethers.toUtf8Bytes("DAOGovernanceEnhanced")),
await daoGovernanceEnhanced.getAddress()
);
// StakingPoolFactory, PerformanceAggregator, and DAOGovernanceEnhanced register themselves during initialize()
// PerformanceAggregator registers itself during initialize(), so don't register it here
// Register mock contracts that PerformanceAggregator.initialize() requires