SYSCALL: can't convert to []byte: Array #196

Closed
opened 2025-12-28 17:12:32 +00:00 by sami · 2 comments
Owner

Originally created by @roman-khimov on GitHub (Oct 25, 2019).

Originally assigned to: @roman-khimov on GitHub.

Mainnet:

WARN[4356] contract invocation failed                    block=1953358 err="error encountered at instruction 4219 (SYSCALL): can't convert to []byte: Array" tx=f600638c24cb43f1808ac090a75950ba2b0685696d2cf89f830329ac8de67190
WARN[4356] contract invocation failed                    block=1953360 err="error encountered at instruction 4892 (SYSCALL): can't convert to []byte: Array" tx=6baecf67805a120a5d6fcfed0e73eab71172cb63d499ceb4e2f5ed95b20c3e7b
WARN[4356] contract invocation failed                    block=1953363 err="error encountered at instruction 4892 (SYSCALL): can't convert to []byte: Array" tx=ec37a8c11ba439b014f9db7bbf420bbe32cd280bc11585ab11652c83ca4a4ff7
WARN[4356] contract invocation failed                    block=1953366 err="error encountered at instruction 4892 (SYSCALL): can't convert to []byte: Array" tx=1fee222e02cdd160f4313ec23f671427930027937ba941eac537073c72531b07

There are lots of these, so most probably it's a VM issue.

Originally created by @roman-khimov on GitHub (Oct 25, 2019). Originally assigned to: @roman-khimov on GitHub. Mainnet: ``` WARN[4356] contract invocation failed block=1953358 err="error encountered at instruction 4219 (SYSCALL): can't convert to []byte: Array" tx=f600638c24cb43f1808ac090a75950ba2b0685696d2cf89f830329ac8de67190 WARN[4356] contract invocation failed block=1953360 err="error encountered at instruction 4892 (SYSCALL): can't convert to []byte: Array" tx=6baecf67805a120a5d6fcfed0e73eab71172cb63d499ceb4e2f5ed95b20c3e7b WARN[4356] contract invocation failed block=1953363 err="error encountered at instruction 4892 (SYSCALL): can't convert to []byte: Array" tx=ec37a8c11ba439b014f9db7bbf420bbe32cd280bc11585ab11652c83ca4a4ff7 WARN[4356] contract invocation failed block=1953366 err="error encountered at instruction 4892 (SYSCALL): can't convert to []byte: Array" tx=1fee222e02cdd160f4313ec23f671427930027937ba941eac537073c72531b07 ``` There are lots of these, so most probably it's a VM issue.
sami 2025-12-28 17:12:32 +00:00
  • closed this issue
  • added the
    bug
    vm
    labels
Author
Owner

@roman-khimov commented on GitHub (Oct 25, 2019):

First blocks to fail this way:

WARN[0924] contract invocation failed                    block=1444843 err="error encountered at instruction 1851 (SYSCALL): can't convert to []byte: Array" tx=c920b2192e74eda4ca6140510813aa40fef1767d00c152aa6f8027c24bdf14f2
WARN[0924] contract invocation failed                    block=1444853 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6eed9ce69d17a1c766c51e8190d3cba49981efefd1104502ecc087c386a49ae5
WARN[0924] contract invocation failed                    block=1444857 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6fa663abc7e2fbcf78b7b945f933ca52f711c5cddeb9e90996223c731c4073f2
WARN[0924] contract invocation failed                    block=1444859 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=4f71d265f61fcd7e200fb8133a73e4003190e9fb4bdabe4f1e8226a5d7c8a45c
WARN[0924] contract invocation failed                    block=1444860 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=296131d07c34ebca6bb803426d36c6b5d132e45200fd579043962f8d4bca64f6
WARN[0924] contract invocation failed                    block=1444862 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=8b0e0c9ddbeaf98eb6e43fa99805312310e1b14899e98c16a8787f57e24099db
WARN[0924] contract invocation failed                    block=1444864 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=652a7e01462256088cae9a2bc6c1eabc8ca1b53c789c46a04e82098dee378b85
WARN[0924] contract invocation failed                    block=1444864 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=3386de0737983fbad8e3c8a26fc0ef7b0932f439471c808ca0352e11135bb2c6
WARN[0924] contract invocation failed                    block=1444865 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=40c8a4ccaab40a1443786bde28d61e790a244cae949c92e886ff0e49b81b5dc0
WARN[0924] contract invocation failed                    block=1444866 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=d13e5205b577d474aeeab912125bb100e0819399e8fbabf5529ef3e0dffb1728
WARN[0924] contract invocation failed                    block=1444866 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=8df3d57257e78b96cba3592e304f486e018a7202cecf09a6b6099c72061fe84f
WARN[0924] contract invocation failed                    block=1444867 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=9b4ef3aa579b1b7c627564efe80aca60140f6907947f02a011c5792c9f059b64
WARN[0924] contract invocation failed                    block=1444868 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=b3219c19b78411fc35584ee72982c0b351ebe8f6ea6f986e2a78e3dabdfea4cc
WARN[0924] contract invocation failed                    block=1444868 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=d6a042e1cf4cfc19320eceabf43b37641fa411f86d478d25233e230191544034
WARN[0924] contract invocation failed                    block=1444869 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=a2fde92b1db86b188581c0f2ac9ac91466553045a9c2fb4205127c72df7c6d0d
WARN[0924] contract invocation failed                    block=1444869 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=7338ebf397135d72bed7cd8fab945022628ecd022395f9c7f1ea2e0c1f260cb1
WARN[0924] contract invocation failed                    block=1444869 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=f4af1d81040d133554ba05c4d2cc3cdac1ba7e256b3c10a5da2482604804725e
WARN[0925] contract invocation failed                    block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=d8fc648ff3fa710cb6bd7d14f91c172ce526fdeb87ae32c11dd534473aba44d2
WARN[0925] contract invocation failed                    block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=64ef3708b0c720cba25a7efb943ba52e214587505c924712f9d0b16a1c3634ea
WARN[0925] contract invocation failed                    block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=644130d9cbe8b765fa866e4def17896e78aae40fad12e7312010441ade4b1670
WARN[0925] contract invocation failed                    block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=1b6724bfd6b8a56cfbc45d9ae0eb3467e13fc34b77f1d600d65df63419262147
WARN[0925] contract invocation failed                    block=1444872 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=1362486ac6750dc1317d0f4af6218456acdf88419bb40cc2f977b7f31c7e88db
WARN[0925] contract invocation failed                    block=1444872 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=58ba4d1af892d19b5bf2d821e480f58020bffdc2c83f0b9b4978793b251a74db
WARN[0925] contract invocation failed                    block=1444872 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=c2170cd1e1a9e9d686d9f474064b38ede4f8ce11fea8ade90dcf8970a0e7fd66
WARN[0925] contract invocation failed                    block=1444873 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=0401020f748844ec9e067bea9ef65e4292b6d9bc359cf8a1cb2bc55f684441d4
WARN[0925] contract invocation failed                    block=1444873 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=11f5a5b462e05f970001595f49c68d4f950797665e63e58555e32e9c2440478d
WARN[0925] contract invocation failed                    block=1444873 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=02f31701a7a3def85af4e257d967b17158e77be4707863f8534fe41c74581b75
WARN[0925] contract invocation failed                    block=1444874 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=afeb1869046696aed0623ef0cf5bb3abe5ade8cb3e7a2da0dd01d791ef84471f
WARN[0925] contract invocation failed                    block=1444874 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=b4370980237cf7a710c14b645232d336d5e927be892445963929fb1fca42a40e
WARN[0925] contract invocation failed                    block=1444874 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=5afbee98a35358d4ee20b2682a95c1c995c01b663e38a44eb225cd31850d8f64
WARN[0925] contract invocation failed                    block=1444875 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6a6351f02108bae67c7c4e08f43a4fe3da7eae519aad938906124f0b40550363
WARN[0925] contract invocation failed                    block=1444875 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6dfe95f0468d2e4c797e7f637d417d5981c25a9266ebd4e6382a450d545941a0
WARN[0925] contract invocation failed                    block=1444875 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=53d159a0d7ba23b2272ecb249901f941ae1d8c1a18612e83eaf7c21f133c2de1
WARN[0925] contract invocation failed                    block=1444876 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=2a9db23d718870f62a3fb956f04e84046ba32266ffc5035fe78f2fc204b52d33
WARN[0925] contract invocation failed                    block=1444877 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=1318cdc3fd097423b5384b10df1e195df86350f14dcca1951acb6180ee38ed6a
WARN[0925] contract invocation failed                    block=1444877 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=48266aa1decbfbb9e2bb68c3c80a43540d4ce72ba3d33bfe15bf9a12222ed963
WARN[0925] contract invocation failed                    block=1444878 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6b67ebb2acd80c7ad89af3e769409dcf4c47a2f0450d9008ae5276175cb496a7
WARN[0925] contract invocation failed                    block=1444878 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=5875b4c6660e7aa7ca281483678d1ded3dd6518544b5956a488e008a5e397dc8
WARN[0925] contract invocation failed                    block=1444878 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=f10fd48bed3798bbbbb39dff09924603db05f8d4157214f08ccbcf407d133125
@roman-khimov commented on GitHub (Oct 25, 2019): First blocks to fail this way: ``` WARN[0924] contract invocation failed block=1444843 err="error encountered at instruction 1851 (SYSCALL): can't convert to []byte: Array" tx=c920b2192e74eda4ca6140510813aa40fef1767d00c152aa6f8027c24bdf14f2 WARN[0924] contract invocation failed block=1444853 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6eed9ce69d17a1c766c51e8190d3cba49981efefd1104502ecc087c386a49ae5 WARN[0924] contract invocation failed block=1444857 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6fa663abc7e2fbcf78b7b945f933ca52f711c5cddeb9e90996223c731c4073f2 WARN[0924] contract invocation failed block=1444859 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=4f71d265f61fcd7e200fb8133a73e4003190e9fb4bdabe4f1e8226a5d7c8a45c WARN[0924] contract invocation failed block=1444860 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=296131d07c34ebca6bb803426d36c6b5d132e45200fd579043962f8d4bca64f6 WARN[0924] contract invocation failed block=1444862 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=8b0e0c9ddbeaf98eb6e43fa99805312310e1b14899e98c16a8787f57e24099db WARN[0924] contract invocation failed block=1444864 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=652a7e01462256088cae9a2bc6c1eabc8ca1b53c789c46a04e82098dee378b85 WARN[0924] contract invocation failed block=1444864 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=3386de0737983fbad8e3c8a26fc0ef7b0932f439471c808ca0352e11135bb2c6 WARN[0924] contract invocation failed block=1444865 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=40c8a4ccaab40a1443786bde28d61e790a244cae949c92e886ff0e49b81b5dc0 WARN[0924] contract invocation failed block=1444866 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=d13e5205b577d474aeeab912125bb100e0819399e8fbabf5529ef3e0dffb1728 WARN[0924] contract invocation failed block=1444866 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=8df3d57257e78b96cba3592e304f486e018a7202cecf09a6b6099c72061fe84f WARN[0924] contract invocation failed block=1444867 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=9b4ef3aa579b1b7c627564efe80aca60140f6907947f02a011c5792c9f059b64 WARN[0924] contract invocation failed block=1444868 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=b3219c19b78411fc35584ee72982c0b351ebe8f6ea6f986e2a78e3dabdfea4cc WARN[0924] contract invocation failed block=1444868 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=d6a042e1cf4cfc19320eceabf43b37641fa411f86d478d25233e230191544034 WARN[0924] contract invocation failed block=1444869 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=a2fde92b1db86b188581c0f2ac9ac91466553045a9c2fb4205127c72df7c6d0d WARN[0924] contract invocation failed block=1444869 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=7338ebf397135d72bed7cd8fab945022628ecd022395f9c7f1ea2e0c1f260cb1 WARN[0924] contract invocation failed block=1444869 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=f4af1d81040d133554ba05c4d2cc3cdac1ba7e256b3c10a5da2482604804725e WARN[0925] contract invocation failed block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=d8fc648ff3fa710cb6bd7d14f91c172ce526fdeb87ae32c11dd534473aba44d2 WARN[0925] contract invocation failed block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=64ef3708b0c720cba25a7efb943ba52e214587505c924712f9d0b16a1c3634ea WARN[0925] contract invocation failed block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=644130d9cbe8b765fa866e4def17896e78aae40fad12e7312010441ade4b1670 WARN[0925] contract invocation failed block=1444870 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=1b6724bfd6b8a56cfbc45d9ae0eb3467e13fc34b77f1d600d65df63419262147 WARN[0925] contract invocation failed block=1444872 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=1362486ac6750dc1317d0f4af6218456acdf88419bb40cc2f977b7f31c7e88db WARN[0925] contract invocation failed block=1444872 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=58ba4d1af892d19b5bf2d821e480f58020bffdc2c83f0b9b4978793b251a74db WARN[0925] contract invocation failed block=1444872 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=c2170cd1e1a9e9d686d9f474064b38ede4f8ce11fea8ade90dcf8970a0e7fd66 WARN[0925] contract invocation failed block=1444873 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=0401020f748844ec9e067bea9ef65e4292b6d9bc359cf8a1cb2bc55f684441d4 WARN[0925] contract invocation failed block=1444873 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=11f5a5b462e05f970001595f49c68d4f950797665e63e58555e32e9c2440478d WARN[0925] contract invocation failed block=1444873 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=02f31701a7a3def85af4e257d967b17158e77be4707863f8534fe41c74581b75 WARN[0925] contract invocation failed block=1444874 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=afeb1869046696aed0623ef0cf5bb3abe5ade8cb3e7a2da0dd01d791ef84471f WARN[0925] contract invocation failed block=1444874 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=b4370980237cf7a710c14b645232d336d5e927be892445963929fb1fca42a40e WARN[0925] contract invocation failed block=1444874 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=5afbee98a35358d4ee20b2682a95c1c995c01b663e38a44eb225cd31850d8f64 WARN[0925] contract invocation failed block=1444875 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6a6351f02108bae67c7c4e08f43a4fe3da7eae519aad938906124f0b40550363 WARN[0925] contract invocation failed block=1444875 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6dfe95f0468d2e4c797e7f637d417d5981c25a9266ebd4e6382a450d545941a0 WARN[0925] contract invocation failed block=1444875 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=53d159a0d7ba23b2272ecb249901f941ae1d8c1a18612e83eaf7c21f133c2de1 WARN[0925] contract invocation failed block=1444876 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=2a9db23d718870f62a3fb956f04e84046ba32266ffc5035fe78f2fc204b52d33 WARN[0925] contract invocation failed block=1444877 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=1318cdc3fd097423b5384b10df1e195df86350f14dcca1951acb6180ee38ed6a WARN[0925] contract invocation failed block=1444877 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=48266aa1decbfbb9e2bb68c3c80a43540d4ce72ba3d33bfe15bf9a12222ed963 WARN[0925] contract invocation failed block=1444878 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=6b67ebb2acd80c7ad89af3e769409dcf4c47a2f0450d9008ae5276175cb496a7 WARN[0925] contract invocation failed block=1444878 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=5875b4c6660e7aa7ca281483678d1ded3dd6518544b5956a488e008a5e397dc8 WARN[0925] contract invocation failed block=1444878 err="error encountered at instruction 2695 (SYSCALL): can't convert to []byte: Array" tx=f10fd48bed3798bbbbb39dff09924603db05f8d4157214f08ccbcf407d133125 ```
Author
Owner

@roman-khimov commented on GitHub (Nov 12, 2019):

These are probably related to Neo.Runtime.Notify being called for NEP5 tokens that notify about their transfers. Notify should be able to handle any type of data being passed into it.

@roman-khimov commented on GitHub (Nov 12, 2019): These are probably related to `Neo.Runtime.Notify` being called for NEP5 tokens that notify about their transfers. Notify should be able to handle any type of data being passed into it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neo-go#196
No description provided.