Skip to content

Conversation

@linh2931
Copy link
Contributor

@linh2931 linh2931 commented Apr 8, 2025

Add sync call traces to SHiP.

Depending on Abieos AntelopeIO/abieos#42

Resolves #1334

@linh2931 linh2931 requested review from heifner and spoonincode April 8, 2025 19:39
]
},
{
"name": "sync_call_trace", "fields": [
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this is where my comment https://github.com/AntelopeIO/abieos/pull/42/files#r2036377296 should have originally gone. ship does a good job versioning everything, so I think we ought to have this as sync_call_trace_v0 to follow existing pattern.

I think it probably ought to be a variant as well, to match existing established pattern. Not sure how problematic that may be off hand.

Base automatically changed from call_trace to sync_call April 23, 2025 23:33
{ "name": "sender_ordinal", "type": "varuint32" },
{ "name": "receiver", "type": "name" },
{ "name": "read_only", "type": "bool" },
{ "name": "data", "type": "bytes" },
Copy link
Contributor

Choose a reason for hiding this comment

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

Is data something we should expand into a versioned type? It is not clear to me what is expected for this data. How would a user expand it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That would be similar to data in action. The user can parse it once ABI is ready.

@linh2931 linh2931 merged commit 5190dbb into sync_call Apr 29, 2025
36 checks passed
@linh2931 linh2931 deleted the call_trace_in_ship branch April 29, 2025 18:50
@linh2931 linh2931 linked an issue Apr 29, 2025 that may be closed by this pull request
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.

SC: SHiP support for sync call traces

3 participants