mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
## Summary - Replace the manual `sendNewValidatorSetForEra` contract call in the `validator-set-update` E2E test with the **validator-set-submitter daemon** running as a Docker container - Add `test/e2e/framework/submitter.ts` with helpers to build the image, launch the container on the shared Docker network, and clean up after the test - Remove unused imports (`getOwnerAccount`, `decodeEventLog`, `parseEther`, `gatewayAbi`) that were only needed for manual submission The submitter automatically detects the last session of an era and submits the validator set via Snowbridge, matching production behavior more closely than the previous manual call. ## Test plan - [x] `bun test e2e/suites/validator-set-update.test.ts --timeout 900000` passes (4/4 tests, 15 assertions) - [x] Verify submitter container starts and connects to both Ethereum and DataHaven - [x] Verify `ExternalValidatorsSet` event is observed on DataHaven - [x] Verify submitter container is cleaned up after the test - [x] Verify Charlie and Dave appear in the final validator set
5 lines
141 B
TypeScript
5 lines
141 B
TypeScript
export * from "./connectors";
|
|
export * from "./manager";
|
|
export * from "./submitter";
|
|
export * from "./suite";
|
|
export * from "./validators";
|