Skip to content

fix(tests): verify genesis-seeded FeeAMM liquidity instead of minting#34

Open
decofe wants to merge 4 commits intomainfrom
kamil/genesis-fee-liquidity-tests
Open

fix(tests): verify genesis-seeded FeeAMM liquidity instead of minting#34
decofe wants to merge 4 commits intomainfrom
kamil/genesis-fee-liquidity-tests

Conversation

@decofe
Copy link
Copy Markdown
Member

@decofe decofe commented Mar 6, 2026

Adapts test_add_fee_token_liquidity for tempoxyz/tempo#3004 which seeds FeeAMM liquidity at genesis.

Renamed to test_fee_token_liquidity_exists — now calls getPool(token, NATIVE_FEE_TOKEN) via eth_call and asserts reserves > 0, instead of attempting to mint() new liquidity.

  • Removed unused LP_RECIPIENT constant
  • Added decode import from eth_abi

Prompted by: kamil

Co-Authored-By: Kamil Szczygieł <2961450+kamsz@users.noreply.github.com>
github-actions bot and others added 3 commits March 6, 2026 10:56
Co-Authored-By: Kamil Szczygieł <2961450+kamsz@users.noreply.github.com>
Co-Authored-By: Kamil Szczygieł <2961450+kamsz@users.noreply.github.com>
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