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

Offer cargo install & version bump #63

Closed
1 of 2 tasks
wottpal opened this issue Apr 27, 2023 · 5 comments
Closed
1 of 2 tasks

Offer cargo install & version bump #63

wottpal opened this issue Apr 27, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@wottpal
Copy link

wottpal commented Apr 27, 2023

Hey @shunsukew, two (hopefully minor things I noticed):

➜  Downloads ./swanky-node --version                   
swanky-node 1.5.0-e38181f2f77
  • first installed swanky-node via cargo install swanky-node --git /~https://github.com/AstarNetwork/swanky-node (because I prefer to have the executable in my global path & easily updatable. – It's the same substrate-contracts-node recommends in their README). It also seems to work fine first, but not if I start it with the --dev flag:
➜  swanky-node --dev             
2023-04-27 12:31:07 Swanky Node    
2023-04-27 12:31:07 ✌️  version 1.5.0-9ae9fef022e    
2023-04-27 12:31:07 ❤️  by Astar Network, 2022-2023    
2023-04-27 12:31:07 📋 Chain specification: Development    
2023-04-27 12:31:07 🏷  Node name: materialistic-mouth-9768    
2023-04-27 12:31:07 👤 Role: AUTHORITY    
2023-04-27 12:31:07 💾 Database: RocksDb at /var/folders/mg/7r1hkq8n3b19ps8l6wxwfz9h0000gn/T/substrate9EFlwT/chains/dev/db/full    
2023-04-27 12:31:07 ⛓  Native runtime: swanky-node-3 (swanky-node-1.tx1.au1)    
Error: Service(Client(VersionInvalid("cannot deserialize module: UnknownOpcode(192)")))
2023-04-27 12:31:07 Cannot create a runtime error=Other("cannot deserialize module: UnknownOpcode(192)")
@wottpal wottpal added the bug Something isn't working label Apr 27, 2023
@wottpal
Copy link
Author

wottpal commented Apr 27, 2023

I just found this, which is probably related: paritytech/substrate-contracts-node#178

But also via re-installing swanky-node via:

cargo install swanky-node --git /~https://github.com/AstarNetwork/swanky-node --force --locked

the problem was not fixed.

@shunsukew
Copy link
Collaborator

shunsukew commented Apr 28, 2023

Yes, sorry. I forgot to bump versions.
Thank you for reporting, please let me check.

@shunsukew
Copy link
Collaborator

Hm, I cannot reproduce the issue in my local environment.

@shunsukew
Copy link
Collaborator

@wottpal
Copy link
Author

wottpal commented Apr 28, 2023

Yeah also found out that the issue is not directly swanky-node related, it also happens to fresh installs of substrate-contracts-node. But I found a workaround, see this comment: paritytech/substrate-contracts-node#178 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants