paritytech / capi-binary-builds

10 stars 1 forks source link

cannot deserialize module: UnknownOpcode(192) #123

Open harrysolovay opened 1 year ago

harrysolovay commented 1 year ago

@gaboesquivel encountered the following error with Capi's rococoDevXcmStatemine net spec.

2023-07-07 13:02:54 Polkadot parachain    
2023-07-07 13:02:54 ✌️  version 0.9.370-4f96bee6670    
2023-07-07 13:02:54 ❤️  by Parity Technologies <admin@parity.io>, 2017-2023    
2023-07-07 13:02:54 📋 Chain specification: Statemine Local    
2023-07-07 13:02:54 🏷  Node name: Alice    
2023-07-07 13:02:54 👤 Role: AUTHORITY    
2023-07-07 13:02:54 💾 Database: RocksDb at target/capi/devnet/2023-07-07-19-02-53-516/rococoDevXcmStatemine/alice/chains/statemine_local/db/full    
2023-07-07 13:02:54 ⛓  Native runtime: statemine-9370 (statemine-0.tx11.au1)    
2023-07-07 13:02:58 Parachain id: Id(1000)    
2023-07-07 13:02:58 Parachain Account: 5Ec4AhPZk8STuex8Wsi9TwDtJQxKqzPJRCH7348Xtcs9vZLJ    
2023-07-07 13:02:58 Parachain genesis state: 0x000000000000000000000000000000000000000000000000000000000000000000aa8f236f509cf01e60adb3cdc21097f02c6d0101b824f49afa1a5a51bc528d8b03170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400    
2023-07-07 13:02:58 Is collating: yes    
2023-07-07 13:02:58 [Parachain] Cannot create a runtime error=Other("cannot deserialize module: UnknownOpcode(192)")
Error: Service(Client(VersionInvalid("cannot deserialize module: UnknownOpcode(192)")))

I was unable to reproduce. Seems related to https://substrate.stackexchange.com/questions/7714/cannot-run-substrate-on-a-fresh-macbook-m2

@gaboesquivel, what machine are you using? Apple silicon?

harrysolovay commented 1 year ago

I've tested on an intel mac and successfully reproduced the error, which occurs when syncing a fresh clone of the Capi repo. I commented out the rococoDevXcmStatemine net spec and reserve transfer example (the only example which uses it). Upon commenting these out, syncing works and examples pass. Seems something's gone awry in the Cumulus build for intel macs.

gaboesquivel commented 1 year ago

I'm on Macbook 2019 Intel i7