diff --git a/module.flow.js b/module.flow.js index 27dd0f667a12b3..7798d0ce773e01 100644 --- a/module.flow.js +++ b/module.flow.js @@ -51,6 +51,7 @@ declare module '@solana/web3.js' { owner: PublicKey, lamports: number, data: Buffer, + rent_epoch: number | null, }; declare export type ContactInfo = { diff --git a/src/connection.js b/src/connection.js index 2c21b2e22e9333..824f736678c835 100644 --- a/src/connection.js +++ b/src/connection.js @@ -136,6 +136,7 @@ const AccountInfoResult = struct({ owner: 'array', lamports: 'number', data: 'array', + rent_epoch: 'number?', }); /** diff --git a/test/fixtures/noop-c/noop.so b/test/fixtures/noop-c/noop.so index 19a22edd73af90..6f694f7709d585 100755 Binary files a/test/fixtures/noop-c/noop.so and b/test/fixtures/noop-c/noop.so differ diff --git a/test/fixtures/noop-rust/solana_bpf_rust_noop.so b/test/fixtures/noop-rust/solana_bpf_rust_noop.so index 8f475eef2da182..8bdba6fc693744 100755 Binary files a/test/fixtures/noop-rust/solana_bpf_rust_noop.so and b/test/fixtures/noop-rust/solana_bpf_rust_noop.so differ