Skip to content

Commit

Permalink
Support artifact formats in contract! macro (#559)
Browse files Browse the repository at this point in the history
Part of #512, merge after #555.

Refactor `contract!` macro a bit, add support for artifact formats, rework contract renaming syntax (see discussion in #512).
  • Loading branch information
Tamika Nomara committed Jul 9, 2021
1 parent e4de835 commit 99ba7b6
Show file tree
Hide file tree
Showing 2 changed files with 297 additions and 97 deletions.
2 changes: 1 addition & 1 deletion ethcontract-common/src/artifact/hardhat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl HardHatLoader {
}

/// Artifact format.
#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub enum Format {
/// Contracts for a single network. Generated with `hardhat export`.
SingleExport,
Expand Down
Loading

0 comments on commit 99ba7b6

Please sign in to comment.