Issue with compiler "Immediate12TooLarge"

When running fuels builld, getting this error:

Too many arguments, cannot handle.: Immediate12TooLarge { val: 4335, span: Span { src (ptr): 0x60000237c260, source_id: None, start: 0, end: 0, as_str(): “” } }

We have made very little changes ( simply added a function that returns the value of a configurable constant )

Help appreciated.

Hi @xpluscal ,

Can you provide links or gists to your code, results of fuelup show.

1 Like

Hi @xpluscal this seems like a Sway compiler error, could you share the changes you have made to the function that returns the configurable constant? What’s the output of when you try to build these contracts using forc ?

Just cross linking this, looks like a compiler issue.

2 Likes

Hey @nick the repository is live, it’s the props-fuels repo (see slack)

Unfortunately that’s the only output we get from fuelup

Hey @xpluscal, Can you please share the repo with me? Also, lets continue our conversation here