-
Notifications
You must be signed in to change notification settings - Fork 0
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
Debug cctl batch failing (Ready to merge) #177
Conversation
Ok it's working against cctl now.
|
@@ -12,7 +12,8 @@ name = "kairos-server" | |||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |||
|
|||
[features] | |||
default = ["cctl-tests", "deposit-mock", "database"] | |||
# TODO readd database to default features once we have a nix module for postgres | |||
default = ["cctl-tests", "deposit-mock"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have a nix module for postgres
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not one for the dev shell.
Some(secret_key_file) => { | ||
if SecretKey::from_file(secret_key_file).is_err() { | ||
return Err("Invalid secret key".to_string()); | ||
let secret_key_file = parse_env_as_opt::<String>("KAIROS_SERVER_SECRET_KEY_FILE")? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somehow I didn't see this earlier, where is this secret key file read from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testdata in the root of the repo. see .env
This PR shows that the same exact proof
testdata/proof-from-server.json
works as expected in the test execution engine, but fails under cctl withInterpreter error: trap: Code(Unreachable)
This also upgrades risc0, and improves error handling,
once verify under cctl is work we can fixup the pr to remove debug logicdone.