-
Notifications
You must be signed in to change notification settings - Fork 489
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
Node Template Release Script not working #1082
Labels
bug
Something isn't working
Comments
i am also getting this error. Please share the solution. |
Same for me. |
lucgerrits
added a commit
to lucgerrits/frontier
that referenced
this issue
Nov 20, 2023
Forked and propose this fix: lucgerrits@44be8ed But as you will discover, compiling fails: ...
...
error: no rules expected the token `frame_support`
--> /tmp/.tmp9ZpRHL/template/runtime/src/lib.rs:402:1
|
402 | / construct_runtime!(
403 | | pub enum Runtime {
404 | | System: frame_system,
405 | | Timestamp: pallet_timestamp,
... |
417 | | }
418 | | );
| |_^ no rules expected this token in macro call
|
note: while trying to match `your_tt_return`
--> /home/lgerrits/.cargo/git/checkouts/frontier-b4643f17507d3282/176cb34/frame/hotfix-sufficients/src/lib.rs:39:1
|
39 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
= note: captured metavariables except for `:tt`, `:ident` and `:lifetime` cannot be compared to other tokens
= note: see <https://doc.rust-lang.org/nightly/reference/macros-by-example.html#forwarding-a-matched-fragment> for more information
= note: this error originates in the macro `frame_support::__private::tt_call` which comes from the expansion of the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Aura` in this scope
--> /tmp/.tmp9ZpRHL/template/runtime/src/lib.rs:110:14
|
110 | pub aura: Aura,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Grandpa` in this scope
--> /tmp/.tmp9ZpRHL/template/runtime/src/lib.rs:111:17
|
111 | pub grandpa: Grandpa,
| ^^^^^^^ help: a type alias with a similar name exists: `GrandpaId`
|
::: /home/lgerrits/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/c8d2251/substrate/primitives/consensus/grandpa/src/lib.rs:57:1
|
57 | pub type AuthorityId = app::Public;
| -------------------- similarly named type alias `GrandpaId` defined here
error[E0412]: cannot find type `Aura` in this scope
--> /tmp/.tmp9ZpRHL/template/runtime/src/lib.rs:110:14
|
110 | pub aura: Aura,
| ^^^^ not found in this scope
|
help: you might be missing a type parameter
--> /home/lgerrits/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/c8d2251/substrate/primitives/runtime/src/traits.rs:1997:19
|
1997| pub struct $name<Aura> {
| ++++++
...
...
...
(Many more errors) |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When running
.maintain/node-template-release.sh archive.tar.gz
I get this responseEnvironment
rustup show
):The text was updated successfully, but these errors were encountered: