aztec-packages icon indicating copy to clipboard operation
aztec-packages copied to clipboard

feat: Constants without dependencies

Open LHerskind opened this issue 6 months ago • 0 comments

The current constants setup where we use the constants.nr to build the others files are a pain in the ass if dealing with places that needs the constants but is itself a dependency of the noir-protocol-circuits.

I suggest that we move the constants down to foundation which don't have dependencies on anything else than bb.js which should be acceptable for this case.

It is especially a pain when dealing with things in the Ethereum package such at ethereum slot durations or constants to be used in the deployments (FEE_JUICE_INITIAL_MINT).

Might also help us with #3342 and circular dependencies.

LHerskind avatar Aug 20 '24 10:08 LHerskind