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

Adding custom pallets to the frontier template #1453

Open
genjigakura opened this issue Jun 13, 2024 · 2 comments
Open

Adding custom pallets to the frontier template #1453

genjigakura opened this issue Jun 13, 2024 · 2 comments
Labels

Comments

@genjigakura
Copy link

Just trying to play around with the Frontier template, following the Substrate docs.

I tried to add a simple custom pallet for an OCW, but following the Substrate docs to create the pallet and configure it inside the runtime, it just doesn't work.

The project structure is pretty different from the Substrate template node used in the docs, so maybe the implementation is different.

Are there some docs I'm missing? How can I add my pallets?

ref.
https://docs.substrate.io/tutorials/build-application-logic/add-offchain-workers/
https://docs.substrate.io/reference/how-to-guides/offchain-workers/offchain-http-requests/

@boundless-forest
Copy link
Collaborator

The frontier template node is derived from the substrate-template-node, so I think the overall structure is similar. What kind of errors do you see in the process of adding pallets? Paste here or raise a question
in the https://substrate.stackexchange.com/ would be helpful.

@genjigakura
Copy link
Author

i added pallet-contracts, i don't get error building the node, but when i try to deploy a smart contract i get:

✅InstantateWithCode

❌system.ExtrinsicFailed NoProvider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants