Skip to content

Conversation

kayagokalp
Copy link
Member

Related to #7346

Summary

  • Adds support for network-specific proxy addresses to solve multi-network deployment fragility
  • Enables robust deployment workflows across testnet, mainnet, devnet, and local networks
  • Maintains full backward compatibility with existing single proxy address configuration

Changes

  • Proxy Configuration: Added addresses table for network-specific proxy addresses
  • Network Resolution: Automatic network detection and proxy address resolution during deployment
  • Manifest Updates: Network-aware proxy address writing and migration from single to multi-network format
  • Validation: Mutual exclusivity validation between address and addresses fields
  • Documentation: Updated with examples and migration guidance

Configuration Examples

Before (single network):

[proxy]
enabled = true
address = "0x1234..."

After (multi-network):

[proxy]
enabled = true

[proxy.addresses]
testnet = "0x1234..."
mainnet = "0x5678..."

Testing

  • Comprehensive unit tests for network resolution and validation
  • Integration tests for deployment workflows
  • Backward compatibility verification

Copy link

codspeed-hq bot commented Aug 26, 2025

CodSpeed Performance Report

Merging #7355 will not alter performance

Comparing kayagokalp/proxy-multi-env (76c76a1) with master (6981d3d)

Summary

✅ 25 untouched benchmarks

@kayagokalp kayagokalp self-assigned this Aug 26, 2025
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.

1 participant