Skip to content

Conversation

0xrajath
Copy link
Collaborator

Motivation:

The TaskMailbox needs an option to allow no consensus config to be set, such that the AVS can define their own consensus logic in their handlePostTaskResultSubmission hook.

Modifications:

  • Consensus.NONE is a valid consensus option.
  • Updated handlePostTaskResultSubmission to take msg.sender field as well.

Result:

More flexible consensus configs.

@0xrajath 0xrajath self-assigned this Jul 29, 2025
@0xrajath 0xrajath added the ⌛ Hourglass Hourglass, a task-based AVS framework label Jul 29, 2025
@0xrajath 0xrajath changed the title feat: no consensus set feat: no consensus config Jul 29, 2025
@0xrajath 0xrajath marked this pull request as ready for review July 29, 2025 22:04
@0xrajath 0xrajath merged commit f43d517 into release-dev/hourglass Jul 30, 2025
9 checks passed
@0xrajath 0xrajath deleted the rajath/default-consensus branch July 30, 2025 14:06
0xrajath added a commit that referenced this pull request Jul 30, 2025
**Motivation:**

The TaskMailbox needs an option to allow no consensus config to be set,
such that the AVS can define their own consensus logic in their
`handlePostTaskResultSubmission` hook.

**Modifications:**

* Consensus.NONE is a valid consensus option.
* Updated `handlePostTaskResultSubmission` to take `msg.sender` field as
well.

**Result:**

More flexible consensus configs.
@0xrajath 0xrajath mentioned this pull request Jul 30, 2025
0xrajath added a commit that referenced this pull request Jul 30, 2025
# v1.8.0 Hourglass

The Hourglass release consists of a framework that supports the creation
of task-based AVSs. The task-based AVSs are enabled through a
`TaskMailbox` core contract deployed to all chains that support a
`CertificateVerifier`. Additionally AVSs deploy their
`TaskAVSRegistrar`. The release has 3 components:

1. Core Contracts
2. AVS Contracts
3. Offchain Infrastructure

The below release notes cover Core Contracts. For more information on
the end to end protocol, see our
[docs](https://github.com/Layr-Labs/hourglass-monorepo/blob/master/README.md)
and [core contract docs](../docs/avs/task/TaskMailbox.md).

## Release Manager

@0xrajath 

## Highlights

This hourglass release only introduces new contracts. As a result, there
are no breaking changes or deprecations.

🚀 New Features

Destination Chain Contracts
- `TaskMailbox`: A core infrastructure contract that enables task-based
AVS execution models. It provides a standardized way for AVSs to create
tasks, have operators execute them, and submit verified results
on-chain. The contract acts as a mailbox system where task creators post
tasks with fees, and operators compete to execute and submit results
with proper consensus verification.

## Changelog

- feat: no consensus config [PR
#1574](#1574)
- fix: hourglass internal review fixes [PR
#1570](#1570)
- fix: addressing pr comments [PR
#1568](#1568)
- fix: deploy script
- fix: deploy script
- fix: hourglass release upgrade semver
- fix: hourglass release upgrade semver
- docs: changelog
- fix: correct ecdsa message hash check [PR
#1563](#1563)
- fix: missing assume in fuzz test
- fix: `submitResult` certificate checks [PR
#1557](#1557)
- chore: forge fmt
- fix: certificate verifier interface changes
- feat: hourglass zeus script [PR
#1546](#1546)
- fix: mock certificate verifiers [PR
#1545](#1545)
- feat: hourglass (task-based AVS framework) [PR
#1534](#1534)

---------

Co-authored-by: Nadir Akhtar <[email protected]>
@0xrajath 0xrajath mentioned this pull request Jul 30, 2025
0xrajath added a commit that referenced this pull request Jul 30, 2025
# v1.8.0 Hourglass

The Hourglass release consists of a framework that supports the creation
of task-based AVSs. The task-based AVSs are enabled through a
`TaskMailbox` core contract deployed to all chains that support a
`CertificateVerifier`. Additionally AVSs deploy their
`TaskAVSRegistrar`. The release has 3 components:

1. Core Contracts
2. AVS Contracts
3. Offchain Infrastructure

The below release notes cover Core Contracts. For more information on
the end to end protocol, see our
[docs](https://github.com/Layr-Labs/hourglass-monorepo/blob/master/README.md)
and [core contract docs](../docs/avs/task/TaskMailbox.md).

## Release Manager

@0xrajath 

## Highlights

This hourglass release only introduces new contracts. As a result, there
are no breaking changes or deprecations.

🚀 New Features

Destination Chain Contracts
- `TaskMailbox`: A core infrastructure contract that enables task-based
AVS execution models. It provides a standardized way for AVSs to create
tasks, have operators execute them, and submit verified results
on-chain. The contract acts as a mailbox system where task creators post
tasks with fees, and operators compete to execute and submit results
with proper consensus verification.

## Changelog

- feat: no consensus config [PR
#1574](#1574)
- fix: hourglass internal review fixes [PR
#1570](#1570)
- fix: addressing pr comments [PR
#1568](#1568)
- fix: deploy script
- fix: deploy script
- fix: hourglass release upgrade semver
- fix: hourglass release upgrade semver
- docs: changelog
- fix: correct ecdsa message hash check [PR
#1563](#1563)
- fix: missing assume in fuzz test
- fix: `submitResult` certificate checks [PR
#1557](#1557)
- chore: forge fmt
- fix: certificate verifier interface changes
- feat: hourglass zeus script [PR
#1546](#1546)
- fix: mock certificate verifiers [PR
#1545](#1545)
- feat: hourglass (task-based AVS framework) [PR
#1534](#1534)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌛ Hourglass Hourglass, a task-based AVS framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants