datahaven/test/scripts
Ahmad Kaouk 9344e243cf
perf: Batch runtime parameter updates to speed up E2E setup (#368)
## Summary
Optimizes the DataHaven parameter configuration during E2E test
infrastructure setup by batching multiple extrinsics into a single
transaction, reducing setup time.
## Problem
Setting runtime parameters required 5 separate
`Parameters.set_parameter` calls, each waiting for block finality. This
created unnecessary delays during infrastructure setup since each call
blocked sequentially.
## Solution
- **Batch parameter updates:** Combine all `Parameters.set_parameter
`calls into a single `Utility.batch_all` transaction wrapped in
`Sudo.sudo`.
- **~5× faster parameter setup:** Only wait for finality once instead of
5 separate times
- **Code simplification:** Refactored parameter handling code, removing
~190 lines of unnecessary abstractions and complexity
2025-12-22 15:57:32 +01:00
..
cargo-crossbuild.ts test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00
compile-contracts.sh test: port Moonwall block validation suite (#201) 2025-10-06 09:47:35 +02:00
compile-contracts.ts test: port Moonwall block validation suite (#201) 2025-10-06 09:47:35 +02:00
deploy-contracts.ts fix: 🛡️ Check origin for validator set messages (#343) 2025-12-15 14:11:08 +01:00
fund-providers.ts feat: 🚀 add storage-hub nodes to CLI (#287) 2025-11-22 11:49:14 +01:00
fund-validators.ts fix: build contracts with test/mocks (#317) 2025-11-24 17:36:29 +01:00
register-providers.ts feat: 🚀 add storage-hub nodes to CLI (#287) 2025-11-22 11:49:14 +01:00
send-txn.ts fix: 🚨 Add error in TS for missing awaits (#81) 2025-05-19 22:28:43 +00:00
set-datahaven-parameters.ts perf: Batch runtime parameter updates to speed up E2E setup (#368) 2025-12-22 15:57:32 +01:00
setup-validators.ts test: Update validator set e2e test (#126) 2025-10-02 11:23:40 +00:00
test-parallel.ts test: port ethereum tests from moonbeam (#278) 2025-11-22 10:02:05 +01:00
update-validator-set.ts test: 🏗️ Setup e2e testing framework (#104) 2025-07-16 18:51:07 +02:00