stellar / rs-soroban-env

Rust environment for Soroban contracts.
Apache License 2.0
61 stars 42 forks source link

Add support for contract constructors (CAP-58) #1438

Closed dmkozh closed 1 month ago

dmkozh commented 2 months ago

This is a tracking issue for CAP-58 implementation. The change is relatively small can will likely contain just a few per-repo components:

anupsdf commented 1 month ago

Isn't there calibration / metering needed for the new host function create_contract_with_constructor?

dmkozh commented 1 month ago

Nope, this uses the building blocks that already exist. We only need to add new cost types when we're doing new and non-trivial work (typically calling a third-party library, e.g. for crypto).