Skip to content

Conversation

@linh2931
Copy link
Contributor

@linh2931 linh2931 commented Jul 9, 2025

Update Spring side to support sync call long names.

Depends on CDT AntelopeIO/cdt#362

Resolves #1581

@linh2931 linh2931 requested review from heifner and spoonincode July 9, 2025 18:27
Copy link
Contributor

@heifner heifner left a comment

Choose a reason for hiding this comment

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

Seems ok for now assuming it is temporary until it is replaced by interfaces.
Otherwise would like to see eosio::name used instead of uint64_t.

@linh2931 linh2931 linked an issue Jul 9, 2025 that may be closed by this pull request
static const std::string expected = R"=====(Test BEGIN ==================
Before calling sync call basictest
[caller->(callee,basictest)]: CALL BEGIN ======
[caller->(callee,249882312350186951)]: CALL BEGIN ======
Copy link
Contributor

Choose a reason for hiding this comment

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

This is okay for now? You don't want to go ahead and do the id->name mapping?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, Areg said it is OK for now, as looking up the mapping will require ABI, and this will be changed in dev2 when the sync call names and event IDs are using the same new mechanism.

@linh2931 linh2931 merged commit db2ada3 into sync_call Jul 14, 2025
28 checks passed
@linh2931 linh2931 deleted the long_names branch July 14, 2025 17:38
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: Support call names to be any valid C++ identifiers

3 participants