Skip to content

Commit e699d3f

Browse files
build(deps-dev): bump @codama/renderers-rust from 1.0.12 to 1.0.13 (#104)
* build(deps-dev): bump @codama/renderers-rust from 1.0.12 to 1.0.13 Bumps [@codama/renderers-rust](https://github.com/codama-idl/codama) from 1.0.12 to 1.0.13. - [Release notes](https://github.com/codama-idl/codama/releases) - [Commits](https://github.com/codama-idl/codama/compare/@codama/[email protected]...@codama/[email protected]) --- updated-dependencies: - dependency-name: "@codama/renderers-rust" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Commit changes after generate --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jon C <[email protected]>
1 parent 1eccc50 commit e699d3f

File tree

3 files changed

+7
-108
lines changed

3 files changed

+7
-108
lines changed

clients/rust/src/generated/instructions/add_memo.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ impl AddMemo {
2828
) -> solana_program::instruction::Instruction {
2929
let mut accounts = Vec::with_capacity(remaining_accounts.len());
3030
accounts.extend_from_slice(remaining_accounts);
31-
let mut data = AddMemoInstructionData::new().try_to_vec().unwrap();
32-
let mut args = args.try_to_vec().unwrap();
31+
let mut data = borsh::to_vec(&AddMemoInstructionData::new()).unwrap();
32+
let mut args = borsh::to_vec(&args).unwrap();
3333
data.append(&mut args);
3434

3535
solana_program::instruction::Instruction {
@@ -169,8 +169,8 @@ impl<'a, 'b> AddMemoCpi<'a, 'b> {
169169
is_writable: remaining_account.2,
170170
})
171171
});
172-
let mut data = AddMemoInstructionData::new().try_to_vec().unwrap();
173-
let mut args = self.__args.try_to_vec().unwrap();
172+
let mut data = borsh::to_vec(&AddMemoInstructionData::new()).unwrap();
173+
let mut args = borsh::to_vec(&self.__args).unwrap();
174174
data.append(&mut args);
175175

176176
let instruction = solana_program::instruction::Instruction {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"devDependencies": {
2929
"@codama/renderers-js": "^1.2.4",
30-
"@codama/renderers-rust": "^1.0.12",
30+
"@codama/renderers-rust": "^1.0.13",
3131
"@iarna/toml": "^2.2.5",
3232
"codama": "^1.2.5",
3333
"typescript": "^5.7.3",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)