Skip to content

Commit 5c1a09e

Browse files
Arrowanalorisleiva
andauthored
fix: Base is optional (#57)
* fix: Base is optional * No, only create with seed * Add tests * Testing without helper and revert lamports to amount * Run prettier fix after generating clients * Update pnpm-lock.yaml * Add toolchain to Rust client for formatting * Use formatting toolchain instead --------- Co-authored-by: Loris Leiva <[email protected]>
1 parent e0d3c21 commit 5c1a09e

21 files changed

+214
-221
lines changed

Cargo.lock

Lines changed: 12 additions & 151 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@typescript-eslint/parser": "^7.16.1",
5454
"ava": "^6.1.3",
5555
"eslint": "^8.57.0",
56-
"prettier": "^3.3.3",
56+
"prettier": "^3.6.2",
5757
"rimraf": "^5.0.5",
5858
"tsup": "^8.1.2",
5959
"typedoc": "^0.25.12",

clients/js/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/js/src/generated/instructions/advanceNonceAccount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function getAdvanceNonceAccountInstruction<
142142
'SysvarRecentB1ockHashes11111111111111111111' as Address<'SysvarRecentB1ockHashes11111111111111111111'>;
143143
}
144144

145-
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
145+
const getAccountMeta = getAccountMetaFactory(programAddress, 'omitted');
146146
const instruction = {
147147
accounts: [
148148
getAccountMeta(accounts.nonceAccount),

clients/js/src/generated/instructions/allocate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export function getAllocateInstruction<
111111
// Original args.
112112
const args = { ...input };
113113

114-
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
114+
const getAccountMeta = getAccountMetaFactory(programAddress, 'omitted');
115115
const instruction = {
116116
accounts: [getAccountMeta(accounts.newAccount)],
117117
programAddress,

clients/js/src/generated/instructions/allocateWithSeed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export function getAllocateWithSeedInstruction<
152152
// Original args.
153153
const args = { ...input };
154154

155-
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
155+
const getAccountMeta = getAccountMetaFactory(programAddress, 'omitted');
156156
const instruction = {
157157
accounts: [
158158
getAccountMeta(accounts.newAccount),

clients/js/src/generated/instructions/assign.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export function getAssignInstruction<
114114
// Original args.
115115
const args = { ...input };
116116

117-
const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
117+
const getAccountMeta = getAccountMetaFactory(programAddress, 'omitted');
118118
const instruction = {
119119
accounts: [getAccountMeta(accounts.account)],
120120
programAddress,

0 commit comments

Comments
 (0)