Skip to content

Commit a115d53

Browse files
committed
fix(docs): pass missing arg to log_all_levels in logging_example_test
The contract declares `fn log_all_levels(value: Field)` but the test called it with no args, causing nargo to abort. This blocks the entire docs/examples workspace from running TXE tests via `aztec test`. Caught while adding the counter_contract_test package: scoping `aztec test` to `--package counter_contract_test` still compiles the whole workspace and trips on this. One-character fix.
1 parent 93dd866 commit a115d53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • docs/examples/contracts/logging_example_test/src

docs/examples/contracts/logging_example_test/src/lib.nr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ unconstrained fn test_public_logging() {
2424
#[test]
2525
unconstrained fn test_all_log_levels() {
2626
let (env, contract_address, owner) = setup();
27-
env.call_private(owner, LoggingExample::at(contract_address).log_all_levels());
27+
env.call_private(owner, LoggingExample::at(contract_address).log_all_levels(42));
2828
}
2929

3030
#[test]

0 commit comments

Comments
 (0)