|
Ran
|
Jobs
1
|
Files
1393
|
Run time
2min
|
Badge
README BADGES
|
push
github
feat(iota): add keytool sign-raw command (#9868) # Description of change Add keytool sign-raw command so one can sign any bytes, not just iota transactions. This is interesting for custom authenticators for account abstraction ## Links to any relevant issues Fixes #9866 ## How the change has been tested - [x] Basic tests (linting, compilation, formatting, unit/integration tests) - [ ] Patch-specific tests (correctness, functionality coverage) - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I have checked that new and existing unit tests pass locally with my changes ``` iota keytool sign-raw --address 0x<a class=hub.com/iotaledger/iota/commit/111111111504e9350e635d65cd38ccd2c029434c">1111111116a3a480d8947a9ba6a15b215 --data 494f5441 ╭───────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ iotaAddress │ 0x111111111504e9350e635d65cd38ccd2c029434c6a3a480d8947a9ba6a15b215 │ │ rawData │ 494f5441 │ │ publicKey │ ACh7yWm12IxTDeHetzFAl/dtan3MUs/gSreulA5qbnZz │ │ publicKeyHex │ 0x287bc969b52cfe04ab7ae940e6a6e7673 │ │ signatureHex │ 0xf59b9c077649df882a1db8c48fd0ea2c608 │ │ iotaSignature │ APWbnAdyyqhgv3VBLiqzyjR43qgHZJ34gq6j1ITHU/bqr/Y3dxJ+N7QduMSP1mDQUtWyhxeiPmNjMvJzBA6ixggoe8lptdiMUw3h3rcxQJf3bWp9zFLP4Eq3rpQOam52cw== │ ╰───────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ iota ke... (continued)
20 of 21 new or added lines in 1 file covered. (95.24%)
45 existing lines in 16 files now uncovered.214016 of 338616 relevant lines covered (63.2%)
2500073.52 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
39.7 |
2.65% | crates/iota/src/keytool.rs |
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
91.18 |
0.0% | crates/iota-cluster-test/src/test_case/native_transfer_test.rs |
| 1 |
96.69 |
-0.55% | crates/iota-core/src/checkpoints/causal_order.rs |
| 1 |
93.27 |
-0.13% | crates/iota-core/src/consensus_adapter.rs |
| 1 |
90.43 |
-0.07% | crates/iota-core/src/execution_cache/writeback_cache.rs |
| 1 |
91.56 |
-0.13% | crates/iota-core/src/transaction_manager.rs |
| 1 |
89.59 |
-0.12% | crates/iota-network/src/state_sync/mod.rs |
| 1 |
97.92 |
-1.04% | crates/iota-surfer/src/surfer_task.rs |
| 1 |
95.06 |
-0.04% | crates/starfish/core/src/authority_service.rs |
| 1 |
76.14 |
0.1% | crates/test-cluster/src/lib.rs |
| 1 |
94.12 |
-0.42% | iota-execution/latest/iota-adapter/src/gas_meter.rs |
| 2 |
89.35 |
-0.69% | crates/iota-core/src/connection_monitor.rs |
| 3 |
89.44 |
-1.67% | crates/iota-surfer/src/surfer_state.rs |
| 5 |
82.73 |
0.91% | crates/iota-surfer/src/surf_strategy.rs |
| 6 |
73.97 |
-0.57% | crates/iota-network/src/randomness/mod.rs |
| 7 |
60.0 |
-10.0% | crates/iota-types/src/execution_status.rs |
| 12 |
93.03 |
-2.09% | crates/iota-core/src/congestion_tracker.rs |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | nextest+simtest - 21271293551.1 | 1395 |
63.19 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|