feat(jstzd): add bootstrap contracts to ProtocolParameterBuilder #576
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
Part of JSTZ-149.
JSTZ-149
Description
Adds bootstrap contracts to the base protocol parameter set.
A
BootstrapContract
instance has 3 fields:script
is the contract code in micheline JSON format.hash
is the hash of this contract to be deployed. Note that it's optional because the node will just generate one if it's not given, but it can actually be set to any valid contract hash, which might be handy when we need to know the address of a contract in advance.Manually testing the PR