Add network display (#152)
* Add network name display instead of chainID * Add display of correct ticker along with network * Add FTM * Clang-format * Add comment in python script * Rename SIZE_MAX to MAX_SIZE * Change %u to %d in printf * Remove needless PIC * Update comment about get_chain_id() * Update example script to follow EIP155 * Remove unused PIC calls * Add whitespace between ticker and amount when using EIP155 * Remove decimal config per network, set back 18 everywhere * Adapt u32_from_BE to swith cases * Remove chainid from signTx.py * Switch to switch in stead of if in get_chain_id * Revert "Remove chainid from signTx.py" This reverts commit 454e09f280ec3e3ec1c7d7cc0027247ef4390088. * Change Ethereum chainid to 1 * Rename chainid_step to network_step * Adapt finalizeParsing to new chainid for Ethereum * Update snapshots * clang-format * Fix network display logic for clones * Fix tests * Add clone tests Co-authored-by: TamtamHero <10632523+TamtamHero@users.noreply.github.com>
This commit is contained in:
15
.github/workflows/ci-workflow.yml
vendored
15
.github/workflows/ci-workflow.yml
vendored
@@ -25,23 +25,25 @@ jobs:
|
||||
- name: Build an altcoin
|
||||
run: |
|
||||
make DEBUG=1 ALLOW_DATA=1 CHAIN=ethereum_classic
|
||||
mv bin/app.elf ethereum_classic_nanos.elf
|
||||
|
||||
- name: Upload altcoin binary
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ethereum_classic_nanos
|
||||
path: bin
|
||||
path: ./ethereum_classic_nanos.elf
|
||||
|
||||
- name: Build Ethereum
|
||||
run: |
|
||||
make clean
|
||||
make DEBUG=1 ALLOW_DATA=1
|
||||
mv bin/app.elf ethereum_nanos.elf
|
||||
|
||||
- name: Upload app binary
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ethereum_nanos
|
||||
path: bin
|
||||
path: ./ethereum_nanos.elf
|
||||
|
||||
job_build_debug_nano_x:
|
||||
name: Build debug Nano X
|
||||
@@ -60,23 +62,25 @@ jobs:
|
||||
run: |
|
||||
make clean
|
||||
make BOLOS_SDK=$NANOX_SDK DEBUG=1 ALLOW_DATA=1 CHAIN=ethereum_classic
|
||||
mv bin/app.elf ethereum_classic_nanox.elf
|
||||
|
||||
- name: Upload altcoin binary
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ethereum_classic_nanox
|
||||
path: bin
|
||||
path: ./ethereum_classic_nanox.elf
|
||||
|
||||
- name: Build Ethereum Nano X
|
||||
run: |
|
||||
make clean
|
||||
make BOLOS_SDK=$NANOX_SDK DEBUG=1 ALLOW_DATA=1
|
||||
mv bin/app.elf ethereum_nanox.elf
|
||||
|
||||
- name: Upload app binary
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ethereum_nanox
|
||||
path: bin
|
||||
path: ./ethereum_nanox.elf
|
||||
|
||||
jobs-e2e-tests:
|
||||
needs: [job_build_debug_nano_s, job_build_debug_nano_x]
|
||||
@@ -104,6 +108,9 @@ jobs:
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
path: tests/elfs
|
||||
- name: Gather elfs
|
||||
run: |
|
||||
cp `find . -name "*.elf"` ./tests/elfs
|
||||
- name: Run zemu tests
|
||||
run: |
|
||||
cd tests && yarn test
|
||||
|
||||
Reference in New Issue
Block a user