hyperlane-xyz / hyperlane-monorepo

The home for Hyperlane core contracts, sdk packages, and other infrastructure
https://hyperlane.xyz
Other
307 stars 339 forks source link

Support multiple relayer instances #3634

Open daniel-savu opened 5 months ago

daniel-savu commented 5 months ago

Involves sharding delivery by message ID modulo. More specifically:

yorhodes commented 5 months ago

Involves sharding delivery by message ID modulo

interesting, how do you ensure non-overlapping shards? also imo using nonce would be more intuitive

daniel-savu commented 5 months ago

well with modulo, the shards are by definition non-overlapping (e.g. with two relayers, one delivering "odd" message ids, one delivering "even" message ids - so modulo 2). Nonce would be great as well! This was just a half-baked idea that @nambrot had