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

TypeError: Converting circular structure to JSON - Uploading Contract #5698

Open
1 of 4 tasks
AlexD10S opened this issue Aug 1, 2023 · 4 comments
Open
1 of 4 tasks

Comments

@AlexD10S
Copy link

AlexD10S commented Aug 1, 2023

  • I'm submitting an error experimented when upload a Smart Contract using PolkadotJS UI
  • Bug report
  • Feature request
  • Support request
  • Other
  • What is the current behavior and expected behavior?

I want to upload an ink! Smart contract using the PolkadotJS UI portal in a local node that runs with the pallet contracts on it. To replicate this issue the Substrate Contracts Node can be used.

When I click the button Upload & deploy code and upload the files the screen keeps loading, and in the Developer Console the following error appears:

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'r'
    |     property '_events' -> object with constructor 's'
    |     property 'ready' -> object with constructor 'i'
    --- property 'context' closes the circle
    at JSON.stringify (<anonymous>)

I can upload the contract using other alternatives using Contracts UI and using the tool cargo-contract.

@ganesh1997oli
Copy link

ganesh1997oli commented Aug 18, 2023

any update in this issue @AlexD10S @jacogr?

@forgetso
Copy link

Also hitting this issue.

@wottpal
Copy link

wottpal commented Oct 11, 2023

The issue is still persisting. Something crucial like this shouldn't be unfixed for 2months+.

@TarikGul
Copy link
Member

The issue is still persisting. Something crucial like this shouldn't be unfixed for 2months+.

If its that crucial, I would suggest you help out and open a PR then.

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