Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Add danseBlockNumber to iele config #1

Merged
merged 2 commits into from
Oct 11, 2018
Merged

Conversation

LukasGasior1
Copy link
Contributor

@@ -50,7 +50,7 @@ message EthereumConfig {
}

message IeleConfig {
// empty
bytes danseBlockNumber = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to make this optional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think not, do we?

Choose a reason for hiding this comment

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

No, you can make it required and always populate it with a value from Mantis's config. Just remember to bump the protobuf version field.

Copy link
Contributor

Choose a reason for hiding this comment

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

It seems that in protobuf 3 land there are no required fields and everything is optional. If we need to distinguish between the absense of a field and its default value, then we need wrappers.

See also

Bumping our version is of course something we need to do anyway. So 1.2 or 2.0?

@loverdos loverdos merged commit 6b3039b into master Oct 11, 2018
@loverdos loverdos deleted the feature/danseBlockNumber branch October 11, 2018 07:35
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.

3 participants