huff-language / huff-project-template

Foundry Repository Template that supports writing contracts in Huff using the foundry-huff library.
The Unlicense
212 stars 45 forks source link

SimpleStore needs constructor to run with huff-rs #2

Closed sarhaan77 closed 2 years ago

sarhaan77 commented 2 years ago

#define macro CONSTRUCTOR() = takes(0) returns (0) {} adding this solved the issue and doesn't interfere with huffc either

clabby commented 2 years ago

Fixed in https://github.com/huff-language/huff-rs/commit/fd1c7a74154af1b3d6975be3b80f19980332fe1c