Skip to content

Commit

Permalink
add flag to cpp test
Browse files Browse the repository at this point in the history
  • Loading branch information
abenso committed Jan 2, 2025
1 parent fbf243f commit dce75f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ add_definitions(
-DLEDGER_MINOR_VERSION=${MINOR_VERSION}
)

# Add flag to compile all Penumbra actions for cpp tests
add_definitions(-DFULL_APP)

##############################################################
# Static Libraries
file(GLOB_RECURSE LIB_SRC
Expand Down
2 changes: 1 addition & 1 deletion app/src/plan/undelegate.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ parser_error_t undelegate_printValue(const parser_context_t *ctx, const undelega
written_value = strlen(outVal);

// add unbonded amount
snprintf(metadata_buffer, sizeof(metadata_buffer), "uunbonding_start_at_%d_%s", undelegate->from_epoch.index,
snprintf(metadata_buffer, sizeof(metadata_buffer), "uunbonding_start_at_%llu_%s", undelegate->from_epoch.index,
validator_identity_bytes);
metadata.len = strlen(metadata_buffer);
rs_get_asset_id_from_metadata(&metadata, asset_id_bytes, ASSET_ID_LEN);
Expand Down

0 comments on commit dce75f9

Please sign in to comment.