2024-07-25
· One min read
A Core Dev, Dima, discussed the proposal to add constructor support to Soroban, Stellar's smart contract system.
Relevant links: Draft CAP, Ongoing discussion, Motivating Discord Thread
Key points discussed:
- The proposal improves usability of Soroban for contract and SDK developers. A constructor gaurantees contract initialization thus reducing overhead contract code that's usually added to ensure initialization.
- There was general agreement for the proposal, questions were primarily implementation-focused like whether constructors should handle arguments, what should happen with upgrades, backwards comptability with contract creation functions, and behaviour on wasm update.
- The high impact topic of naming is put to ecosystem vote, please cast yours here.