datahaven/contracts/deployments
Ahmad Kaouk edcb13dbbc
fix: add era replay guard for rewards submissions (#477)
## Summary
- guard `DataHavenServiceManager.submitRewards` by `(startTimestamp,
duration, token)` so each reward window can only be submitted once per
token
- expose the replay-guard state and error in the interface, add Foundry
coverage, wire the missing runtime `std` features, and regenerate the
Wagmi/storage/state-diff artifacts
- fix the local slash E2E path by aligning the `anvil` Snowbridge
`messageOrigin` with `stagenet-local`, refreshing the tracked anvil
deployment metadata, and waiting for `ServiceManager.SlashingComplete`

## Testing
- `cargo fmt --all -- --check`
- `forge test --match-contract RewardsSubmitterTest`
- `forge test --match-contract StorageLayoutTest -vvv`
- `./scripts/check-storage-layout.sh`
- `./scripts/check-storage-layout-negative.sh`
- `bun ./scripts/check-generated-state.ts`
- `bun generate:wagmi`
- `bun test ./e2e/suites/slash.test.ts --timeout 1200000
--test-name-pattern "verify we have the agent origin set|Activate
slashing|use sudo to slash operator"`

## Notes
- Slash E2E verification reran the previously failing sudo slash path;
the long liveness scenario was not rerun end to end.
2026-04-17 14:27:09 +02:00
..
anvil-agent-info.json fix: add era replay guard for rewards submissions (#477) 2026-04-17 14:27:09 +02:00
anvil-rewards-info.json fix: add era replay guard for rewards submissions (#477) 2026-04-17 14:27:09 +02:00
anvil.json refactor: rename rewardsInitiator to snowbridgeInitiator (#476) 2026-03-24 12:41:36 +01:00
datahaven-logo.jpg feat: support updating the AVS dashboard metadata (#136) 2025-09-02 15:54:47 +02:00
datahaven-logo.png feat: support updating the AVS dashboard metadata (#136) 2025-09-02 15:54:47 +02:00
hoodi.json feat: contracts upgrade command (#463) 2026-03-02 21:50:10 +01:00
metadata.json refactor(contracts): Harden DataHavenServiceManager with input validation and code cleanup (#395) 2026-01-20 10:32:32 +00:00
stagenet-hoodi-rewards-info.json fix: Register the snowbridge agent in the Dathaven Service instead of the operator node (#428) 2026-03-09 14:33:43 +01:00
stagenet-hoodi.json fix: contracts upgrade environment support and deploy fixes (#473) 2026-03-16 10:55:47 +01:00
state-diff.checksum fix: add era replay guard for rewards submissions (#477) 2026-04-17 14:27:09 +02:00
state-diff.json fix: add era replay guard for rewards submissions (#477) 2026-04-17 14:27:09 +02:00