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

compile error with aptos 1.0.6 #5

Open
shaokun11 opened this issue Feb 28, 2023 · 0 comments
Open

compile error with aptos 1.0.6 #5

shaokun11 opened this issue Feb 28, 2023 · 0 comments

Comments

@shaokun11
Copy link

error: entry function cannot return values
┌─ /home/ubuntu/LayerZero-Aptos-Contract/apps/counter/sources/counter.move:71:5

71 │ ╭ public entry fun lz_receive_types(_src_chain_id: u64, _src_address: vector, _payload: vector) : vector<type_info::TypeInfo> {
72 │ │ vector::empty<type_info::TypeInfo>()
73 │ │ }
│ ╰─────^

{
"Error": "Move compilation failed: extended checks failed"
}

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

1 participant