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 failure: "slice does not fit into cell" #149

Open
Foisoi opened this issue Oct 7, 2024 · 0 comments
Open

Compilation failure: "slice does not fit into cell" #149

Foisoi opened this issue Oct 7, 2024 · 0 comments

Comments

@Foisoi
Copy link

Foisoi commented Oct 7, 2024

Blueprint fails to compile valid smart contract code with error:

Build script running, compiling TonTest
⏳ Compiling...[ 1][t 0][2024-10-07 17:36:09.033000][Fift.cpp:67]       top: <continuation 0xf49a00>
level 1: <text interpreter continuation>

Error: main.fif:240:    s,:slice does not fit into cell

Steps to reproduce:

  1. Create an empty FunC Blueprint project.
  2. Paste this code to the main FunC file.
  3. run npx blueprint build or npx blueprint test

To make sure that the provided code does not contain any errors, run func contracts/main.fc

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