Skip to content

Conversation

karthikiyer56
Copy link
Contributor

@karthikiyer56 karthikiyer56 commented May 23, 2025

This PR generates a new contractEvents package that is internal to horizon.
This new package accounts for events from txMetav3 and txMetav4 in accordance with the event format specified in cap-67.

The reason for the new package that is internal to horizon is because of #5669

@karthikiyer56 karthikiyer56 force-pushed the karthik/p23-sac-event-support branch from 1972985 to df9f523 Compare May 24, 2025 01:17
@karthikiyer56 karthikiyer56 marked this pull request as ready for review May 24, 2025 05:06
…rizon/internal/support/contractevents package
@karthikiyer56 karthikiyer56 force-pushed the karthik/p23-sac-event-support branch from c1bc508 to 0bb68b0 Compare May 24, 2025 05:08
@karthikiyer56 karthikiyer56 requested review from a team May 24, 2025 05:09
@tamirms
Copy link
Contributor

tamirms commented May 28, 2025

apart from @Shaptic 's comments, this PR looks good to me

Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice work and great test coverage.

data: func() xdr.ScVal {
mapData := &xdr.ScMap{
{
Key: xdr.ScVal{Type: xdr.ScValTypeScvSymbol, Sym: &[]xdr.ScSymbol{"to_muxed_id"}[0]},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can reuse make_symbol here, right?

@karthikiyer56 karthikiyer56 merged commit 6e0530d into protocol-23 May 28, 2025
17 checks passed
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.

Update events parsing code in horizon ingestion to support cap-0067
3 participants