mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
## Summary - Port 16 Moonbeam Moonwall E2E test suites to DataHaven, covering proxy, multisig, sudo, txpool, receipts, precompiles, polkadot-js API, and node RPC - Adapt all tests for DataHaven runtime differences: 2 inherents (timestamp + randomness) instead of Moonbeam's 4, different event ordering/counts from fee/treasury handling, no PoV constraints - Use resilient event-based lookups (`.find()`/`.some()`) instead of hardcoded array indices throughout - Add supporting Solidity contracts: `FailingConstructor`, `StorageLoop` ## New test suites | Suite | Category | Tests | |-------|----------|-------| | `test-proxy-balance` | common/proxy | Proxy with Balances type | | `test-proxy` | stagenet/proxy | Add/remove proxy, delayed & announced proxy (7 tests) | | `test-multisigs` | stagenet/multisig | Creation, approval, execution, cancellation | | `test-sudo` | stagenet/sudo | Dispatch, sudoAs, set/remove key | | `test-polkadot-api` | stagenet/polkadot-js | Genesis, headers, transfers, extrinsics, events | | `test-polkadot-chain-info` | stagenet/polkadot-js | Chain name/type queries | | `test-node-rpc-peer` | stagenet/node-rpc | `system_peers` RPC | | `test-precompile-bn128-bounds` | stagenet/precompile | bn128 add/mul/pairing edge cases | | `test-receipt` | stagenet/receipt | Receipt fields, effective gas price | | `test-receipt-revert` | stagenet/receipt | Receipt for reverted transactions | | `test-evm-store-storage-growth` | stagenet/storage-growth | EVM SSTORE storage growth | | `test-txpool-future` | stagenet/txpool | Future transaction pool | | `test-txpool-pending` | stagenet/txpool | Pending transaction pool | --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test-proxy-balance.ts | ||