add flex support + fix raw amount display #9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
develop
This pull request includes several updates to the workflow configurations, build scripts, and source code to support the new Flex SDK, improve build processes, and enhance functionality.
Workflow Configuration Updates:
.github/workflows/codeql_check.yml
: Added$FLEX_SDK
to thesdk
matrix..github/workflows/main.yml
:master
anddev
branches for safety reasons.actions/checkout@v4
andactions/setup-node@v4
. [1] [2] [3] [4] [5]Build Script Enhancements:
CMakeLists.txt
: Integrated Hunter package manager and added dependencies forfmt
,jsoncpp
, andGTest
.Makefile
andapp/Makefile
: IntroducedPRODUCTION_BUILD
flag and adjusted stack sizes for different targets.app/Makefile.version
: Updated application version.Source Code Updates:
app/src/coin.h
: AddedCOIN_DEFAULT_DENOM_REPR_2
for additional denomination representation.app/src/common/tx.c
: Adjusted buffer sizes and storage definitions to include Flex target. [1] [2]app/src/json/json_parser.h
: IncreasedMAX_NUMBER_OF_TOKENS
for Flex target.app/src/parser.c
: Enhanced denomination checks and amount formatting to support multiple representations.Documentation:
README.md
: Updated to include Flex in the list of supported devices.