Commit cd87b43
committed
Add multicall and prediction-market integration coverage; drop unused test deps
- tests/integration_multicall.rs (#926): batch validation, pause gating and
admin surface on the real contract; pins that well-formed batches aimed at
distinct targets reach the cross-contract boundary for aggregate and
try_aggregate_calls (ink! 5's off-chain engine cannot execute real
invocations, so deeper atomicity assertions need e2e infra - documented)
- tests/integration_prediction_market.rs (#927): full create -> stake ->
settle -> claim lifecycle for both admin-resolved markets and
oracle-settled markets with exact payout math (3960 net on equal/unequal
pools), balance deltas, loser/reputation and double-claim rejections
- make propchain_multicall / propchain_prediction_market modules public,
give multicall an rlib target so it links into the suite
- remove never-referenced compliance_registry and fractional dev-deps of
tests/ (#928, #929) to stop building them for no coverage
- silence clippy::clone_on_copy firing inside ink! generated storage code1 parent aeecc2d commit cd87b43
36 files changed
Lines changed: 387 additions & 10 deletions
File tree
- contracts
- analytics/src
- bridge/src
- compliance_registry
- crowdfunding/src
- database/src
- dex/src
- factory/src
- fees/src
- fractional/src
- gdpr
- governance/src
- hello-world/src
- identity
- insurance/src
- ipfs-metadata/src
- lending/src
- lib/src
- metadata/src
- mock-oracle/src
- monitoring/src
- multicall
- src
- oracle/src
- prediction-market/src
- property-management/src
- proxy/src
- sanctions
- staking/src
- third-party/src
- traits/src
- version-registry/src
- tests
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments