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

[Bug] Error [ECLI0377018] #5699

Open
uok825 opened this issue Nov 13, 2023 · 1 comment
Open

[Bug] Error [ECLI0377018] #5699

uok825 opened this issue Nov 13, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@uok825
Copy link

uok825 commented Nov 13, 2023

🐛 Bug Report

Simply trying to run the docs hello world example. leo run main command executing succesfully but leo execute main is not.

Code snippet to reproduce

// The 'hello' program.
program hello.aleo {
    transition main(public a: u32, b: u32) -> u32 {
        let c: u32 = a + b;
        return c;
    }
}
// The program input for hello/src/main.leo
[main]
public a: u32 = 1u32;
b: u32 = 2u32;

Stack trace & error message

utku@Utku-MacBook-Air hello % leo run main
       Leo ✅ Compiled 'main.leo' into Aleo instructions

⛓  Constraints

 •  'hello.aleo/main' - 33 constraints (called 1 time)

➡️  Output

 • 3u32

       Leo ✅ Finished 'hello.aleo/main' (in "/Users/utku/testing-leo/hello/build")
utku@Utku-MacBook-Air hello % leo execute main
       Leo ✅ Compiled 'main.leo' into Aleo instructions

Error [ECLI0377018]: Failed to execute the `execute` command.
SnarkVM Error: https://api.explorer.aleo.org/v1/testnet3/latest/stateRoot: status code 504

Expected Behavior

Suppose to execute correctly

Your Environment

-Leo Version
-1.10
-Rust Version
-rustc 1.71.1
-OS
-MacOs Sonoma 14.0

@uok825 uok825 added the bug Something isn't working label Nov 13, 2023
@uok825
Copy link
Author

uok825 commented Nov 15, 2023

after some time i executed same code dont know why it is happended.
`
utku@Utku-MacBook-Air hello % leo execute main
Leo ✅ Compiled 'main.leo' into Aleo instructions

⛓ Constraints

• 'hello.aleo/main' - 33 constraints (called 1 time)

➡️ Output

• 3u32

{"type":"execute","id":"at1c69m83843fhqa83ykrdf4qu6ev7j4k3gcdt4k4w6eq0nvuv3tqrsnk9366","execution":{"transitions":[{"id":"au1cjrdaxlm890pq4mfdm9nat9xzzlk5wv7ucprp46dxwm9stazsvrsam3jqh","program":"hello.aleo","function":"main","inputs":[{"type":"public","id":"2296941127413848073653657162128887905006912336191165491490566865081746701024field","value":"1u32"},{"type":"private","id":"1043853235032823689453150155451893284509092442356492339968232312036984572995field","value":"ciphertext1qyq86g09pd9r3fqgctsv6ehr0m5cqa0fyyr78vmtdjuc0q9yed6ewzgnrnz56"}],"outputs":[{"type":"private","id":"7524335525736460809342034410386792165180818121695657200659032944025831072573field","value":"ciphertext1qyq9g4wyl3grz3hcnxpj600x3tjzd7s5lxyhsd6snqfrnjqntvaezpgevtvca"}],"tpk":"6489177562355376343479641276919479485297725167407655347070817195933240847893group","tcm":"7368281679963615217993480132419522438709751010268080937608491072924619451802field"}],"global_state_root":"sr1se3lzxqv0j6pupda5k87ae0cejlznhqn8yv4wf035vygzky49vysttwly0","proof":"proof1qyqsqqqqqqqqqqqpqqqqqqqqqqqzlrgmstxezpnwgyuk3lh65vlyx4mmvmcdfvk32xyvt06qnr8cf9tqjpnlp0pxrqcf34aeudx0g0ypqxc6hgzwdrr03h6re62d8r6u8snt5ty0hneag5j4pqafpessdtx06p03d0n94eh6yvjq53xzrs2qaqf50yyt4ky928run4p000y69zcrpqccl5p9k6qs5zn4d0ernas6gkrqv0r8du6v46k5jqkzyfmzgqqcze4799dmfne260d8uvedt2uu8z2gq6up9y6ksz4t3juh04fgxspfr6l73zvlg3lgx2z2yg9j58sqmynnehglad88gt4x06tq83qgh2fjkldr5fzl8tk7tghnmum9r9wp83yc6ry5232capzhvjdlgfdqrgvtt3l02r2nyd5f9p7086ftmvdgeyyr84jxnuy570jxha4my7jwrar9zxxvlg9za0knd3hu8kl7qqa8zuah6n6pgd7r004zvw2ck3pm9ffglwk0c6pgly24c5njzxwg8ugdfjm3u5lkh5pyn80t7wk3xq0mcj9rwyjck0zp8ejuaht90jq438s7awkggpqjd545cjeevrv9zc6pzytdsjys5zgzua34yh2u7kqwuld2x8yv42vxn2zw9thvm58r9ykwflv03y8mcvfascqvvenf3dqy8v9r55jaw3ggkz2xfphulqgqg0rev4fv34ml0s5sx7gnsx8depceerfcj6387mdhcq469h6c0q9lxq20qza0gp06edr2958huk0rghep2jmt45cet8tf84xe63xnszn98ykkm7pfft30su9t3f8lx78yl8pz0fny6h4fnn48qjk92dclzp7nng4mgvtpnvae420m3wult8vev0qtlcsjn8ngfan84ps0jj4qd3kvrjcclzwh2gwgxyvll8aflavxt3gza3vx6dg269zzsq27qeqtsymdmzl354uph36s9k3e5cuh3k89tmrgxvspkpqq337tmxlcnqrr4sg0dy824k2d4p0q5uyhqvgncnsqk9z0lhf8xv9ks4pn8l69wrm5lkpy5wkjj60e40wfamp9laudhmlmdzg0kkzk7nc2dcr96haspc25l059d0prcayf47x6lzj84fhtpywaltc4rg5e9kaatzh64hysr69qk0ldncj45e2su43393uqyxqcgkhyazus4uyapvafwjcqzlgjqvqqqqqqqqqqqlaz35mptk92987e226c347g24e57p9490ap35z6pftydsqm6x8q22s6cp30fufakl2m0vg4vf2xqyqgzcl2gdkj89xk256jendfp4pd222v00me40qavps2etjzj0a0jufrhat7fefxxkepskhvu5kqjmqpq8ggtuq4lygnh2e8r9e04huynah8zufvc0r795rk868sekhujalsuzn9fhe7t98lmwftmhsmyc29z2elsgnlnr8fj3jpeemj5nywpee43l7m77xag9jw2pgkezlmdnrssqqq2z2gvv"}}

   Leo ✅ Executed 'hello.aleo/main' (in "/Users/utku/testing-leo/hello/build")

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant