UNPKG

@nori-zk/mina-token-bridge

Version:

Nori ethereum state settelment and nETH token bridge zkApp

20 lines (19 loc) 1 kB
/** * NoriTokenBridge Worker-driven E2E Test Suite (Lightnet) * * Mirrors the happy-path flow from single-thread/NoriTokenBridge.happyPath.lightnet.integration.spec.ts * but drives every contract interaction through a single TokenBridgeTester * instance — deployment + every subsequent op go through the same worker. * * Requires: Lightnet running at http://localhost:8080/graphql (accountManager at :8181) * * Test sequence (order-dependent, shared state): * 1. Deploy contracts (tester.deployContracts) * 2. update() — 4 consecutive blocks (tester.update) * 3. setUpStorage for Alice (tester.setUpStorage) * 4. adminSetDepositRoot + noriMint for Alice (tester.adminSetDepositRoot + .mint) * — currently `.skip`-ed because adminSetDepositRoot is commented out * on the production contract. Re-enable in lockstep with the contract * method and the worker shim for local / lightnet testing. */ export {};