Skip to content

docs: fix "hi" method authorization example#441

Open
DanailMinchev wants to merge 1 commit intoEOSIO:developfrom
DanailMinchev:EOSIO/docs/hello-world-contract-updates
Open

docs: fix "hi" method authorization example#441
DanailMinchev wants to merge 1 commit intoEOSIO:developfrom
DanailMinchev:EOSIO/docs/hello-world-contract-updates

Conversation

@DanailMinchev
Copy link

Hi,

Following https://developers.eos.io/welcome/latest/getting-started-guide/hello-world/#authorization example I am receiving:

➜  hello git:(master) ✗ eosio-cpp -abigen -o hello.wasm hello.cpp
/Users/XXX/YYY/contracts/hello/hello.cpp:9:27: error: use of undeclared identifier 'name'
        print( "Hello, ", name{user} );
                          ^
Warning, action <hi> does not have a ricardian contract
1 error generated.
Error while processing /Users/XXX/YYY/contracts/hello/hello.cpp.
abigen error

I tried to fix it, please let me know if it's correct now or I am missing something as I am a beginner in this?

Thanks

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.

1 participant