Allow invoking ephemeral contracts #1456
kalepail
started this conversation in
Core Advancement Proposals
Replies: 1 comment
-
I agree with what @dmkozh said in the thread:
And yes, I think that developers should be able to orchestrate a set of invocations atomically in a simple way without having to upload contracts and think about lifetimes at all. (Changing the title a bit to match the requirement) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Original discussion on Discord
As far as I’m aware contract code and contract instances must be persistent entries. Would it be possible to allow for these to be temporary entries? I’ve already noticed a few occasions where I’m deploying and invoking an ephemeral contract. Either for a test I really want to execute on mainnet or more legitimately there’s a function I want to run once or at least really infrequently such that redeploying a new contract or wasm later on would be acceptable.
Idk if others feel the same or have additional use cases but here are a few that come to my mind:
Temporary entries are significantly cheaper than persistent and being able to leverage that for code and contracts I think would incentivize more experimentation and exploration of use cases we've never seen on chain before due to it's typical permanence and subsequent high costs.
Beta Was this translation helpful? Give feedback.
All reactions