Comments (4)
Any luck? 😕
from toncli.
Cant reproduce this issue, please use -v 4
flag in run_tests and share TVM OP codes
Also try to install version from git:
git clone https://github.com/disintar/toncli.git
cd toncli
pip install -e .
from toncli.
Using toncli from git
toncli run_tests -v 4
INFO: 🌈 Start tests
INFO: 🥌 Build �[32msuccessfully�[0m, check out �[32m./build�[0m
INFO: 🤳 Tests: �[32m[ [ "__test_sum" 19 ] ]�[0m
[ 19 ]
execute SETCP 0
[ 19 ]
execute DICTPUSHCONST 19 (xC_,1)
[ 19 C{40DB3E5D2D55941041BA82DEE05A1D93D33C8B09BD6066C6A22A61AB5E143838} 19 ]
execute DICTIGETJMPZ
[ ]
execute PUSHCONT xF012
[ ??? ]
execute PUSHINT 1
[ ??? 1 ]
execute PUSHINT 2
[ ??? 1 2 ]
execute TUPLE 2
[ ??? [1 2] ]
execute PUSHINT 78457
[ ??? [1 2] 78457 ]
execute PUSH c3
[ ??? [1 2] 78457 ??? ]
execute EXECUTE
[ ??? [1 2] 78457 ]
execute SETCP 0
[ ??? [1 2] 78457 ]
execute DICTPUSHCONST 19 (xC_,1)
[ ??? [1 2] 78457 C{40DB3E5D2D55941041BA82DEE05A1D93D33C8B09BD6066C6A22A61AB5E143838} 19 ]
execute DICTIGETJMPZ
[ ??? [1 2] ]
execute PUSH c7
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] ]
execute DUP
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] ]
execute INDEX 0
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] [124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0] ]
execute GETPARAM 10
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] [124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0] (()) ]
execute PUSH c5
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] [124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0] (()) C{96A296D224F285C67BEE93C30F8A309157F0DAA35DC5B87E410B78630A09CFC7} ]
execute SETINDEX 1
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] [124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0] [() C{96A296D224F285C67BEE93C30F8A309157F0DAA35DC5B87E410B78630A09CFC7}] ]
execute SETINDEX 10
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () (()) 0]] [124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () [() C{96A296D224F285C67BEE93C30F8A309157F0DAA35DC5B87E410B78630A09CFC7}] 0] ]
execute SETINDEX 0
[ ??? [1 2] [[124711402 0 0 1671261328 1 1671261328 239 (1000000000) CS{Cell{0043800efd7e23ec462b062be53fb98a4c2fd6ad81a0acf00f5cb269bd17e106b1f73010} bits: 0..267; refs: 0..0} () [() C{96A296D224F285C67BEE93C30F8A309157F0DAA35DC5B87E410B78630A09CFC7}] 0]] ]
execute POP c7
[ ??? [1 2] ]
execute NEWC
[ ??? [1 2] BC{0000} ]
execute ENDC
[ ??? [1 2] C{96A296D224F285C67BEE93C30F8A309157F0DAA35DC5B87E410B78630A09CFC7} ]
execute POP c5
[ ??? [1 2] ]
execute DEBUG 239
[ ??? [1 2] ]
execute XCHG s1,s3
handling exception code 2: stack underflow
default exception handler, terminating vm with exit code 2
�[1;36m[ 3][t 0][2022-12-17 07:15:28.358384][vm.cpp:558] steps: 28 gas: used=2443, max=1000000000, limit=1000000000, credit=0�[0m
INFO: Test [�[32m__test_sum�[0m] status: [�[31mFAIL�[0m], code: [�[36m2�[0m], error description [�[36mStack underflow. Last op-code consume more elements than there are on stacks. (most probably means a error in asm declarations)�[0m] Total gas used (including testing code): [�[32m2443�[0m]
Final status: [�[32mSUCCESS�[0m] - �[1m0 cases�[0m
Final status: [�[31mFAILED�[0m] - �[1m1 cases�[0m
from toncli.
Ok, you're using default fift&func without patched TVM ops that needed for tests. Please, follow installation guide: https://docs.dton.io/toncli/how-to-install or https://github.com/disintar/toncli/blob/master/INSTALLATION.md
from toncli.
Related Issues (20)
- bitstring library removed BitString class in the 4.x.x version HOT 4
- Toncli deploys into the same address every time HOT 1
- WARNING: 🤖 Can't find executable for fift, please specify it HOT 1
- Installation step: yandex disk for libcrypto-1_1-x64.dll HOT 1
- Windows binaries download expired HOT 1
- toncli command not working for installation
- Toncli run_tests => [__test_equal_slices_contract] status: [FAIL], code: [7] HOT 1
- Tests are falling, probably due to the lack of a file stdlib.fc
- toncli does not provide deployed contract address HOT 1
- Error during deploy with toncli from master HOT 2
- Test libs import order HOT 1
- Toncli from master can't be install via pip not in edit mode
- Add working examples of NFT and Jettons for toncli HOT 1
- How to use new tests? What is the current situation over TON binaries? HOT 1
- When running tests with recent ton tools and tonclin of branch main: `contract_tests.fif ... PROC:<{:procedure already defined` HOT 4
- Unable to use toncli in directories containing Unicode characters in names
- Toncli tests success on out-of-gas HOT 1
- broken with latest 4.x.x bitstring HOT 2
- Question: how to 'initialize' deploy-wallet on mainnet? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toncli.