learnforpractice

Results 29 comments of learnforpractice

As I was said, in C++, you need to use memcmp to sort public keys. K1 and R1 keys are both stored in 34 bytes in C++. If the first...

Yeah, the first byte of WA key is 2, and the raw WA key size is not fixed to 34. The following python code demonstrates how to sort keys combined...

Thank you for reporting the issue! I have fixed the bug, and it will be included in the next release.

You can workaround this issue by using the following method: ```python binargs = eosapi.abi_json_to_bin('testaccount', 'testaction', {'time': '2023-03-10T14:44:30'}) args = bytes.fromhex(binargs['binargs']) #for multiple actions eosapi.push_actions([['testaccount', 'testaction', args, {'myaccount': 'active'}]]) #for only...

Thank you! The changes have been made. About why adding CXXFlags to TargetSpec cxxflags is needed for compiling C++ source code. If you move cxx flags such as -std=c++17 to...

To make it more clear, I have created an example to show why CXXFlags is not useless in TargetSpec. https://github.com/learnforpractice/cxxflags-example Sorry about causing confusion. I tried to make the pull...

To make it more clear, I have created an example to show why CXXFlags is not useless in TargetSpec. https://github.com/learnforpractice/cxxflags-example Sorry about causing confusion. I tried to make the pull...

Yeah, that’s more complex than I thought, thanks for pointing that out. Since CXXFLAGS is not supported by tinygo cgo currently, I need to fix it or waiting for it...

The output of `l` in codon is reasonable because it has the type `List[Optional[Dict[str, int]]]` under codon's auto type deduction rule. However, this can be confusing because the type is...