[go: up one dir, main page]

EVM Node: Add --kernel-verbosity to run sandbox

Checklist

Adds --kernel-verbosity to run sandbox to control the level of logs emitted by the kernel. Note that printing kernel logs to the standard output still requires to set the RUST_LOG environment variable to octez_evm_node_wasm_runtime::write_debug=trace.

Manually testing the MR

Uses the new argument of run sandbox.

; RUST_LOG=octez_evm_node_wasm_runtime::write_debug=trace octez-evm-node run sandbox --data-dir sandbox --kernel-verbosity debug --init-from-snapshot --network testnet

This gives me

May 02 12:33:44.708 NOTICE │ the EVM node RPC server (resto) is listening to 127.0.0.1:8545 
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage zero.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage one.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Configuration: Tezos Contracts: Ticketer is Some(ContractKt1Hash("KT1Bp9YUvUBJgXxf5UrYTM2CGRUPixURqx4m")). Administrator is Some(ContractKt1Hash("KT1Ewy8Thvqt6nFCWdGPAkCpN2tXmCXadwdF")). Sequencer governance is Some(ContractKt1Hash("KT1ECwsLV29BjuuzHtFeNs84tarB7ryYcpRR")). Kernel governance is Some(ContractKt1Hash("KT1RPmPCBGztHpNWHPmyzo7k5YqVapYoryvg")). Kernel security governance is Some(ContractKt1Hash("KT1PH48LrVFLvHPHnAVhmKAYGAp1Z2Ure5R4"))., Mode: Sequencer { delayed_bridge: ContractKt1Hash("KT1X1M4ywyz9cHvUgBLTUUdz3GTiYJhPcyPh"), sequencer: Ed25519(PublicKeyEd25519("edpkuQTPh6YoBoX5ZHukmVKsssc55MheehtvLjLXMPGMiDEDpp7pSU")), dal: None, evm_node_flag: true, max_blueprints_lookahead_in_seconds: 300 }, Enable FA Bridge: true, Garbage collect blocks: false
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Storing chunk 0 of sequencer blueprint number 18972088
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Using default delayed inbox timeout of 43200 seconds (12 hours)
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Using default delayed inbox minimum levels: 720
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage zero.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage one.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Configuration: Tezos Contracts: Ticketer is Some(ContractKt1Hash("KT1Bp9YUvUBJgXxf5UrYTM2CGRUPixURqx4m")). Administrator is Some(ContractKt1Hash("KT1Ewy8Thvqt6nFCWdGPAkCpN2tXmCXadwdF")). Sequencer governance is Some(ContractKt1Hash("KT1ECwsLV29BjuuzHtFeNs84tarB7ryYcpRR")). Kernel governance is Some(ContractKt1Hash("KT1RPmPCBGztHpNWHPmyzo7k5YqVapYoryvg")). Kernel security governance is Some(ContractKt1Hash("KT1PH48LrVFLvHPHnAVhmKAYGAp1Z2Ure5R4"))., Mode: Sequencer { delayed_bridge: ContractKt1Hash("KT1X1M4ywyz9cHvUgBLTUUdz3GTiYJhPcyPh"), sequencer: Ed25519(PublicKeyEd25519("edpkuQTPh6YoBoX5ZHukmVKsssc55MheehtvLjLXMPGMiDEDpp7pSU")), dal: None, evm_node_flag: true, max_blueprints_lookahead_in_seconds: 300 }, Enable FA Bridge: true, Garbage collect blocks: false
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage two.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] bip: BlockInProgress { number: 18972088, tx_queue: [], valid_txs: [], delayed_txs: [], cumulative_gas: 0, index: 0, parent_hash: 0xf4975550f9a67b23c36a1ba4cc6a930a303b8b015cd3bc946ba5db858c572524, estimated_ticks_in_run: 0, estimated_ticks_in_block: 0, logs_bloom: 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, logs_offset: 0, timestamp: 2025-05-02T10:33:49Z, base_fee_per_gas: 1000000000 }
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Queue length 0.
[2025-05-02T10:33:49Z INFO  octez_evm_node_wasm_runtime::write_debug] Storing block 18972088 at 2025-05-02T10:33:49Z containing 0 transaction(s) for 0 gas used.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Flushed outbox queue messages (0 flushed)
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage zero.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage one.
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Configuration: Tezos Contracts: Ticketer is Some(ContractKt1Hash("KT1Bp9YUvUBJgXxf5UrYTM2CGRUPixURqx4m")). Administrator is Some(ContractKt1Hash("KT1Ewy8Thvqt6nFCWdGPAkCpN2tXmCXadwdF")). Sequencer governance is Some(ContractKt1Hash("KT1ECwsLV29BjuuzHtFeNs84tarB7ryYcpRR")). Kernel governance is Some(ContractKt1Hash("KT1RPmPCBGztHpNWHPmyzo7k5YqVapYoryvg")). Kernel security governance is Some(ContractKt1Hash("KT1PH48LrVFLvHPHnAVhmKAYGAp1Z2Ure5R4"))., Mode: Sequencer { delayed_bridge: ContractKt1Hash("KT1X1M4ywyz9cHvUgBLTUUdz3GTiYJhPcyPh"), sequencer: Ed25519(PublicKeyEd25519("edpkuQTPh6YoBoX5ZHukmVKsssc55MheehtvLjLXMPGMiDEDpp7pSU")), dal: None, evm_node_flag: true, max_blueprints_lookahead_in_seconds: 300 }, Enable FA Bridge: true, Garbage collect blocks: false
[2025-05-02T10:33:49Z DEBUG octez_evm_node_wasm_runtime::write_debug] Entering stage two.
May 02 12:33:49.246 NOTICE │ head is now 18972088, applied in 27.721ms
Edited by Thomas Letan

Merge request reports

Loading