buidl-labs / buidl-labs/crypto-code-school-inside-tezos

Inter-contract calling part 2 does not give expected output

Open
#360 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
46
Forks
18
PR merge metrics
No merged PRs in 30d

Description

- **System Information**

- Firefox 95.0.1 (64-bit)
- Pop!_OS 21.10

- **The bug**

In the cryptocodeschool website the code is working fine. It's showing "good to go". But when I try to run the same code in SmartPy editor it's giving error. The problem must have occurred due to some update in the SmartPy library that hasn't been updated in the website ide.

- **To Reproduce**
Steps to reproduce the behavior:
1. Go to ['SmartPy IDE'](https://smartpy.io/ide)
2. Copy and Paste the completed code from Inter-contract calling part 2
3. Run the code
4. See error

- **Expected behavior**
After running the code it should be able to performs the tests properly. But it fails to call the contract.

- **Screenshots**
![error-Inter-contract calling](https://user-images.githubusercontent.com/23657019/147419265-3d781b89-1017-4c4e-ad9f-ea3007ad9a6d.png)

Contributor guide

Open the contributing guide

Research direction

Start by opening the SmartPy IDE and reproducing the completed Inter-contract calling part 2 code, comparing its output with the cryptocodeschool website. Inspect the reported error in the linked screenshot and determine whether the lesson code or SmartPy library version causes the failed contract call; done means the code runs and performs its tests successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.