huff-language / huffmate

A library of modern, hyper-optimized, and extensible Huff contracts with extensive testing and documentation built by Huff maintainers.

Home Page:https://github.com/pentagonxyz/huffmate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: Dynamic Constructor Args

refcell opened this issue · comments

Overview

Tokens currently don't use dynamic constructor arguments, but rather static strs.

Do you mean that symbol and name should be stored in storage ? This would mean that they would be more expensive to get, whereas constant could be set at compilation (huff-language/huff-rs#171).

@MathisGD my guess is "immutables" eg constructor arguments "stored" in bytecode

Implemented by the 🐐 @MathisGD in #89