Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement eureka bind_port #2122

Open
jawoznia opened this issue Feb 10, 2025 · 0 comments
Open

Implement eureka bind_port #2122

jawoznia opened this issue Feb 10, 2025 · 0 comments

Comments

@jawoznia
Copy link
Collaborator

if eu_recv_packet is present and the ContractInfo::eureka_port is None we should bind a port and set it in the ContractInfo::eureka_port on:

  • instantiate
  • migrate

Pass a closure impl Fn(Addr) -> Result<String> on WasmKeeper creation that binds the port and returns the bounded port. Default implementation should call bindPort(format!("wasm.{addr}")).

jawoznia added a commit that referenced this issue Feb 11, 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

No branches or pull requests

1 participant