Right now, ERC-5189 does not specify a message schema for passing operations among peers.
This bundler uses libp2p GossipSub as a temporary solution for this, with peers subscribing to:
ERC5189:pool:op:<chain-id> and ERC5189:pool:archive:<chain-id>, and they pass around JSON marshalled messages. It would be better if either ERC-5189 or some standard could specify how these messages should be passed among peers.
Additionally, it may be worth it to use this opportunity to move to protobuf instead of JSON.
Right now, ERC-5189 does not specify a message schema for passing operations among peers.
This bundler uses
libp2p GossipSub
as a temporary solution for this, with peers subscribing to:ERC5189:pool:op:<chain-id>
andERC5189:pool:archive:<chain-id>
, and they pass around JSON marshalled messages. It would be better if either ERC-5189 or some standard could specify how these messages should be passed among peers.Additionally, it may be worth it to use this opportunity to move to protobuf instead of JSON.