Skip to content

Conversation

@ByteYue
Copy link
Contributor

@ByteYue ByteYue commented Jan 22, 2026

Description

feat: extend oracle task configuration with bridge support

  • Add source enumeration functions to OracleTaskConfig:

    • getSourceTypes(): get all registered source types
    • getSourceIds(): get all source IDs for a given type
    • getAllTasks(): get all tasks across all sources
    • FullTaskInfo struct for batch queries
  • Extend genesis configuration to support oracle tasks:

    • Add OracleTaskParams struct for task configuration
    • Add BridgeConfig for trusted bridge setup
    • Support task initialization during genesis
    • Add blockchain source type (sourceType 0) alongside JWK (sourceType 1)
  • Add test framework for bridge interaction:

    • BridgeInteraction.s.sol: bridge interaction script
    • DeployBridgeLocal.s.sol: local deployment script
    • start_anvil.sh: launch anvil testnet with contract deployment
    • bridge_test.sh: trigger bridge events and display details
    • stop_anvil.sh: cleanup testnet
    • MockGToken.sol: test utility contract
  • Add documentation:

    • scripts/README.md: comprehensive usage guide

Type of Change

  • 📚 Documentation (Non-breaking change; Changes in the documentation)
  • 🔧 Bug fix (Non-breaking change; Fixes an existing bug)
  • 🥂 Improvement (Non-breaking change; Improves existing feature)
  • 🚀 New feature (Non-breaking change; Adds functionality)
  • 🔐 Security fix (Non-breaking change; Patches a security issue)
  • 💥 Breaking change (Breaks existing functionality)

@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Thu Jan 22 06:48:10 UTC 2026
Commit: 409ff60
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Fri Jan 23 05:47:55 UTC 2026
Commit: 04a5a80
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Mon Jan 26 16:16:29 UTC 2026
Commit: a76484e
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@ByteYue ByteYue force-pushed the extend_oracle_task branch 2 times, most recently from 5d4584f to 15dbe43 Compare January 28, 2026 03:48
@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Wed Jan 28 04:51:28 UTC 2026
Commit: 1a6f794
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@ByteYue ByteYue force-pushed the extend_oracle_task branch 3 times, most recently from ebc987b to c1f4989 Compare January 28, 2026 10:16
@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Wed Jan 28 11:15:10 UTC 2026
Commit: 48f6b94
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Wed Jan 28 11:16:27 UTC 2026
Commit: c00e1e9
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Wed Jan 28 11:19:11 UTC 2026
Commit: 87c7ff4
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@ByteYue ByteYue force-pushed the extend_oracle_task branch from c1f4989 to 18f1c96 Compare January 28, 2026 15:56
@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Wed Jan 28 16:59:17 UTC 2026
Commit: 0178cf9
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

add test trigger framework

add readme

add oracle task config
@ByteYue ByteYue force-pushed the extend_oracle_task branch from 18f1c96 to f2a5535 Compare January 29, 2026 02:31
@github-actions
Copy link

🛡️ Security Audit Results

Security Audit Summary

Generated on: Thu Jan 29 03:34:17 UTC 2026
Commit: 65c1872
Branch: 16/merge

Tools Executed

  • ✅ Slither: 1 reports
  • ✅ Mythril: 1 reports
  • ✅ 4naly3er: 1 reports
  • ✅ Aderyn: 0 reports

Next Steps

  1. Review all generated reports in the audit/ directory
  2. Prioritize High and Medium severity issues
  3. Address findings before deployment
  4. Consider additional manual security review

📁 Full reports available in GitHub Actions Artifacts

@ByteYue ByteYue merged commit 4558ae8 into main Jan 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants