Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation of NonfungibleTokenPositionDescriptor fails #7

Open
ra-phael opened this issue Jun 30, 2023 · 0 comments
Open

Compilation of NonfungibleTokenPositionDescriptor fails #7

ra-phael opened this issue Jun 30, 2023 · 0 comments

Comments

@ra-phael
Copy link
Contributor

Compilation of the NonfungibleTokenPositionDescriptor contract fails in this repo when added to dependencyCompiler.paths. I get the following error:

CompilerError: Stack too deep when compiling inline assembly: Variable headStart is 1 slot(s) too deep inside the stack.

Compiler settings set for "@violetprotocol/mauve-periphery/contracts/NonfungibleTokenPositionDescriptor.sol":

const nonfungibleTokenPositionDescriptorSettings = {
  version: "0.7.6",
  viaIR: false,
  settings: {
    evmVersion: "istanbul",
    optimizer: {
      enabled: true,
      runs: 900,
      details: {
        yul: true,
      },
    },
    metadata: {
      bytecodeHash: "none",
    },
  },
};

I tried changing the compiler settings (viaIR and yul) but to no avail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant