Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2829] Add accountVersion to MessageFrame #1675

Merged
merged 8 commits into from
Jul 13, 2019

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Jul 11, 2019

PR description

Add the current contract's version to the message frame. For a contract
creation transaction the version is the fork default version.

Fixed Issue(s)

@@ -912,6 +920,11 @@ public Builder contract(final Address contract) {
return this;
}

public Builder contractAccountVersion(final int contractAccountVersion) {
this.contractAccountVersion = contractAccountVersion;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably worth asserting the value is >= 0.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@shemnon shemnon merged commit 4d37101 into PegaSysEng:master Jul 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants