From a4761725237fc7c66d018410d45e389050d1ae55 Mon Sep 17 00:00:00 2001 From: AnkushinDaniil Date: Thu, 26 Dec 2024 17:59:38 +0900 Subject: [PATCH] Add cbor tags --- core/block.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/block.go b/core/block.go index 9a13d27f5..774a222a0 100644 --- a/core/block.go +++ b/core/block.go @@ -36,13 +36,13 @@ type Header struct { // Bloom filter on the events emitted this block EventsBloom *bloom.BloomFilter // Amount of WEI charged per Gas spent on L1 - L1GasPriceETH *felt.Felt + L1GasPriceETH *felt.Felt `cbor:"gasprice"` // Amount of STRK charged per Gas spent on L2 L2GasPriceETH *felt.Felt // Sequencer signatures Signatures [][]*felt.Felt // Amount of STRK charged per Gas spent on L1 - L1GasPriceSTRK *felt.Felt + L1GasPriceSTRK *felt.Felt `cbor:"gaspricestrk"` // Amount of STRK charged per Gas spent on L2 L2GasPriceSTRK *felt.Felt // The mode of the L1 data availability