diff --git a/adapters/sn2core/sn2core.go b/adapters/sn2core/sn2core.go index 354f47f0d1..8ae70e1163 100644 --- a/adapters/sn2core/sn2core.go +++ b/adapters/sn2core/sn2core.go @@ -46,7 +46,6 @@ func AdaptBlock(response *starknet.Block, sig *starknet.Signature) (*core.Block, GlobalStateRoot: response.StateRoot, Timestamp: response.Timestamp, ProtocolVersion: response.Version, - ExtraData: nil, SequencerAddress: response.SequencerAddress, TransactionCount: uint64(len(response.Transactions)), EventCount: eventCount, diff --git a/adapters/sn2core/sn2core_test.go b/adapters/sn2core/sn2core_test.go index ebe62fb50a..394b9e0a76 100644 --- a/adapters/sn2core/sn2core_test.go +++ b/adapters/sn2core/sn2core_test.go @@ -91,7 +91,6 @@ func TestAdaptBlock(t *testing.T) { } assert.Equal(t, expectedEventCount, block.EventCount) assert.Equal(t, test.protocolVersion, block.ProtocolVersion) - assert.Nil(t, block.ExtraData) if test.sig != nil { require.Len(t, block.Signatures, 1) diff --git a/core/block.go b/core/block.go index 8fdd16a58a..7ad9004598 100644 --- a/core/block.go +++ b/core/block.go @@ -31,8 +31,6 @@ type Header struct { Timestamp uint64 // The version of the Starknet protocol used when creating this block ProtocolVersion string - // Extraneous data that might be useful for running transactions - ExtraData *felt.Felt // Bloom filter on the events emitted this block EventsBloom *bloom.BloomFilter // Amount of WEI charged per Gas spent