Skip to main content
PSUT / IoTEngineering learning studio
WORKSPACE
Offline-first portalDr. Mohammad Alja’afreh
Distributed Ledger StudioBlockchain for IoTExperimentsWorkspaces
ENGINEERING WORKSPACE
Home/Engineering Workspaces/B13 · Transaction receipts and event reconciliation
IoTPSUT IoT Engineering StudioPrincess Sumaya University for Technology · Dr. Mohammad Alja’afreh
Blockchain for IoT · advanced laboratory
Blockchain for IoT

Transaction receipts and event reconciliation

Ask Dr. Mohammad · B13 →

Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

Design experiment & verify evidence →
B13 · Laboratory mentorAsk about the current experiment, its algorithms or Python notebook.
Ask Dr. MohammadAdaptive practice
Learning workflow · Advanced blockchainB13 · Transaction receipts and event reconciliation
B13 · Academic orientation

Scope and objectives

Scope of the experiment

Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

The focus of this experiment is to interpret transaction receipt status, logs and event identifiers. Students then reconcile emitted events with intended state changes, and handle duplicate or failed transactions without assuming submission means success. The Concepts view explains the operation before the practical work; the Simulation view is used to examine reference and changed inputs, not to substitute for actual measurements.

Learning objectives

  • Interpret transaction receipt status, logs and event identifiers.
  • Reconcile emitted events with intended state changes.
  • Handle duplicate or failed transactions without assuming submission means success.
  • Identify the configured inputs (Receipt scenario) and record the corresponding observed outputs with units where applicable.
  • Compare the reference calculation or decision with an independent implementation or authorized observation; state any discrepancy and the applicable model boundary.

Expected learning outcomes

On completion, students can interpret transaction receipt status, logs and event identifiers, reconcile emitted events with intended state changes, and handle duplicate or failed transactions without assuming submission means success.

Required deliverables

Submit the derivation or state trace for the named operation, the exact reference and changed configurations, the associated simulator or practical evidence, and a short validation statement addressing handle duplicate or failed transactions without assuming submission means success. Separate predicted values from observations.

Prerequisite knowledge and related learning

Review the following catalogue prerequisites before starting. After completion, continue to Batching and controlled gas experiments.

Environment and experimental methodology

The listed browser model and experiment-specific local Python, Solidity or EVM workflow, where provided. Do not treat a model as a deployed ledger.

Begin with a manual prediction, record the baseline, change one independent condition at a time, and compare the resulting trace or measurements with the original prediction. Record observations and uncertainty separately from reference values. Follow the experiment’s specific procedure, safety limits, and acceptance checks.

B13 · learning outcome

Understand the experiment

Scientific architecture · Transaction receipts and event reconciliation

Transaction receipts and events — Client; Local EVM; Event consumer; Submit transaction / 0>1; Execute or revert / 1>1; Receipt status & logs / 1>0; Successful event / 1>2; Reconcile identifier / 2>2
Scientific concept map: Submitted transaction — Input and sender; Execution — Contract state transition; Receipt — Status and gas; Event log — Expected fields; Reconciliation — Confirm matching transaction.

Scientific foundations and analytical reasoning

Receipts carry transaction status; event indexing can lag, duplicate or miss events. Independent contract state is the reconciliation authority.

Before operating the equipment or executing the program, derive the expected outcome using the required theoretical work in Experiment. Use the diagram to identify the variables and system boundaries.

Scientific theory · Receipts, logs and reconciliation

A transaction receipt records execution status and logs for an included transaction. Logs are useful for indexing but may be delayed, duplicated or missed by a consumer. Reconciliation uses the transaction identity and authoritative contract state; confirmation policy determines when an observation is treated as sufficiently final.

Worked example and engineering interpretation

An event consumer that receives the same transaction/log-index pair twice should not create duplicate business records. A failed receipt must not be reported as a successful write. Compare indexed event count with unique event IDs and current state.

Engineering principles · additional worked teaching example

An included transaction can have failure status. A successful receipt may produce multiple events, so an event key should include transaction and log index with chain identity. Reorganization handling is needed for finalized state reconciliation.

From theory to experiment

Predict the reference result before operating the workbench; check the actual intermediate state, units and constraints. The existing simulation, implementation and procedure below are distinct sources of evidence.

How to investigate Transaction receipts and event reconciliation

Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

Analytical investigation means collecting an observation, identifying the mechanism, using a calculation or state trace to explain it, and checking your conclusion against evidence. Controlled comparison means changing one independent variable, holding the remaining relevant conditions constant, and measuring a dependent variable against a baseline. Experimental validation means comparing a predicted result to a reproducible observation or assertion; agreement inside a model does not certify hardware. Evidence-based reasoning connects a specific observation to a theoretical rule and states uncertainty, not merely an opinion. Performance characterization records a named metric and its units across conditions; sensitivity analysis changes one parameter across several values. A threat assessment links an asset, threat, consequence and evidence to a mitigation.

Experiment-specific guided practice

Objective: Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

  1. Save baseline and test duplicate, revert and missing scenarios separately. Expected duplicate ignored; revert does not advance the contract; missing event causes a mismatch.
  2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1,digest) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2. Confirm receipt success and exact event fields.
  3. Repeat sequence 2: expected InvalidSequence, no new successful event, unchanged sequence. Compare contract state with the successfully recorded events. If a receipt is unavailable, mark inconclusive rather than successful.

Reference check: Valid included transaction consumes fee and increments nonce; revert leaves transfer unapplied. Invalid prechecks do not change state in this model.

Model boundary: Toy account arithmetic, fixed fee 2, no actual EVM or EIP-1559 fee market. Ethereum Mainnet uses PoS since September 2022.

Independent task and submission evidence

2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1,digest) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2. Confirm receipt success and exact event fields. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat.

Before execution write the independent variable and its levels, dependent observation with units where applicable, baseline, controlled variables, measurement method and expected result. For a state machine use state/event/output rather than inventing a numeric metric. Record failures and repeat the baseline. A weak conclusion is “it works”; a supported conclusion names the changed setting, observed value/state, corresponding rule and one limitation.

TrialChanged settingFixed settingsPredicted resultActual observation / unitsEvidence / uncertainty
A: baselineReferenceRecordPredictRecordRecord
B: one changeRecordSame as APredictRecordRecord
A: repeatRestoreSame as APredictRecordRecord

Completion: submit the filled table, relevant simulator screenshot or terminal/notebook output, reasoning with units/assumptions, and one limitation. Preserve the independent assessment questions; this guide does not fill their answers.

Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

Fictional receipts are not EVM execution; real event identity must include chain and contract, and reorgs require a confirmation/reconciliation policy.

Worked engineering reasoning and boundary conditions

Engineering reference configuration: Receipt scenario = none. In the classroom model, Unique successful events = 2; Ignored = 0; Indexed sequence = 2; Contract sequence = 2; Reconciled = Yes. Model receipts are fictional. An actual indexer needs chain ID, contract address, transaction hash/log index, confirmation policy and reorganization handling; read contract state independently. Fictional receipts are not EVM execution; real event identity must include chain and contract, and reorgs require a confirmation/reconciliation policy.

Use the diagram to follow the calculation or state progression. Keep the teaching configuration separate from the independent exercise values; compare observations with the actual model and implementation.

Concept animation · matrix and row processing

Explore the teaching example independently of the simulator. Each step reveals an operation, data relationship or calculated state. The Simulation view has separate editable inputs.

Transaction receipts and event reconciliation: matrix and row processingStatusSequencetx-1:011tx-2:012

Step 1 of 2 · Row 1

Row 1

tx-1:0
[1, 1]

Teaching example only; inspect live calculations or real practical evidence separately.

Recall the concept before revealing its explanation.

0 / 3 revealed
B13 · 01 / 08What is a receipt?Reveal explanation
Engineering explanation

Execution outcome, gas and logs associated with a mined transaction.

B13 · 02 / 08How do you deduplicate logs?Reveal explanation
Engineering explanation

Use chain ID, contract address, transaction hash and log index.

B13 · 03 / 08Why read state independently?Reveal explanation
Engineering explanation

Missing events or reorganization can make the indexed view stale.

B13 · 04 / 08Why can event indexing and contract state disagree?Reveal explanation
Engineering reasoning

Missing or delayed indexed events, or query scope differences, can yield stale event-derived state.

B13 · 05 / 08Why record receipt status and log identifiers?Reveal explanation
Engineering reasoning

They permit reconciliation of the specific transaction and event rather than treating an event label as execution evidence.

B13 · 06 / 08A transaction receipt arrives twice. Select every technically valid statement. A. Make receipt processing idempotent under a stable identity. B. Reconcile with independently queried state when events are missed. C. A reverted transaction necessarily performs the requested state change. D. Duplicate receipts must be counted as new operations.Reveal explanation
Applied scenario

Correct: A. Make receipt processing idempotent under a stable identity.; B. Reconcile with independently queried state when events are missed.

B13 · 07 / 08In Transaction receipts and event reconciliation, which reference and changed settings are prescribed for Receipt scenario?Reveal explanation
Controlled configuration

Receipt scenario: none → missing; hold the remaining settings fixed.

B13 · 08 / 08What expected result distinguishes the reference and changed trials in Transaction receipts and event reconciliation?Reveal explanation
Expected observation

Baseline indexed sequence 2 equals contract sequence 2. Missing event: indexed 1 versus contract 2. Duplicate ignored, revert excluded.

Loading experiment-specific apparatus…
Previous model / additional reference tools
Simulation task

Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

Explore the model using its own controls. Record a prediction before changing a condition. Compare the reference with a changed condition, then use the Experiment tab for the procedure, acceptance criteria and notebook. Model outputs and physical observations must remain separate.

Interactive engineering workbenchB13 · Existing model
Interactive workbench

Predict, configure and observe

Loading executable simulation…

B13 · Model-linked instrumentation

Visual observation lens

Back to controls ↑

Readout from the original computational model; not physical measurements.

Loading instrument…

Awaiting model display.

Experimental instrumentation · A/B

Compare two model conditions

Capture a baseline, change one experimental condition, run the model if required and capture the comparison. Snapshots contain visible controls and display text, not physical sensor readings. Review before exporting.

Open simulation view
Baseline A
Not captured
Comparison B
Not captured

Capture a baseline to begin.

Evidence portfolio →
V19.0 · Contextual AI workspace

Ask your engineering assistants

B13 · current context

Ask Dr. Mohammad locally, or prepare an experiment-aware prompt for ChatGPT, Gemini or Claude. The external providers open in their own tabs; nothing is automatically submitted.

Dr. Mohammad · offline
Dr. Mohammad

Offline curriculum-grounded assistance.

Open local tutor
Transaction receipts and event reconciliation

Public course objective, displayed commands, source excerpts and procedure. Private assessment content is not collected.

Prepare a contextual AI prompt

0 characters

Common secret and email patterns are redacted on preparation; this is not a comprehensive privacy filter. Review the entire editable prompt, including student work and unpublished research, before sharing. The providers apply their own accounts, privacy settings and limits.

Prepare → review → copy & open your selected provider → paste and submit there.

Independent theoretical exercises

Before the simulation or practical, solve both experiment-specific tasks. List the given inputs, show the intermediate calculation or state trace, identify the expected observation, and state a limitation. Show formulas and intermediate calculations where relevant, or draw the requested state/sequence diagram. These are independent classroom fixtures; where they differ from the reference configuration below, do not treat them as measured values. Compare your predictions with the corresponding experiment afterwards.

01 · Predict and derive using the given inputs

Construct a transaction table with success, revert and duplicate event; identify which should change application state once.

02 · Compare or justify using evidence

Explain how to detect a missed event by comparing last indexed sequence with queried contract state; do not assume all successful receipts contain the expected event.

03 · Debugging

Debugging · Independent work

Two events share transaction hash but log indices0 and1. An indexer deduplicates by transaction hash alone. What fails and how to fix it?

Work is saved locally when browser storage is available. Export it for submission; no remote upload or automatic grade is assigned.

Expanded independent theoretical exercise bank

Progress from calculation and interpretation to diagnosis and controlled engineering design. Complete the questions without opening the simulation first; show intermediate steps.

Intermediate · Explain a changed-input result

Independent theoretical exercise · B13-01

Use the reference configuration (Receipt scenario = none), but change Receipt scenario = duplicate. The model reports Ignored = 1. Explain the governing rule and assumptions that make this output plausible; identify an independent verification method.

Intermediate · Interpret a state transition

Independent theoretical exercise · B13-02

The reference model reports Ignored: 0. Under Receipt scenario = duplicate it reports 1. Explain which configured condition changed and what the two outputs establish, and what they do not establish.

Intermediate · Interpret a technical trace

Independent theoretical exercise · B13-03

For Receipt scenario = missing, the model supplies this excerpt from Calculated trace: Item · Value · Explanation tx-1:0 · status 1 · sequence 1 Count rows whose Value value is exactly “status 1”, and identify the displayed row numbers. Explain what the count describes.

Advanced · Reverse reasoning

Independent theoretical exercise · B13-04

An observation is Unique successful events = 1. Candidate A uses Receipt scenario = none. Candidate B changes the listed settings (Receipt scenario = missing) and keeps the remaining settings fixed. Which is consistent with the observation? If both can explain it, say what additional evidence is required.

Advanced · Diagnose a reported mismatch

Independent theoretical exercise · B13-05

A student configures Receipt scenario = missing while preserving all other reference settings, but copies the reference report of Unique successful events = 2. Evaluate whether the report is justified. Identify the first configuration/output check to perform.

Challenging · Design a controlled verification

Independent theoretical exercise · B13-06

Design a controlled comparison for Transaction receipts and event reconciliation using reference Receipt scenario = none and test Receipt scenario = duplicate. Specify the changed setting(s), measured metric Ignored, controls, repetitions, an acceptance check and what evidence can distinguish an actual implementation from the model.

Step-by-step experimental procedure

Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state.

1 · Reference workbench configuration

Use the named reference workbench and its reference inputs. Additional live instruments may have different controls; use the matching instrument. Record virtual and practical results separately.

Receipt scenarionone

2 · Perform the investigation in order

  1. Save baseline and test duplicate, revert and missing scenarios separately. Expected duplicate ignored; revert does not advance the contract; missing event causes a mismatch.
  2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1,digest) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2. Confirm receipt success and exact event fields.
  3. Repeat sequence 2: expected InvalidSequence, no new successful event, unchanged sequence. Compare contract state with the successfully recorded events. If a receipt is unavailable, mark inconclusive rather than successful.

3 · Compare controlled trials

TrialIndependent changeExpected checkObservation
ReferenceUse reference inputs aboveBaseline indexed sequence 2 equals contract sequence 2. Missing event: indexed 1 versus contract 2. Duplicate ignored, revert excluded.Record actual result
Controlled changeReceipt scenario = missingBaseline indexed sequence 2 equals contract sequence 2. Missing event: indexed 1 versus contract 2. Duplicate ignored, revert excluded.Record actual result

4 · Analyze and report

Fictional receipts are not EVM execution; real event identity must include chain and contract, and reorgs require a confirmation/reconciliation policy.

Required evidence: Record the transaction receipts and event reconciliation comparison and justify the changed outcome from the calculated trace.

Model boundary: Fictional receipts are not EVM execution; real event identity must include chain and contract, and reorgs require a confirmation/reconciliation policy.

Controlled investigation · reproducible evidence

Method. Use the existing reference workbench configuration and the named controlled changes below. A controlled variable stays fixed while the independent variable is intentionally changed; the dependent variable is the resulting observed output. First predict each trial from the Concepts page. Run the baseline, then change only the specified setting and record the outcome. For deterministic traces one execution per case and a repeated verification are sufficient; for timing or stochastic measurements repeat at least five times, recording each run, median and range. Reset to the reference state between independent comparisons.

TrialIndependent changeDependent observation
ReferenceUse reference inputs aboveRecord actual outcome and units
Controlled changeReceipt scenario = missingRecord actual outcome and units

Evidence: attach the completed comparison table, one trace or screenshot per condition, and actual practical terminal/hardware evidence where applicable. Explain any prediction mismatch and distinguish modeled behavior from measured results.

Loading laboratory-specific procedure…

Complete practical procedure & acceptance

✓ Expected baseline and controlled change: Baseline indexed sequence 2 equals contract sequence 2. Missing event: indexed 1 versus contract 2. Duplicate ignored, revert excluded.

  1. Save baseline and test duplicate, revert and missing scenarios separately. Expected duplicate ignored; revert does not advance the contract; missing event causes a mismatch.
  2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1, 0x6147100b4d09fc59a44777e831a3e026f8f0456f1f32087e6d3fe27e6f2f4ba7) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2 and the same digest (intentional repeated sample bytes). Confirm receipt success and exact event fields.
  3. Repeat sequence 2: expected InvalidSequence, no new successful event, unchanged sequence. Compare contract state with the successfully recorded events. If a receipt is unavailable, mark inconclusive rather than successful.
  4. Export observed evidence, restore baseline and record limitations. Do not treat browser-model output as actual hardware or EVM evidence.

Experimental notebook

Record your own results. Values are not prefilled or independently verified.

Solidity source

Download TelemetryAnchor.sol · Open Remix IDE

SOLIDITY · Source code
// SPDX-License-Identifier: MIT
pragma solidity 0.8.28;
/// @notice Store only a digest and monotonic sequence, never raw private telemetry.
/// A commitment proves equality with supplied bytes, not truth of sensor measurements.
contract TelemetryAnchor {
    address public immutable owner;
    mapping(address => bool) public active;
    mapping(address => uint64) public lastSequence;
    mapping(address => bytes32) public lastDigest;
    event DeviceStatus(address indexed device, bool enabled);
    event Anchored(address indexed device, uint64 sequence, bytes32 digest);
    error NotOwner();
    error InvalidDevice();
    error Unauthorized();
    error InvalidSequence();
    error EmptyDigest();
    constructor() { owner = msg.sender; }
    function setDevice(address device, bool enabled) external {
        if (msg.sender != owner) revert NotOwner();
        if (device == address(0)) revert InvalidDevice();
        active[device] = enabled;
        emit DeviceStatus(device, enabled);
    }
    function anchor(uint64 sequence, bytes32 digest) external {
        if (!active[msg.sender]) revert Unauthorized();
        if (sequence <= lastSequence[msg.sender]) revert InvalidSequence();
        if (digest == bytes32(0)) revert EmptyDigest();
        lastSequence[msg.sender] = sequence;
        lastDigest[msg.sender] = digest;
        emit Anchored(msg.sender, sequence, digest);
    }
    function verifyLatest(address device, uint64 sequence, bytes32 digest) external view returns (bool) {
        return sequence != 0 && lastSequence[device] == sequence && lastDigest[device] == digest;
    }
}

Record & discuss

Notebook exports use related core lab B07; the supplementary ID is retained in the evidence. Technical reference.

Learning progress

Mark complete only after documenting your observations. This is not a verified result or official grade.

View prerequisites and related learning

Python / Google Colab laboratory

B13 · 9 notebook cells · 2 executable Python cells

Complete the theoretical investigation first. Run the cells in order, record actual outputs and compare against your prediction.

How to execute

  1. Download this notebook and open Google Colab. Select File → Upload notebook and choose the downloaded .ipynb.
  2. Read the Markdown instructions before each executable cell. Use a Python runtime, run cells from top to bottom, and resolve imports if necessary.
  3. Perform the baseline and controlled changes. Save the notebook with actual outputs and your written interpretation.

Execution scope: Toy account arithmetic, fixed fee 2, no actual EVM or EIP-1559 fee market. Ethereum Mainnet uses PoS since September 2022. Default computational cells passed isolated local Python execution; physical equipment and live services require separate verification.

01Instructions · Markdown
# B13 · Transaction receipts and event reconciliation **PSUT IoT Engineering Studio — Dr. Mohammad Alja’afreh** ## 1. Scientific objective Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state. Complete the analytical worksheet in the portal first. Record your predictions before running this notebook. This notebook is a bounded local computational investigation; use the portal’s separate WSL, hardware or Remix procedure for real interfaces.
02Instructions · Markdown
## Experiment-specific preparation Model duplicate receipt processing, reverted transactions and missed events; reconcile with independently queried contract state. **Reference procedure (use the matching simulator/WSL tool where named, not an unrelated service):** 1. Save baseline and test duplicate, revert and missing scenarios separately. Expected duplicate ignored; revert does not advance the contract; missing event causes a mismatch. 2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1,digest) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2. Confirm receipt success and exact event fields. 3. Repeat sequence 2: expected InvalidSequence, no new successful event, unchanged sequence. Compare contract state with the successfully recorded events. If a receipt is unavailable, mark inconclusive rather than successful. **Evidence:** Valid included transaction consumes fee and increments nonce; revert leaves transfer unapplied. Invalid prechecks do not change state in this model. **Boundary:** Toy account arithmetic, fixed fee 2, no actual EVM or EIP-1559 fee market. Ethereum Mainnet uses PoS since September 2022.
03Instructions · Markdown
## 2. Reference configuration and investigation 1. Save baseline and test duplicate, revert and missing scenarios separately. Expected duplicate ignored; revert does not advance the contract; missing event causes a mismatch. 2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1,digest) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2. Confirm receipt success and exact event fields. 3. Repeat sequence 2: expected InvalidSequence, no new successful event, unchanged sequence. Compare contract state with the successfully recorded events. If a receipt is unavailable, mark inconclusive rather than successful. Run cells in order; do not substitute model results for physical measurements.
04Instructions · Markdown
## 3. Represent receipt and indexer state separately.
05Python · executable cell
PYTHON · Code cell
# =====================================================================
# B13 | Code cell 01 | Transaction receipts and event reconciliation
# Purpose: 3. Represent receipt and indexer state separately.
# Inputs: the explicit fixture/settings below and any preceding cell state.
# Output: inspect printed values, returned records or assertions; record evidence.
# =====================================================================
# Define the reusable operation process; keep its logic separate from the trial.
def process(seq, receipt, event, old_state=1, old_index=1):
    state=seq if receipt=="success" and seq>old_state else old_state
    index=state if event and receipt=="success" else old_index
    return state,index
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert process(2,"success",True)==(2,2)
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert process(2,"success",False)==(2,1)
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert process(2,"reverted",False)==(1,1)
Ask Dr. Mohammad about this cell
06Instructions · Markdown
## 4. Reconcile missing events and ignore duplicates. This is not a deployed EVM.
07Python · executable cell
PYTHON · Code cell
# =====================================================================
# B13 | Code cell 02 | Transaction receipts and event reconciliation
# Purpose: 4. Reconcile missing events and ignore duplicates. This is not a deployed EVM.
# Inputs: the explicit fixture/settings below and any preceding cell state.
# Output: inspect printed values, returned records or assertions; record evidence.
# =====================================================================
# Set (state, index) for the next computation or reference condition.
state,index=process(2,"success",False)
# Set index for the next computation or reference condition.
index=state # independent authorized state query in model
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert (state,index)==(2,2)
# Check the expected invariant so a mismatch fails visibly instead of appearing successful.
assert process(2,"success",True,state,index)==(2,2)
Ask Dr. Mohammad about this cell
08Instructions · Markdown
## Experimental analysis and submission 1. Record the reference input, predicted output and actual result. 2. Modify one independent variable and run the relevant cells again. 3. Explain the result using the theory and identify model limitations. 4. Save the notebook with outputs and retain the separate theoretical worksheet. **Your derivation and conclusion:** (Complete independently.)
09Instructions · Markdown
## Guided reasoning and evidence A controlled comparison changes one independent input while keeping the other relevant inputs fixed; the dependent variable is the recorded output. Use this lab’s reference condition above. **Independent task:** 2. Open TelemetryAnchor.sol in Remix and follow B06. Register account 1, submit anchor(1,digest) from account 1, inspect the Anchored log and read lastSequence. Repeat with sequence 2. Confirm receipt success and exact event fields. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat. | Trial | Input/configuration | Prediction | Observation | Evidence / limitation | |---|---|---|---|---| | A | Reference | | | | | B | Changed input | | | | | A repeat | Reference | | | | A conclusion is supported only when it cites the recorded values or observed states and explains them with the experiment theory.
Shared research workbenches · network designer & advanced studies
Concurrent-device simulation & Monte Carlo research
Distributed digital twin · topology, protocol & battery research