Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Allow contract constructors in chain spec #3932

Merged
merged 6 commits into from
Dec 23, 2016
Merged

Conversation

keorn
Copy link

@keorn keorn commented Dec 21, 2016

Execute them on the genesis state. No need to manually specify the "storage" fields now.

@keorn keorn added A0-pleasereview 🤓 Pull request needs code review. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M4-core ⛓ Core client code / Rust. labels Dec 21, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.08%) to 85.731% when pulling a1bf76e on spec-constructor into b369939 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 85.84% when pulling a1bf76e on spec-constructor into b369939 on master.

@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 22, 2016
@gavofyork
Copy link
Contributor

any reason for this being onice?

@arkpar
Copy link
Collaborator

arkpar commented Dec 22, 2016

Could've been just code and a list of storage keys in the spec. Constructor code makes it much nicer because you don't have to mess with solidity's representation to initialize the storage.

@gavofyork
Copy link
Contributor

onice -> "on ice"

@arkpar arkpar removed the A1-onice 🌨 Pull request is reviewed well, but should not yet be merged. label Dec 23, 2016
@gavofyork gavofyork merged commit afc4cd2 into master Dec 23, 2016
@gavofyork gavofyork deleted the spec-constructor branch December 23, 2016 17:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants