Skip to content

Commit 69d6546

Browse files
authored
feat: hourglass (task-based AVS framework) (#1534)
**Motivation:** We need to migrate the hourglass core contracts from https://github.com/Layr-Labs/hourglass-monorepo/tree/master/contracts. This is due to the following reasons: * Better security posture of the core contracts repository * Automatic support of Zeus for contract upgrades * Easier maintainability along with other core contracts which will be governed by the protocol council. **Modifications:** * TaskMailbox and interface * Extensive unit tests for the TaskMailbox (with appropriate Mock contracts) * Updated bindings (Including stale bindings from Multichain) * Smart contract documentation for the TaskMailbox **Result:** The Hourglass core contract migration.
1 parent 8e5550a commit 69d6546

File tree

23 files changed

+11224
-102
lines changed

23 files changed

+11224
-102
lines changed

docs/avs/task/TaskMailbox.md

Lines changed: 416 additions & 0 deletions
Large diffs are not rendered by default.

pkg/bindings/BN254CertificateVerifier/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/ECDSACertificateVerifier/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/ECDSACertificateVerifierStorage/binding.go

Lines changed: 95 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/IAVSTaskHook/binding.go

Lines changed: 325 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/IECDSACertificateVerifier/binding.go

Lines changed: 95 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/ITaskMailbox/binding.go

Lines changed: 1785 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/KeyRegistrar/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/OperatorTableUpdater/binding.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/bindings/TaskMailbox/binding.go

Lines changed: 2413 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)