<commit_before>BlockData json
    parentHash SHA
    unclesHash SHA
    coinbase Address
    stateRoot SHAPtr
    transactionsRoot SHAPtr
    receiptsRoot SHAPtr
    logBloom BS.ByteString
    difficulty Integer sqltype=numeric(1000,0)
    number Integer sqltype=numeric(1000,0)
    gasLimit Integer sqltype=numeric(1000,0)
    gasUsed Integer sqltype=numeric(1000,0)
    timestamp UTCTime
    extraData Integer 
    nonce Word64
    mixHash SHA
    deriving Show Read Eq

BlockDataRef json
    parentHash SHA
    unclesHash SHA
    coinbase Address
    stateRoot SHAPtr
    transactionsRoot SHAPtr
    receiptsRoot SHAPtr
    logBloom BS.ByteString
    difficulty Integer sqltype=numeric(1000,0)
    number Integer sqltype=bigint
    gasLimit Integer sqltype=numeric(1000,0)
    gasUsed Integer sqltype=numeric(1000,0)
    timestamp UTCTime
    extraData Integer
    nonce Word64
    mixHash SHA
    blockId BlockId
    hash SHA
    powVerified Bool
    isConfirmed Bool
    totalDifficulty Integer sqltype=numeric(1000,0)
    deriving Show Read Eq

Block json
    blockData BlockData
    receiptTransactions [Transaction]
    blockUncles [BlockData]
    deriving Show Read Eq

AddressState json
    nonce Integer sqltype=numeric(100,0)
    balance Integer sqltype=numeric(1000,0)
    contractRoot SHAPtr sqltype=varchar(256)
    codeHash SHA sqltype=varchar(256)
    deriving Show Read Eq

AddressStateRef json
    address Address sqltype=varchar(256)
    nonce Integer sqltype=numeric(100,0)
    balance Integer sqltype=numeric(1000,0)
    contractRoot SHAPtr sqltype=varchar(256)
    code BS.ByteString
    deriving Show Read Eq

RawTransaction json
    fromAddress Address sqltype=varchar(256)
    nonce Integer sqltype=numeric(1000,0)
    gasPrice Integer sqltype=numeric(1000,0)
    gasLimit Integer sqltype=numeric(1000,0)
    toAddress Address Maybe sqltype=varchar(256)
    value Integer sqltype=numeric(1000,0)
    codeOrData BS.ByteString
    r Integer
    s Integer
    v Word8
    blockId BlockId
    blockNumber Int
    txHash SHA sqltype=varchar(256)
    deriving Show Read Eq    

NeededBlockHashes json
    hash SHA sqltype=varchar(256)
    blockId BlockId

PPeer json
    peerId Point sqltype=varchar(512)
    ip Text
    port Int
    numSessions Int
    lastMsg Text
    lastMsgTime UTCTime
    lastTotalDifficulty Integer
    lastBestBlockHash SHA
    version Text

Storage json
    addressStateRefId AddressStateRefId
    key Word256
    value Word256<commit_msg>Add derived instances to Storage that I forgot carelessly.<commit_after>BlockData json
    parentHash SHA
    unclesHash SHA
    coinbase Address
    stateRoot SHAPtr
    transactionsRoot SHAPtr
    receiptsRoot SHAPtr
    logBloom BS.ByteString
    difficulty Integer sqltype=numeric(1000,0)
    number Integer sqltype=numeric(1000,0)
    gasLimit Integer sqltype=numeric(1000,0)
    gasUsed Integer sqltype=numeric(1000,0)
    timestamp UTCTime
    extraData Integer 
    nonce Word64
    mixHash SHA
    deriving Show Read Eq

BlockDataRef json
    parentHash SHA
    unclesHash SHA
    coinbase Address
    stateRoot SHAPtr
    transactionsRoot SHAPtr
    receiptsRoot SHAPtr
    logBloom BS.ByteString
    difficulty Integer sqltype=numeric(1000,0)
    number Integer sqltype=bigint
    gasLimit Integer sqltype=numeric(1000,0)
    gasUsed Integer sqltype=numeric(1000,0)
    timestamp UTCTime
    extraData Integer
    nonce Word64
    mixHash SHA
    blockId BlockId
    hash SHA
    powVerified Bool
    isConfirmed Bool
    totalDifficulty Integer sqltype=numeric(1000,0)
    deriving Show Read Eq

Block json
    blockData BlockData
    receiptTransactions [Transaction]
    blockUncles [BlockData]
    deriving Show Read Eq

AddressState json
    nonce Integer sqltype=numeric(100,0)
    balance Integer sqltype=numeric(1000,0)
    contractRoot SHAPtr sqltype=varchar(256)
    codeHash SHA sqltype=varchar(256)
    deriving Show Read Eq

AddressStateRef json
    address Address sqltype=varchar(256)
    nonce Integer sqltype=numeric(100,0)
    balance Integer sqltype=numeric(1000,0)
    contractRoot SHAPtr sqltype=varchar(256)
    code BS.ByteString
    deriving Show Read Eq

RawTransaction json
    fromAddress Address sqltype=varchar(256)
    nonce Integer sqltype=numeric(1000,0)
    gasPrice Integer sqltype=numeric(1000,0)
    gasLimit Integer sqltype=numeric(1000,0)
    toAddress Address Maybe sqltype=varchar(256)
    value Integer sqltype=numeric(1000,0)
    codeOrData BS.ByteString
    r Integer
    s Integer
    v Word8
    blockId BlockId
    blockNumber Int
    txHash SHA sqltype=varchar(256)
    deriving Show Read Eq    

NeededBlockHashes json
    hash SHA sqltype=varchar(256)
    blockId BlockId

PPeer json
    peerId Point sqltype=varchar(512)
    ip Text
    port Int
    numSessions Int
    lastMsg Text
    lastMsgTime UTCTime
    lastTotalDifficulty Integer
    lastBestBlockHash SHA
    version Text

Storage json
    addressStateRefId AddressStateRefId
    key Word256
    value Word256
    deriving Show Read Eq
{'fraction_non_alphanumeric': 0.04106328109502083, 'fraction_numerical': 0.04602261456060305, 'mean_word_length': 3.48576512455516, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '104895', 'n_tokens_mistral': 1659, 'n_tokens_neox': 1530, 'n_words': 445}