Skip to content

improve local deploy handling #680

Closed
@holic

Description

Just an idea that might help us create more visibility in clients about what is going on under the hood while they wait for their dev:contracts service to boot up or mud deploy to execute:

  • use CREATE3 for a deterministic world address, write the world address to disk before deploying
  • emit an event (e.g. emit Init()) in the world constructor that represents a deploy, so we can query/poll the RPC for it rather than waiting for a block number (I wish ~all contracts did this)
  • move to a single deploys.json file with all the chains -> world addresses to help with vite (messy dynamic imports) and vercel (has a hard time locating static files for dynamic imports)

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions