Skip to content

Fix expected FungibleToken withdraw error in COA scheduler test - #616

Closed
janezpodhostnik wants to merge 1 commit into
masterfrom
janez/fix-coa-test-vault-error-message
Closed

Fix expected FungibleToken withdraw error in COA scheduler test#616
janezpodhostnik wants to merge 1 commit into
masterfrom
janez/fix-coa-test-vault-error-message

Conversation

@janezpodhostnik

@janezpodhostnik janezpodhostnik commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

CI fails deterministically on testCOAScheduledTransactions (e.g. this run on #615), on any branch, including master.

CI installs the latest Flow CLI, currently v2.17.4, which bundles a FungibleToken standard whose withdraw pre-condition message wraps the type name in backticks:

... is greater than the balance of the `Vault` (9950.00000000)

The test asserts the old wording (balance of the Vault, no backticks), so the substring no longer matches. The wording changed in onflow/flow-ft#189 and reached CI via the emulator bundled in the flow-cli v2.17.4 release.

flow-cli v2.17.4 bundles a FungibleToken standard whose withdraw
pre-condition message wraps the type name in backticks
("balance of the `Vault`"), so the asserted substring no longer
matched and testCOAScheduledTransactions failed in CI.
@janezpodhostnik janezpodhostnik self-assigned this Jul 24, 2026
@turbolent

Copy link
Copy Markdown
Member

Duplicate of #606

@turbolent turbolent marked this as a duplicate of #606 Jul 24, 2026
@janezpodhostnik

Copy link
Copy Markdown
Collaborator Author

did not notice, lets close this one

@turbolent

Copy link
Copy Markdown
Member

Sorry, I had forgotten about #606, because it couldn't be merged at the time when I opened it 😅

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