Skip to content

Commit

Permalink
Merge 5b77508 into c9eac2e
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored Sep 13, 2022
2 parents c9eac2e + 5b77508 commit ac31813
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web3.js/src/programs/address-lookup-table/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class AddressLookupTableAccount {
}

isActive(): boolean {
const U64_MAX = 2n ** 64n - 1n;
const U64_MAX = 18446744073709551615n;
return this.state.deactivationSlot === U64_MAX;
}

Expand Down
2 changes: 1 addition & 1 deletion web3.js/test/message-tests/compiled-keys.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function createTestKeys(count: number): Array<PublicKey> {
function createTestLookupTable(
addresses: Array<PublicKey>,
): AddressLookupTableAccount {
const U64_MAX = 2n ** 64n - 1n;
const U64_MAX = 18446744073709551615n;
return new AddressLookupTableAccount({
key: PublicKey.unique(),
state: {
Expand Down
2 changes: 1 addition & 1 deletion web3.js/test/message-tests/v0.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function createTestKeys(count: number): Array<PublicKey> {
function createTestLookupTable(
addresses: Array<PublicKey>,
): AddressLookupTableAccount {
const U64_MAX = 2n ** 64n - 1n;
const U64_MAX = 18446744073709551615n;
return new AddressLookupTableAccount({
key: PublicKey.unique(),
state: {
Expand Down
2 changes: 1 addition & 1 deletion web3.js/test/transaction-tests/message.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function createTestKeys(count: number): Array<PublicKey> {
function createTestLookupTable(
addresses: Array<PublicKey>,
): AddressLookupTableAccount {
const U64_MAX = 2n ** 64n - 1n;
const U64_MAX = 18446744073709551615n;
return new AddressLookupTableAccount({
key: PublicKey.unique(),
state: {
Expand Down

0 comments on commit ac31813

Please sign in to comment.