Skip to content

Commit

Permalink
Adding rkyv.
Browse files Browse the repository at this point in the history
  • Loading branch information
blockiosaurus committed Aug 2, 2024
1 parent 23af1a2 commit 8f7e869
Show file tree
Hide file tree
Showing 18 changed files with 1,798 additions and 20 deletions.
153 changes: 153 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/js/bench/bincode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ test('Update:Basic:Bincode', async (t) => {
const address = generateSigner(umi);

// When we create a new account.
await createBasicBincode(umi, { address }).sendAndConfirm(umi);
const tx = await updateBasicBincode(umi, { address: address.publicKey }).sendAndConfirm(umi);
await createBasicBincode(umi, { address }).sendAndConfirm(umi, { confirm: { commitment: 'finalized' } });
const tx = await updateBasicBincode(umi, { address: address.publicKey }).sendAndConfirm(umi, { send: { skipPreflight: true } });

const compute = Number((await umi.rpc.getTransaction(tx.signature))?.meta.computeUnitsConsumed);
const account = await umi.rpc.getAccount(address.publicKey);
Expand Down
Loading

0 comments on commit 8f7e869

Please sign in to comment.