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

feat: Display call parameters in the callstack table - Issue #143 #147

Merged
merged 5 commits into from
Apr 12, 2024

Conversation

melnikga
Copy link
Contributor

#143
The parameters are now displayed in the callstack table.

@barabanovro
Copy link
Contributor

Hey @melnikga, please add this fibonacci program to examples

use core::felt252;

fn main() -> felt252 {
    let n = 10;
    let result = fib(1, 1, n);
    result
}

fn fib(a: felt252, b: felt252, n: felt252) -> felt252 {
    match n {
        0 => a,
        _ => fib(b, a + b, n - 1),
    }
}

Copy link
Contributor

@barabanovro barabanovro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@barabanovro barabanovro merged commit bfd5a9e into walnuthq:main Apr 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Display call parameters in the callstack table
2 participants