Skip to content

Update LBP Pool ABI. Add new LBP seedless integration test.#818

Merged
johngrantuk merged 2 commits into
mainfrom
seedless-lbp-integration-test
Mar 26, 2026
Merged

Update LBP Pool ABI. Add new LBP seedless integration test.#818
johngrantuk merged 2 commits into
mainfrom
seedless-lbp-integration-test

Conversation

@johngrantuk

Copy link
Copy Markdown
Member

No description provided.

@johngrantuk
johngrantuk requested a review from MattPereira March 25, 2026 11:21
Comment on lines +159 to +171
await approveSpenderOnTokens(
client,
testAddress,
[BAL.address],
PERMIT2[chainId],
);

await approveTokens(
client,
testAddress,
[BAL.address],
protocolVersion,
);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious about the double approve

seems like possible to dump approveSpenderOnTokens since it runs as part of approveTokens helper

( verified by removing locally and test still passes )

// Approve Permit2 to spend account tokens
const permit2ApprovedOnToken = await approveSpenderOnToken(
client,
accountAddress,
tokenAddress,
PERMIT2[chainId],
amount,
);

@MattPereira MattPereira left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added permit2 sig test to challenge claude to do a snapshot and pattern match the other tests

feel free to roll back for any reason if you prefer 2db693d

@johngrantuk

Copy link
Copy Markdown
Member Author

added permit2 sig test to challenge claude to do a snapshot and pattern match the other tests

feel free to roll back for any reason if you prefer 2db693d

Nice! thanks.

@johngrantuk
johngrantuk merged commit f53e8ca into main Mar 26, 2026
5 checks passed
@johngrantuk
johngrantuk deleted the seedless-lbp-integration-test branch March 26, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants