# Updates for week 11,12,13,14,15
Yeah so long time no updates :)
I was out for 2 weeks
- week 12: Had clg exams so was out
- week 13: Had exam till the mid week then went to Eth pragma New Delhi
Now onto work
During these 2 weeks I have put into work into finally getting nim-eth finished and then get nimbus-eth1 working with Pureth.
# Pureth
So the dragon has (Almost) been slayed.
While testing out Nim-eth,if my fears are correct then when using the branch [SSZ-union](https://github.com/status-im/nim-ssz-serialization/tree/dev/etan/cu-8016)
It fails to SSZ-encode the following ssz transaction
```
txRT "SSZ: Legacy Create",
Transaction(
txType = 0x00'u8,
chain_id = ChainId(1.u256),
nonce = 2'u64,
gas = 50_000'u64,
to = Opt.none(Address),
value = 0.u256,
input = abcdef, # initcode present
max_fees_per_gas = BasicFeesPerGas(regular: 2.u256),
signature = dummySig(),
):
check d.rlp.legacyCreate.payload.txType == 0x00'u8
check d.rlp.legacyCreate.payload.input.len == abcdef.len
```
TestRT is a macro that does the ssz encode and decode
The error that it presents is
```
└─[$] <git:(Pureth*)> nimc tests/ssz/transaction_ssz.nim
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/nim.cfg' [Conf]
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/nim.cfg' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/nim.cfg' [Conf]
............................................................................................................................................................................................................................................................
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/digest.nim(35, 9) Hint: BLST SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/digest.nim(49, 9) Hint: Hashtree SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/digest.nim(56, 11) Hint: hashtree_abi nimble package found [User]
..................
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(63, 1) template/generic instantiation of `suite` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(83, 3) template/generic instantiation of `txRT` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(49, 12) template/generic instantiation of `test` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim(1139, 24) template/generic instantiation of `failingOnExceptions` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim(1143, 26) template/generic instantiation of `failingOnExceptions` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(54, 21) template/generic instantiation of `decode` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/serialization-0.4.8-b5b98034d126bfc72428b029b0995b0bfacd617f/serialization.nim(63, 7) template/generic instantiation of `forward` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/serialization-0.4.8-b5b98034d126bfc72428b029b0995b0bfacd617f/serialization.nim(64, 7) template/generic instantiation of `noxcannotraisey` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/serialization-0.4.8-b5b98034d126bfc72428b029b0995b0bfacd617f/serialization.nim(65, 7) template/generic instantiation of `noproveinit` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/serialization-0.4.8-b5b98034d126bfc72428b029b0995b0bfacd617f/serialization.nim(78, 15) template/generic instantiation of `readValue` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(266, 17) template/generic instantiation of `readSszBytes` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization.nim(273, 15) template/generic instantiation of `readSszValue` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/codec.nim(286, 25) template/generic instantiation of `initSszUnion` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/codec.nim(116, 12) template/generic instantiation of `doInit` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/codec.nim(100, 3) Error: identifier expected, but found '"kind"'
```
Nimc is just
```
nim c -r -o build/
```
#### This error comes from the chnages in the ssz lib as if I use the master head
[Tamaghnas Pr head](https://github.com/RazorClient/nim-ssz-serialization/tree/master-upstream)
I happily can get
```
┌─[tamaghnachoudhuri@Tamaghnas-Laptop] - [~/desktop/nim-eth] - [Mon Oct 06, 02:53]
└─[$] <git:(Pureth*)> nimble install https://github.com/RazorClient/nim-ssz-serialization.git@#master-upstream
┌─[tamaghnachoudhuri@Tamaghnas-Laptop] - [~/desktop/nim-eth] - [Mon Oct 06, 02:57]
└─[$] <git:(Pureth*)> nimc tests/ssz/transaction_ssz.nim
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/nim.cfg' [Conf]
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/nim.cfg' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/nim.cfg' [Conf]
...........................................................................................................................................................................................................................................................
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/digest.nim(35, 9) Hint: BLST SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/digest.nim(49, 9) Hint: Hashtree SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/digest.nim(56, 11) Hint: hashtree_abi nimble package found [User]
..................
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim(51, 77) Hint: 'writeFixedSized' cannot raise 'IOError' [XCannotRaiseY]
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(49, 12) Hint: 't' is declared but not used [XDeclaredButNotUsed]
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(13, 3) Hint: 'recipient' is declared but not used [XDeclaredButNotUsed]
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(18, 5) Hint: 'accesses' is declared but not used [XDeclaredButNotUsed]
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(6, 7) Warning: imported and not used: 'sequtils' [UnusedImport]
CC: assembly
CC: server
CC: blst_sha256
CC: hashtree
CC: sha256_armv8_crypto
CC: sha256_armv8_neon_x1
CC: sha256_armv8_neon_x4
CC: secp256k1
CC: precomputed_ecmult
CC: precomputed_ecmult_gen
CC: ccopy
CC: dec16be
CC: dec16le
CC: dec32be
CC: dec32le
CC: dec64be
CC: dec64le
CC: enc16be
CC: enc16le
CC: enc32be
CC: enc32le
CC: enc64be
CC: enc64le
CC: dig_oid
CC: dig_size
CC: ghash_ctmul
CC: ghash_ctmul32
CC: ghash_ctmul64
CC: ghash_pclmul
CC: ghash_pwr8
CC: md5
CC: md5sha1
CC: mgf1
CC: multihash
CC: sha1
CC: sha2big
CC: sha2small
CC: hmac
CC: hmac_ct
CC: hmac_drbg
CC: sysrng
CC: ../../../../../../opt/homebrew/Cellar/nim/2.2.4/nim/lib/system/dollars.nim
CC: ../../../../../../opt/homebrew/Cellar/nim/2.2.4/nim/lib/system.nim
CC: ../../../../../../opt/homebrew/Cellar/nim/2.2.4/nim/lib/pure/algorithm.nim
CC: ../../../../.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim
CC: ../../../../.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/codec.nim
CC: ../../../../.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization.nim
CC: transaction_ssz.nim
Hint: [Link]
Hint: mm: orc; threads: on; opt: none (DEBUG BUILD, `-d:release` generates faster code)
112558 lines; 4.709s; 339.066MiB peakmem; proj: /Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim; out: /Users/tamaghnachoudhuri/Desktop/nim-eth/build/transaction_ssz [SuccessX]
Hint: /Users/tamaghnachoudhuri/Desktop/nim-eth/build/transaction_ssz [Exec]
SSZ Transactions (round-trip) . (0.00s)
[Summary] 1 tests run (0.00s): 1 OK, 0 FAILED, 0 SKIPPED
```
SSZ Transactions (round-trip) . (0.00s)
[Summary] 1 tests run (0.00s): 1 OK, 0 FAILED, 0 SKIPPED
the ssz encode and decode work thus showing there is something wrong with the unions going on that needs to be debugged
for more context if i use my head and do merkleization
```
┌─[tamaghnachoudhuri@Tamaghnas-Laptop] - [~/desktop/nim-eth] - [Mon Oct 06, 02:57]
└─[$] <git:(Pureth*)> nimc tests/ssz/transaction_ssz.nim
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/nim.cfg' [Conf]
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/nim.cfg' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/nim.cfg' [Conf]
...........................................................................................................................................................................................................................................................
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/digest.nim(35, 9) Hint: BLST SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/digest.nim(49, 9) Hint: Hashtree SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/digest.nim(56, 11) Hint: hashtree_abi nimble package found [User]
..................
stack trace: (most recent call last)
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/types.nim(517, 60) unsupported
/Users/tamaghnachoudhuri/.nimble/pkgs2/stew-0.4.2-928e82cb8d2f554e8f10feb2349ee9c32fee3a8c/stew/shims/macros.nim(250, 18) humaneTypeName
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(308, 1) template/generic instantiation of `suite` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(309, 3) template/generic instantiation of `test` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim(1139, 24) template/generic instantiation of `failingOnExceptions` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim(1143, 26) template/generic instantiation of `failingOnExceptions` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(326, 31) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(1730, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(1186, 8) template/generic instantiation of `progressiveChunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(836, 24) template/generic instantiation of `chunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(687, 24) template/generic instantiation of `chunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(658, 21) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(659, 31) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(1730, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(1198, 22) template/generic instantiation of `merkleizeFields` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(608, 18) template/generic instantiation of `merkleizeFieldsImpl` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(575, 14) template/generic instantiation of `addField` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(507, 17) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(508, 27) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/merkleization.nim(1730, 30) template/generic instantiation of `toSszType` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-e789cba976dd11ce689c4d8c3e148ae0c16a9ce8/ssz_serialization/codec.nim(482, 5) template/generic instantiation of `unsupported` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/stew-0.4.2-928e82cb8d2f554e8f10feb2349ee9c32fee3a8c/stew/shims/macros.nim(250, 18) Error: node is not a symbol
```
and with etans branch
```
┌─[tamaghnachoudhuri@Tamaghnas-Laptop] - [~/desktop/nim-eth] - [Sun Oct 05, 20:14]
└─[$] <git:(Pureth*)> nimc tests/ssz/transaction_ssz.nim
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/nim.cfg' [Conf]
Hint: used config file '/opt/homebrew/Cellar/nim/2.2.4/nim/config/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/nim.cfg' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/config.nims' [Conf]
Hint: used config file '/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/nim.cfg' [Conf]
............................................................................................................................................................................................................................................................
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/digest.nim(35, 9) Hint: BLST SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/digest.nim(49, 9) Hint: Hashtree SHA256 backend enabled [User]
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/digest.nim(56, 11) Hint: hashtree_abi nimble package found [User]
..................
stack trace: (most recent call last)
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/types.nim(644, 5) unsupported
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(308, 1) template/generic instantiation of `suite` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(309, 3) template/generic instantiation of `test` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim(1139, 24) template/generic instantiation of `failingOnExceptions` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/unittest2-0.2.4-746106a4dfefffce497f1693733f1c1513b5c62c/unittest2.nim(1143, 26) template/generic instantiation of `failingOnExceptions` from here
/Users/tamaghnachoudhuri/Desktop/nim-eth/tests/ssz/transaction_ssz.nim(326, 31) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1203, 8) template/generic instantiation of `progressiveChunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(853, 24) template/generic instantiation of `chunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(704, 24) template/generic instantiation of `chunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(675, 21) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(676, 31) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1206, 6) template/generic instantiation of `unionHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(514, 4) template/generic instantiation of `withFieldPairs` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(518, 16) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1206, 6) template/generic instantiation of `unionHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(514, 4) template/generic instantiation of `withFieldPairs` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(518, 16) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1215, 22) template/generic instantiation of `merkleizeFields` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(625, 18) template/generic instantiation of `merkleizeFieldsImpl` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(592, 14) template/generic instantiation of `addField` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(524, 17) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(525, 27) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1210, 8) template/generic instantiation of `progressiveMerkleizeFields` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(844, 18) template/generic instantiation of `progressiveMerkleizeFieldsImpl` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(592, 14) template/generic instantiation of `addField` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(524, 17) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(525, 27) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1203, 8) template/generic instantiation of `progressiveChunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(853, 24) template/generic instantiation of `chunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(704, 24) template/generic instantiation of `chunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(675, 21) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(676, 31) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1215, 22) template/generic instantiation of `merkleizeFields` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(625, 18) template/generic instantiation of `merkleizeFieldsImpl` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(592, 14) template/generic instantiation of `addField` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(524, 17) template/generic instantiation of `addChunkDirect` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(525, 27) template/generic instantiation of `hash_tree_root` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1784, 20) template/generic instantiation of `hashTreeRootAux` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(1203, 8) template/generic instantiation of `progressiveChunkedHashTreeRoot` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(848, 28) template/generic instantiation of `totalChunkCount` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(781, 9) template/generic instantiation of `valuesPerChunk` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/merkleization.nim(774, 28) template/generic instantiation of `toSszType` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/codec.nim(358, 5) template/generic instantiation of `unsupported` from here
/Users/tamaghnachoudhuri/.nimble/pkgs2/ssz_serialization-0.1.0-f344b4b9c14dd8398983a2338fad0421eb92caf9/ssz_serialization/types.nim(644, 5) Error: SSZ serialization of the type Hash32* = distinct Bytes32 is not supported, overload toSszType and fromSszBytes
```
mean while these are present at
[Nim-eth](https://github.com/RazorClient/nim-eth/blob/c76cf4d393c9e3703a6ee301af8bc4dadb216a00/eth/ssz/adapter.nim#L12)
So yeah need to fix the nim-ssz-library
### Nimbus eth has been fixed with the new nim eth lib and the ssz transaction are being loaded in but with out the merkleization,block root change remains a todo yet
# EELS
So on Friday Last week i had a call with [Dan](https://github.com/danceratopz) from the the STEEL team about integrating pureth into the execution spec and generating test vectors for it.
Here are the Points from the meet
The most complete pureth spec is currently implemented in Nimbus and some work has already been done to add pureth to execution-spec-tests.
As such, it could make sense to implement and verify the first tests via the nimbus-t8n.
An EELS spec can be worked on in parallel, or later, at time permits.
I mentioned that we're quite short on resources, but we'll do what we can to unblock Tamagnha so he can proceed with his EEST implementaton.
Post-Weld and post Osaka, hopefully, we'll have more time to contribute. Also we should have know whether Pureth got CFI'd for Glamsterdam.
### Suggested first/next steps for Pureth x EEST
- Try filling ./tests/ on execution-spec-tests main with nimbus' t8n. The goal would be to have nimbus fill all EEST ests with Osaka, i.e.,
- fill --fork=Osaka --evm=t8n --output=/tmp/fixtures --clean ./tests
- The nimbus t8n likely hasn't been tested with EEST for a while.
- Try to fill Tamagnha's pureth tests with nimbus t8n (likely won't be possible without modifications).
- Add the round-trip RLP-SSZ-RLP unit tests to EEST, once all the EEST framework libraries have been updated.
- Develop a concept how to test the new log filter. This is an in-memory object that is not added to the block.
- Develop a concept for the framework, so that we can fill all existing (now RLP-based) tests with pureth?
these were the points that cam up after the meet and more work/time will be put towards a solution on monday,while i try to fix the problem with the ssz stuff over the weekend.
I might also pick up the other eip that reamin to be shipped with vineets work and ship them rn.