We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
I am trying to use the new k1_recover intrinsic and I am getting error: use of undeclared identifier 'k1_recover'.
k1_recover
error: use of undeclared identifier 'k1_recover'
Expected Behavior:
Should be able to access the intrinsic.
I noticed that the rest of the functions listed here intrinsics.cpp did not work with the exception of sha3 as it's defined in crypto.hpp.
intrinsics.cpp
Steps to Reproduce:
nodeos --version v3.1.0-rc4 cdt-cpp -v clang version 9.0.1 (https://github.com/AntelopeIO/cdt-clang 1baf03bbaa65a20b3de00fede1bc039666006c8c) (https://github.com/AntelopeIO/cdt-llvm 6a0991f5118ef11008c88c3f5e6ce2692642ffb8) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /home/anon/Workspaces/example-eosio-coinbase-price-feed Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11 Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11 Candidate multilib: .;@m64 Selected multilib: .;@m64 lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy cmake --version cmake version 3.22.1 make --version GNU Make 4.3
#include <eosio/eosio.hpp> #include <eosio/crypto.hpp> using namespace eosio; using namespace std; CONTRACT oracle : public eosio::contract { using contract::contract; public: [[eosio::action]] void test() { k1_recover(); } };
The text was updated successfully, but these errors were encountered:
linh2931
Successfully merging a pull request may close this issue.
Description:
I am trying to use the new
k1_recover
intrinsic and I am gettingerror: use of undeclared identifier 'k1_recover'
.Expected Behavior:
Should be able to access the intrinsic.
I noticed that the rest of the functions listed here
intrinsics.cpp
did not work with the exception of sha3 as it's defined in crypto.hpp.Steps to Reproduce:
Dependencies:
Example File:
The text was updated successfully, but these errors were encountered: