• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iotaledger / iota / 19522233271
63%

Build:
DEFAULT BRANCH: develop
Ran 20 Nov 2025 04:01AM UTC
Jobs 1
Files 1431
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2025 04:48PM UTC coverage: 65.925% (-0.04%) from 65.963%
19522233271

push

github

web-flow
feat(authority): make simulate_transaction work with both dry_run and dev_inspect (#9324)

# Description of change

Changed the implementation of `simulate_transaction` in the authority.
Now it supports the execution of both DRY RUN (when passing
`VmChecks::ENABLED`) and DEV INSPECT (when passing
`VmChecks::DISABLED`).

The REST API was not changed and a dry run was hardcoded for the
`simulate_transaction` API (as it was working before). Not sure if this
is needed to be changed as well. If yes, `TransactionSimulationResponse`
should be changed to include `execution_result` and
`SimulateTransactionQueryParameters` should be changed to include the
`VmChecks` param.

The current tests should check that the
`authority::simulate_transaction` dry run path works correctly. No new
tests were added for the dev inspect path. If we don't change the REST
API now, these new tests could be written once the gRPC is ready.

## Links to any relevant issues

Fixes #9323 

## How the change has been tested

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [ ] Patch-specific tests (correctness, functionality coverage)
- [ ] 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

58 of 72 new or added lines in 5 files covered. (80.56%)

426 existing lines in 34 files now uncovered.

236570 of 358848 relevant lines covered (65.92%)

2353971.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
80.5
-0.68% crates/iota-core/src/authority.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.97
3.19% consensus/core/src/authority_service.rs
1
83.04
-0.45% consensus/core/src/subscriber.rs
1
91.18
-1.47% crates/iota-cluster-test/src/test_case/native_transfer_test.rs
1
79.61
0.23% crates/iota-core/src/authority_server.rs
1
93.01
-0.13% crates/iota-core/src/consensus_adapter.rs
1
89.25
-0.14% crates/iota-network/src/state_sync/mod.rs
2
85.11
-0.11% crates/iota-core/src/authority/authority_per_epoch_store.rs
3
81.71
-3.66% consensus/config/src/crypto.rs
3
88.02
0.77% consensus/core/src/synchronizer.rs
3
68.35
-3.8% crates/iota-config/src/transaction_deny_config.rs
3
70.41
-0.23% crates/iota-core/src/checkpoints/mod.rs
3
77.05
-4.92% crates/iota-core/src/traffic_controller/nodefw_test_server.rs
3
87.65
-3.7% crates/iota-genesis-builder/src/stardust/types/address_swap_split_map.rs
3
47.37
0.0% crates/iota-genesis-builder/src/stardust/types/snapshot.rs
3
91.8
-4.92% crates/iota-grpc-server/src/server.rs
3
75.82
-0.98% crates/iota-sdk/src/lib.rs
3
75.98
-0.35% crates/iota-types/src/crypto.rs
3
88.08
-0.87% crates/iota-types/src/effects/effects_v1.rs
4
88.1
-0.34% crates/iota-genesis-builder/src/lib.rs
4
56.13
0.15% crates/iota-json-rpc-types/src/iota_object.rs
4
56.38
0.14% crates/iota-json-rpc-types/src/iota_transaction.rs
4
79.1
-0.05% crates/iota-types/src/transaction.rs
5
52.53
-5.05% crates/iota-json-rpc-types/src/object_changes.rs
6
79.46
-5.36% crates/iota-genesis-builder/src/validator_info.rs
7
47.78
-1.02% crates/iota-sdk/src/apis/read.rs
7
84.05
-0.5% crates/iota-transaction-builder/src/lib.rs
8
42.86
-7.14% crates/iota-types/src/collection_types.rs
13
82.79
-10.66% crates/iota-transaction-builder/src/package.rs
14
86.38
0.37% crates/iota-test-transaction-builder/src/lib.rs
16
77.18
2.52% crates/test-cluster/src/lib.rs
36
0.0
0.0% crates/iota-aws-orchestrator/src/protocol/iota.rs
49
72.12
-3.14% crates/iota-aws-orchestrator/src/benchmark.rs
74
0.0
0.0% crates/iota-aws-orchestrator/src/main.rs
134
0.0
0.0% crates/iota-aws-orchestrator/src/orchestrator.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 19522233271.1 20 Nov 2025 04:01AM UTC 1433
65.91
GitHub Action Run
Source Files on build 19522233271
  • Tree
  • List 1431
  • Changed 54
  • Source Changed 8
  • Coverage Changed 54
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19522233271
  • e4af9747 on github
  • Prev Build on develop (#19486545441)
  • Next Build on develop (#19556932824)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc