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

Better type annotation syntax is needed. #25

Open
jokerwyt opened this issue Aug 26, 2024 · 0 comments
Open

Better type annotation syntax is needed. #25

jokerwyt opened this issue Aug 26, 2024 · 0 comments

Comments

@jokerwyt
Copy link
Contributor

For example, get_rpc_header(rpc, 'appnet-rpc-id', rpc_id) needs to know the type of rpc_id to generate C++ type cast code. for now we just use:

rpc_id = 0
rpc_id = get_rpc_header(rpc, 'appnet-rpc-id', rpc_id)

which is not that pleasing to the eye.

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

No branches or pull requests

2 participants
@jokerwyt and others