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

feat: set toolchain version to 0.30.0 in Anchor.toml #75

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/create-solana-dapp/lib/final-note.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { bold, magentaBright, greenBright, redBright, yellowBright } from 'chalk'
import { bold, greenBright, magentaBright, yellowBright } from 'chalk'
import { GetArgsResult } from './get-args-result'
import { validateAnchorVersion } from './validate-anchor-version'

Expand All @@ -24,7 +24,7 @@ export function finalNote(args: GetArgsResult & { target: string }): string {
} else if (!valid) {
lines.push(
...[
yellowBright(`Found Anchor version ${version}. Please upgrade to Anchor ${requiredVersion}.`),
yellowBright(`Found Anchor version ${version}. Expected Anchor version ${requiredVersion}.`),
'https://www.anchor-lang.com/release-notes/0.30.0',
],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ exports[`anchor-application generator should generate app with "basic" template
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -631,6 +632,7 @@ exports[`anchor-application generator should generate app with "counter" templat
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ exports[`anchor-template generator should be able to generate two templates side
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -1057,6 +1058,7 @@ exports[`anchor-template generator should generate files for base template 1`] =
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -1140,6 +1142,7 @@ exports[`anchor-template generator should generate files for basic template 1`]
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -1394,6 +1397,7 @@ exports[`anchor-template generator should generate files for counter template 1`
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[toolchain]
anchor_version = "0.30.0"

[features]
seeds = false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[toolchain]
anchor_version = "0.30.0"

[features]
seeds = false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[toolchain]
anchor_version = "0.30.0"

[features]
seeds = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@ exports[`application generator default apps should generate default app with "no
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -2688,6 +2689,7 @@ exports[`application generator default apps should generate default app with "ta
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ exports[`react-application generator default apps should generate default app wi
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -2623,6 +2624,7 @@ exports[`react-application generator default apps should generate default app wi
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ exports[`react-feature generator should generate files for anchor-basic feature
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down Expand Up @@ -3678,6 +3679,7 @@ exports[`react-feature generator should generate files for anchor-counter featur
"Anchor.toml": {
"content": [
"[toolchain]",
"anchor_version = "0.30.0"",
"[features]",
"seeds = false",
"skip-lint = false",
Expand Down
Loading