Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Unable to use warp-sync on parachain #13963

Closed
2 tasks done
nbaztec opened this issue Apr 20, 2023 · 1 comment
Closed
2 tasks done

Unable to use warp-sync on parachain #13963

nbaztec opened this issue Apr 20, 2023 · 1 comment
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.

Comments

@nbaztec
Copy link

nbaztec commented Apr 20, 2023

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

We tried adding warp-sync to moonbeam moonbeam-foundation/moonbeam@2882824 but receving the following error:

$ ./target/release/moonbeam --base-path /tmp/warp-test --sync warp --blocks-pruning 256 --state-pruning 256  -- --sync warp --blocks-pruning 256 --state-pruning 256
2023-04-18 18:49:16 Moonbeam Parachain Collator    
2023-04-18 18:49:16 ✌️  version 0.31.0-02b81f3ff04    
2023-04-18 18:49:16 ❤️  by PureStake, 2019-2023    
2023-04-18 18:49:16 📋 Chain specification: Moonbeam    
2023-04-18 18:49:16 🏷  Node name: absurd-rail-9979    
2023-04-18 18:49:16 👤 Role: FULL    
2023-04-18 18:49:16 💾 Database: RocksDb at /tmp/warp-test/chains/moonbeam/db/full    
2023-04-18 18:49:16 ⛓  Native runtime: moonbeam-2300 (moonbeam-0.tx2.au3)    
2023-04-18 18:49:17 Parachain id: Id(2004)    
2023-04-18 18:49:17 Parachain Account: 5Ec4AhPVjsshXjh8ynp6MwaJTJBnen3pkHiiyDhHfie5VWkN    
2023-04-18 18:49:17 Parachain genesis state: 0x00000000000000000000000000000000000000000000000000000000000000000074e54bafcf1ecdce51867078fa16f2902751d11473628ac19e89a5be20df326203170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400    
2023-04-18 18:49:17 Is collating: no    
2023-04-18 18:49:18 [🌗] 🔨 Initializing Genesis block/state (state: 0x74e5…3262, header-hash: 0xfe58…b76d)    
2023-04-18 18:49:18 [🌗] 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.    
Error: Service(Client(Execution(Other("Exported method GrandpaApi_grandpa_authorities is not found"))))

Any idea what could be wrong @bkchr ?

As per https://github.com/paritytech/substrate/pull/12761/files#diff-e5be9978262555d1f400caa5ae803ffc96be0ba25fd4ed8bd917c12529474c44 that's all that is required.

Steps to reproduce

No response

@github-actions github-actions bot added the J2-unconfirmed Issue might be valid, but it’s not yet known. label Apr 20, 2023
@bkchr
Copy link
Member

bkchr commented Apr 20, 2023

Parachains are not supporting grandpa. So, Grandpa should not be added to their node.

moonbeam-foundation/moonbeam#2202 (comment)

@bkchr bkchr closed this as completed Apr 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.
Projects
None yet
Development

No branches or pull requests

2 participants