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

I can't send an external message weighing ~600kb #142

Open
knyazev741 opened this issue Dec 13, 2022 · 4 comments
Open

I can't send an external message weighing ~600kb #142

knyazev741 opened this issue Dec 13, 2022 · 4 comments

Comments

@knyazev741
Copy link

npx everdev cr -n main -d _randomNonce:0 build/FTDistribute distribute -i amount:'[903, 1540, 570, 1500, 547]',to:'[0:0c20ea44b8338241b3f38b812865956c2b88798cf36b7341881020c4f5361d4b, 0:c7bef77d00ac62aaee46a513a2ca07e1b6eafd5a9a5a80d4ab9555f4f4a4abd2, 0:00c1a898b5ee0c85607acea171db4ae801b421c56e079402fefc02b499814202, 0:fd58219be7923a1036bcfc89bf1c19db153064d9943d4878d7028fa89681212f, 0:12ef44aa42582d9775cf2e2607a99e94d714c57db78c074ca4f7274df937870a]'

Configuration

Network: main (mainnet.evercloud.dev)
Signer: coder (public badd982fe93f354087f03648889b8a5105cb50d05473ad7851778f782380d6fb)

Address: 0:fa39a72d4d9e789d77d4fcc4cbd6227a1fd41ccd440517a12bee6cf9e1ba1473 (calculated from TVC and signer public)

Fatal error in , line 0

Fatal JavaScript invalid size error 169220804

#FailureMessage Object: 0x309a08820
1: 0x100407f52 node::NodePlatform::GetStackTracePrinter()::$_3::__invoke() [/usr/local/bin/node]
2: 0x101583373 V8_Fatal(char const*, ...) [/usr/local/bin/node]
3: 0x10069eba6 v8::internal::FactoryBasev8::internal::Factory::NewFixedArray(int, v8::internal::AllocationType) [/usr/local/bin/node]
4: 0x100878b32 v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2> >::GrowCapacity(v8::internal::Handlev8::internal::JSObject, unsigned int) [/usr/local/bin/node]
5: 0x100ac44c8 v8::internal::Runtime_GrowArrayElements(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
6: 0x100ec3ff9 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
zsh: trace trap npx everdev cr -n main -d _randomNonce:0 build/FTDistribute distribute -i

@pizza-777
Copy link
Contributor

pizza-777 commented Dec 25, 2022

As I know, currently max size for an external inbound message is up to 64kb

@melsomino
Copy link
Contributor

As I can see, the error is not related to 64K message size. Something wrong in encoding process. Could you please attach your smart contract here?

@elasticLove1
Copy link
Contributor

@knyazev741 Can you please comment on this?

@Austindgk2
Copy link

#142 (comment)

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

5 participants