Skip to content

Commit

Permalink
- Upgrade anchor 0.29.0
Browse files Browse the repository at this point in the history
- Update Solana cli CI version 1.14.17 -> 1.17.18
- Update node CI version 18 -> 22
- Add rust toolchain to fix CI runner to rust 1.74.1
- Enable overflow-checks as required by anchor 0.30.0
- Error on alias types - they are broken in anchor 0.29.0 anyway
  • Loading branch information
elliotkennedy committed Dec 9, 2024
1 parent 6a04775 commit ea88d6b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions tests/example-program-gen/exp/accounts/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export { OptionalState } from "./OptionalState"
export type { OptionalStateFields, OptionalStateJSON } from "./OptionalState"
export { State } from "./State"
export type { StateFields, StateJSON } from "./State"
export { State2 } from "./State2"
export type { State2Fields, State2JSON } from "./State2"
export { OptionalState } from "./OptionalState"
export type { OptionalStateFields, OptionalStateJSON } from "./OptionalState"
48 changes: 24 additions & 24 deletions tests/example-program-gen/idl.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,30 @@
}
],
"accounts": [
{
"name": "OptionalState",
"type": {
"kind": "struct",
"fields": [
{
"name": "readonlySignerOption",
"type": "bool"
},
{
"name": "mutableSignerOption",
"type": "bool"
},
{
"name": "readonlyOption",
"type": "bool"
},
{
"name": "mutableOption",
"type": "bool"
}
]
}
},
{
"name": "State",
"docs": [
Expand Down Expand Up @@ -470,30 +494,6 @@
}
]
}
},
{
"name": "OptionalState",
"type": {
"kind": "struct",
"fields": [
{
"name": "readonlySignerOption",
"type": "bool"
},
{
"name": "mutableSignerOption",
"type": "bool"
},
{
"name": "readonlyOption",
"type": "bool"
},
{
"name": "mutableOption",
"type": "bool"
}
]
}
}
],
"types": [
Expand Down

0 comments on commit ea88d6b

Please sign in to comment.