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

Implement initial version of simulation tests for crosschain functionality #2972

Closed
Tracked by #2905
lumtis opened this issue Oct 7, 2024 · 2 comments
Closed
Tracked by #2905
Assignees

Comments

@lumtis
Copy link
Member

lumtis commented Oct 7, 2024

Describe the Issue
Add messages generation from crosschain and observer modules allowing to simulation CCTX processing in simulation tests.

  • Generate vote gas price message for different observers
  • Generate vote inbound and outbound messages for observer
  • For simplicity we could keep all CCTX of type gas and just simple deposit withdraws and using gas CCTX type
  • As v2 will be the only supported interface for protocol contracts, we should just create v2 cctxs

Challenges:

  • Need an initial setup with a list of observer
  • Need a initial allowing the creation of CCTX with gas
  • Need to vote outbound at some point after inbounds are created
    • We should create the state with pending outbounds and generate vote messages for the different observers
    • Sometime we should also vote for failed outbound (but at a lesser weight)
@kingpinXD
Copy link
Contributor

kingpinXD commented Nov 5, 2024

Added a new issue for the observer module simulation
#3066

@kingpinXD
Copy link
Contributor

Will be creating a separate issue for operations other than
InboundVote and GasPriceVote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants