Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add unique processId creation in PolicyController, adapt+amend tests #17

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

matthiaszimmermann
Copy link
Contributor

No description provided.

@matthiaszimmermann matthiaszimmermann merged commit c1bc559 into master Aug 9, 2022
@matthiaszimmermann matthiaszimmermann deleted the feature/create-unique-process-ids branch August 9, 2022 13:55
@matthiaszimmermann
Copy link
Contributor Author

review still pending

@@ -31,18 +31,19 @@ contract PolicyController is
mapping(bytes32 => mapping(uint256 => Payout)) public payouts;
mapping(bytes32 => uint256) public payoutCount;

bytes32[] private _processIds;
uint256 private _processIds;
Copy link
Contributor

Choose a reason for hiding this comment

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

This name should be changed to _processId or _lastProcessId.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

renamed member to "_assignedProcessIds", committed on master

@@ -442,6 +442,18 @@ contract PolicyController is
}

function processIds() external view returns (uint256) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be changed accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants