datahaven/test/utils
Ahmad Kaouk 3815b4cda7
test: Rewards distribution end to end Tests (#132)
### PR Description

Add a comprehensive end-to-end test that validates rewards distribution
across the full system (chain → bridge → execution environment).

### Use cases covered
- Verify the rewards infrastructure is correctly deployed and reachable.
- Detect the end-of-era rewards emission and capture its essential data.
- Confirm the cross-chain delivery and execution of the rewards message.
- Ensure the rewards registry updates with the new root and can be
queried.
- Generate per-validator proofs for claiming rewards.
- Successfully claim rewards for a validator and validate the payout is
reflected.
- Prevent a second (double) claim for the same index with a proper
rejection.

---------

Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
2025-09-17 09:10:54 +00:00
..
blockscout.ts test: Add E2E Tests (#36) 2025-04-14 16:22:43 -03:00
constants.ts fix: 🔌 CLI connection issues (#119) 2025-07-21 15:02:25 +02:00
contracts.ts feat: Datahaven contracts deployment on public testnet (#123) 2025-08-21 10:02:31 +00:00
docker.ts fix: Complete CI compatibility with self-hosted GitHub runners (#134) 2025-09-09 21:18:50 +02:00
events.ts test: Rewards distribution end to end Tests (#132) 2025-09-17 09:10:54 +00:00
index.ts test: wait for event utils (#121) 2025-08-01 20:56:46 +02:00
input.ts fix: 🚨 Add error in TS for missing awaits (#81) 2025-05-19 22:28:43 +00:00
kurtosis.ts feat: 🚀 Add deploy command to CLI (#87) 2025-06-12 10:24:03 +02:00
logger.ts feat: Add Polkadot API support to CLI and e2e testing infra (#68) 2025-05-13 03:03:21 +00:00
papi.ts fix: 🚨 Add error in TS for missing awaits (#81) 2025-05-19 22:28:43 +00:00
parameters.ts test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
parser.ts feat: Deployment improvements & environmental overrides (#103) 2025-06-26 13:48:33 +02:00
rewards-helpers.ts test: Rewards distribution end to end Tests (#132) 2025-09-17 09:10:54 +00:00
rpc.ts test: Add E2E Tests (#36) 2025-04-14 16:22:43 -03:00
shell.ts test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
types.ts feat: set rewards info as parameters in runtime (#99) 2025-06-16 12:20:18 +02:00
viem.ts fix: 🚨 Add error in TS for missing awaits (#81) 2025-05-19 22:28:43 +00:00
waits.ts feat: 🚀 Add deploy command to CLI (#87) 2025-06-12 10:24:03 +02:00