Skip to content

Commit

Permalink
fix: add Account.rent_epoch field and rebuild bpf test fixtures (#466)
Browse files Browse the repository at this point in the history
* fix: add Account.rent_epoch field

* fix: rebuild bpf test fixtures
  • Loading branch information
mvines authored Aug 25, 2019
1 parent 016a672 commit d9c17fc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions module.flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ declare module '@solana/web3.js' {
owner: PublicKey,
lamports: number,
data: Buffer,
rent_epoch: number | null,
};

declare export type ContactInfo = {
Expand Down
1 change: 1 addition & 0 deletions src/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ const AccountInfoResult = struct({
owner: 'array',
lamports: 'number',
data: 'array',
rent_epoch: 'number?',
});

/**
Expand Down
Binary file modified test/fixtures/noop-c/noop.so
Binary file not shown.
Binary file modified test/fixtures/noop-rust/solana_bpf_rust_noop.so
Binary file not shown.

0 comments on commit d9c17fc

Please sign in to comment.