fix: Fix Foundry dependencies and TreasuryManager verification
Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m14s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 59s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 59s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 1s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 1s
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 1m0s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 1s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m1s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 9s
Smart Contract Tests / test-foundry (push) Failing after 5s
Smart Contract Tests / lint-solidity (push) Successful in 14s
Smart Contract Tests / deploy-contracts (push) Successful in 1m10s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 1s
Deploy to Testnet / notify-deployment (push) Successful in 2s
Some checks failed
Contract Performance Benchmarks / benchmark-gas-usage (push) Successful in 1m14s
Contract Performance Benchmarks / benchmark-execution-time (push) Successful in 59s
Contract Performance Benchmarks / benchmark-throughput (push) Successful in 59s
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Successful in 1s
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Successful in 1s
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 1m0s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 1s
Smart Contract Tests / test-solidity (map[name:aitbc-contracts path:contracts]) (push) Failing after 1m1s
Smart Contract Tests / test-solidity (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Successful in 9s
Smart Contract Tests / test-foundry (push) Failing after 5s
Smart Contract Tests / lint-solidity (push) Successful in 14s
Smart Contract Tests / deploy-contracts (push) Successful in 1m10s
Contract Performance Benchmarks / compare-benchmarks (push) Successful in 1s
Deploy to Testnet / notify-deployment (push) Successful in 2s
- Add forge install OpenZeppelin/openzeppelin-contracts to workflow - Fix TreasuryManager verification - use treasuryToken() instead of token()
This commit is contained in:
@@ -134,6 +134,10 @@ jobs:
|
||||
|
||||
echo "=== Running Foundry Tests ==="
|
||||
|
||||
# Install OpenZeppelin dependencies
|
||||
forge install OpenZeppelin/openzeppelin-contracts --no-commit
|
||||
echo "✅ OpenZeppelin dependencies installed"
|
||||
|
||||
# Build contracts
|
||||
forge build
|
||||
echo "✅ Foundry build completed"
|
||||
|
||||
@@ -149,7 +149,7 @@ async function verifyContract(name, address) {
|
||||
const owner = await contract.owner();
|
||||
console.log(` Owner: ${owner}`);
|
||||
} else if (name === "TreasuryManager") {
|
||||
const token = await contract.token();
|
||||
const token = await contract.treasuryToken();
|
||||
console.log(` Token: ${token}`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user