Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: starknet GMP #731

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

Conversation

ctoyan
Copy link
Contributor

@ctoyan ctoyan commented Dec 18, 2024

Description

This PR consists of:

  • call contract event verification
  • signer rotation event verification
  • starknet specific types and events de/serialisation implementations

Todos

  • Unit tests
  • Manual tests
  • Documentation
  • Connect epics/issues

Steps to Test

You would need the Starknet relayer, in order to manually test, which is not open sourced or deployed yet.
Also we don't have integration or end-to-end tests yet.

Expected Behaviour

Handle GMP messages from other amplifier chains

Other Notes

The FieldElementAndEventIndex PR must be merged to main before this PR manages to compile successfully.

@ctoyan ctoyan requested a review from a team as a code owner December 18, 2024 15:28
@ctoyan ctoyan marked this pull request as draft December 27, 2024 11:25
@ctoyan ctoyan marked this pull request as ready for review January 12, 2025 20:46
ampd/src/handlers/starknet_verify_msg.rs Outdated Show resolved Hide resolved
ampd/src/handlers/starknet_verify_msg.rs Outdated Show resolved Hide resolved
ampd/src/starknet/verifier.rs Outdated Show resolved Hide resolved
ampd/src/starknet/verifier.rs Outdated Show resolved Hide resolved
packages/starknet-types/Cargo.toml Outdated Show resolved Hide resolved
ampd/src/lib.rs Outdated Show resolved Hide resolved
ampd/src/lib.rs Outdated Show resolved Hide resolved
ampd/src/lib.rs Outdated Show resolved Hide resolved
ctoyan and others added 5 commits January 29, 2025 17:33
…fier set (#58)

* take into account index on checking for events in verify verifier set

* remove useless tuple with felt and event; now its only event

* fix functions name for verifier set and verify contract call

* return None on verify verifier set, if something went wrong / remove result and some errors that applied to prev scenario

* simplify logic of verify verifier set
packages/axelar-wasm-std/Cargo.toml Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants