Skip to content

feat: Add comprehensive tests for CrossChainBridge functionality#227

Merged
ONEONUORA merged 3 commits into
Fracverse:masterfrom
ayinde38:issue-154-155
May 26, 2026
Merged

feat: Add comprehensive tests for CrossChainBridge functionality#227
ONEONUORA merged 3 commits into
Fracverse:masterfrom
ayinde38:issue-154-155

Conversation

@ayinde38
Copy link
Copy Markdown

  • Add cross-chain bridge contract for Stellar ↔ EVM asset transfers
  • Lock-and-mint / burn-and-release model with relayer authorization
  • Support for Ethereum and Polygon chains
  • Inbound flow: relayers claim locked tokens and mint on Stellar
  • Outbound flow: users lock tokens on Stellar for EVM minting
  • Timeout-based refunds for stuck outbound transfers (~7 days)
  • Reentrancy guard and nonce replay protection
  • Emergency pause capability for circuit breaker functionality
  • Per-transfer min/max amount limits and chain allowlist
  • Comprehensive test coverage for all flows and edge cases
  • Add escrow contract for secure multi-party transactions
  • Update workspace Cargo.toml to include new bridge and escrow contracts
  • Update Cargo.lock with new contract dependencies
  • Enhance reputation score contract with additional test coverage
  • Implement checks-effects-interactions pattern throughout for security

Closes: #154
Closes: #155

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 26, 2026

@ayinde38 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ONEONUORA ONEONUORA merged commit 0732282 into Fracverse:master May 26, 2026
2 of 9 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.

Contract: Implement Cross-Chain Bridge Contract Contract: Add Reputation Scoring Logic

2 participants