Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ericglau committed Sep 23, 2024
1 parent 1922f67 commit 8ec05d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/infer-proxy-admin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test('inferProxyAdmin returns true when owner looks like an address', async t =>
});

test('inferProxyAdmin returns false when returned value is 32 bytes but clearly not an address', async t => {
// some higher order bytes beyond 20 bytes are non-zero (the 'abc' in the below)
// dirty upper bits beyond 20 bytes (the 'abc' in the below)
const provider = makeProviderReturning('0x000000000000000000000abc1000000000000000000000000000000000000123');
t.false(await inferProxyAdmin(provider, addr));
});
Expand Down

0 comments on commit 8ec05d6

Please sign in to comment.