@@ -7,19 +7,19 @@ import web3swift
77class EIP1559BlockTests : LocalTestCase {
88 let uselessBlockPart = (
99 number: BigUInt ( 12_965_000 ) ,
10- hash: Data ( fromHex : " 0xef95f2f1ed3ca60b048b4bf67cde2195961e0bba6f70bcbea9a2c4e133e34b46 " ) !, // "hash":
11- parentHash: Data ( fromHex : " 0x2302e1c0b972d00932deb5dab9eb2982f570597d9d42504c05d9c2147eaf9c88 " ) !, // "parentHash":
12- nonce: Data ( fromHex : " 0xfb6e1a62d119228b " ) , // "nonce":
13- sha3Uncles: Data ( fromHex : " 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 " ) !, // "sha3Uncles":
14- receiptsRoot: Data ( fromHex : " 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 " ) !, // "receiptsRoot":
15- logsBloom: EthereumBloomFilter ( Data ( fromHex : " 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 " ) !) , // "logsBloom":
16- transactionsRoot: Data ( fromHex : " 0x3a1b03875115b79539e5bd33fb00d8f7b7cd61929d5a3c574f507b8acf415bee " ) !, // "transactionsRoot":
17- stateRoot: Data ( fromHex : " 0xf1133199d44695dfa8fd1bcfe424d82854b5cebef75bddd7e40ea94cda515bcb " ) !, // "stateRoot":
18- miner: EthereumAddress ( Data ( fromHex : " 0x8888f1f195afa192cfee860698584c030f4c9db1 " ) !) !, // "miner":
10+ hash: Data ( from : " 0xef95f2f1ed3ca60b048b4bf67cde2195961e0bba6f70bcbea9a2c4e133e34b46 " ) !, // "hash":
11+ parentHash: Data ( from : " 0x2302e1c0b972d00932deb5dab9eb2982f570597d9d42504c05d9c2147eaf9c88 " ) !, // "parentHash":
12+ nonce: Data ( from : " 0xfb6e1a62d119228b " ) , // "nonce":
13+ sha3Uncles: Data ( from : " 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 " ) !, // "sha3Uncles":
14+ receiptsRoot: Data ( from : " 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 " ) !, // "receiptsRoot":
15+ logsBloom: EthereumBloomFilter ( Data ( from : " 0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 " ) !) , // "logsBloom":
16+ transactionsRoot: Data ( from : " 0x3a1b03875115b79539e5bd33fb00d8f7b7cd61929d5a3c574f507b8acf415bee " ) !, // "transactionsRoot":
17+ stateRoot: Data ( from : " 0xf1133199d44695dfa8fd1bcfe424d82854b5cebef75bddd7e40ea94cda515bcb " ) !, // "stateRoot":
18+ miner: EthereumAddress ( Data ( from : " 0x8888f1f195afa192cfee860698584c030f4c9db1 " ) !) !, // "miner":
1919 difficulty: BigUInt ( 21345678965432 ) , // "difficulty":
2020 totalDifficulty: BigUInt ( 324567845321 ) , // "totalDifficulty":
2121 size: BigUInt ( 616 ) , // "size":
22- extraData: Data ( fromHex : " 0x " ) !, // extraData":
22+ extraData: Data ( from : " 0x " ) !, // extraData":
2323 gasLimit: BigUInt ( 3141592 ) , // "gasLimit":
2424 gasUsed: BigUInt ( 21662 ) , // "gasUsed":
2525 timestamp: Date ( ) , // "timestamp":
0 commit comments