Skip to content

icp network start fails: 'transaction is a duplicate of another transaction' #422

@sasa-tomic

Description

@sasa-tomic

Description

icp network start fails every time with:

Seeding ICP and cycles account balances
Error: Failed to seed initial balances: Failed to transfer ICP: transaction is a duplicate of another transaction in block N

This happens even after a fully clean start (rm -rf .icp/cache). The network launcher successfully starts PocketIC with a gateway on port 8000, but icp-cli's seeding step fails because the ICP ledger's initial bootstrap state already contains the seed transactions. On failure, icp-cli kills the network, making it completely unusable.

Versions

  • icp 0.2.0
  • Network launcher: v12.0.0-2026-03-02-11-09.r1
  • OS: Ubuntu Linux 6.17.0-14-generic

Steps to reproduce

rm -rf .icp/cache
icp network start -d

Fails on every attempt, regardless of whether state was cleaned. dfx start --clean --background works fine on the same machine.

Expected behavior

icp network start should handle the case where the PocketIC bootstrap state already includes seed balances and not attempt to re-seed, or seed with unique deduplication parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions