Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

feat(solc): add bytecode hash variants #1104

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Apr 3, 2022

Motivation

Add concrete BytecodeHash Variants

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Updated the changelog

impl Default for BytecodeHash {
fn default() -> Self {
// ipfs general default https://docs.soliditylang.org/en/latest/using-the-compiler.html#compiler-api
BytecodeHash::Ipfs
Copy link
Owner

Choose a reason for hiding this comment

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

Let's make it None and document that it's by default None?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sg

@gakonst gakonst merged commit 06df7f4 into gakonst:master Apr 4, 2022
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