Skip to content

encourage use of instances over separate wasms #1596

@graydon

Description

@graydon

We've heard feedback that users seem to be uploading multiple wasms (and paying the comparatively high storage costs for them) in cases where it might make more sense (and be much cheaper) to upload a single wasm and create multiple instances of it (with varying parameters / instance storage).

Things to do here:

  • make a list of actual contract-families where this seems to be a problem
  • possibly improve docs to clarify the cost savings benefit of using multiple instances
  • possibly investigate open-zeppelin compile-time gating of contract features
  • possibly make a catalogue of reusable contract code entries that are already on-chain
  • possibly continue working on build reproducibility in case that's a main cause
  • possibly find other causes of this pattern (NFTs?)

Also open to other explanations! Please comment if you have ideas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions