response from eth_getTransactionReceipt doesn't match geth #55

Closed
opened 2021-04-18 19:46:10 +00:00 by ramilexe · 1 comment
ramilexe commented 2021-04-18 19:46:10 +00:00 (Migrated from github.com)
    Expected
        <*types.Receipt | 0xc000392000>: {
            PostState: nil,
            Status: 1,
            CumulativeGasUsed: 33305,
            Bloom: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
            Logs: [
                {
                    Address: [37, 115, 69, 16, 248, 61, 69, 206, 102, 138, 98, 218, 195, 117, 59, 224, 26, 36, 27, 183],
                    Topics: [
                        [239, 222, 170, 245, 102, 247, 117, 29, 22, 161, 44, 127, 168, 144, 158, 183, 65, 32, 244, 44, 186, 51, 77, 7, 221, 82, 70, 196, 143, 31, 186, 129],
                    ],
                    Data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 72, 101, 108, 108, 111, 32, 49, 50, 51, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
                    BlockNumber: 14,
                    TxHash: [219, 61, 94, 242, 212, 227, 38, 14, 27, 140, 27, 203, 176, 155, 45, 143, 231, 166, 66, 49, 150, 162, 11, 138, 63, 166, 192, 157, 217, 215, 144, 115],
                    TxIndex: 0,
                    BlockHash: [184, 33, 202, 121, 189, 55, 23, 67, 104, 7, 62, 70, 157, 185, 46, 173, 117, 20, 138, 149, 247, 194, 76, 73, 242, 67, 95, 183, 199, 121, 117, 136],
                    Index: 0,
                    Removed: false,
                },
            ],
            TxHash: [219, 61, 94, 242, 212, 227, 38, 14, 27, 140, 27, 203, 176, 155, 45, 143, 231, 166, 66, 49, 150, 162, 11, 138, 63, 166, 192, 157, 217, 215, 144, 115],
            ContractAddress: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
            GasUsed: 33305,
            BlockHash: [184, 33, 202, 121, 189, 55, 23, 67, 104, 7, 62, 70, 157, 185, 46, 173, 117, 20, 138, 149, 247, 194, 76, 73, 242, 67, 95, 183, 199, 121, 117, 136],
            BlockNumber: {neg: false, abs: [14]},
            TransactionIndex: 0,
        }
    to equal
        <*types.Receipt | 0xc0003101c0>: {
            PostState: nil,
            Status: 1,
            CumulativeGasUsed: 33305,
            Bloom: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
            Logs: [
                {
                    Address: [37, 115, 69, 16, 248, 61, 69, 206, 102, 138, 98, 218, 195, 117, 59, 224, 26, 36, 27, 183],
                    Topics: [
                        [239, 222, 170, 245, 102, 247, 117, 29, 22, 161, 44, 127, 168, 144, 158, 183, 65, 32, 244, 44, 186, 51, 77, 7, 221, 82, 70, 196, 143, 31, 186, 129],
                    ],
                    Data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 72, 101, 108, 108, 111, 32, 49, 50, 51, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
                    BlockNumber: 0,
                    TxHash: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
                    TxIndex: 0,
                    BlockHash: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
                    Index: 0,
                    Removed: false,
                },
            ],
            TxHash: [219, 61, 94, 242, 212, 227, 38, 14, 27, 140, 27, 203, 176, 155, 45, 143, 231, 166, 66, 49, 150, 162, 11, 138, 63, 166, 192, 157, 217, 215, 144, 115],
            ContractAddress: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
            GasUsed: 0,
            BlockHash: [184, 33, 202, 121, 189, 55, 23, 67, 104, 7, 62, 70, 157, 185, 46, 173, 117, 20, 138, 149, 247, 194, 76, 73, 242, 67, 95, 183, 199, 121, 117, 136],
            BlockNumber: {neg: false, abs: [14]},
            TransactionIndex: 0,
        }

``` Expected <*types.Receipt | 0xc000392000>: { PostState: nil, Status: 1, CumulativeGasUsed: 33305, Bloom: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Logs: [ { Address: [37, 115, 69, 16, 248, 61, 69, 206, 102, 138, 98, 218, 195, 117, 59, 224, 26, 36, 27, 183], Topics: [ [239, 222, 170, 245, 102, 247, 117, 29, 22, 161, 44, 127, 168, 144, 158, 183, 65, 32, 244, 44, 186, 51, 77, 7, 221, 82, 70, 196, 143, 31, 186, 129], ], Data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 72, 101, 108, 108, 111, 32, 49, 50, 51, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], BlockNumber: 14, TxHash: [219, 61, 94, 242, 212, 227, 38, 14, 27, 140, 27, 203, 176, 155, 45, 143, 231, 166, 66, 49, 150, 162, 11, 138, 63, 166, 192, 157, 217, 215, 144, 115], TxIndex: 0, BlockHash: [184, 33, 202, 121, 189, 55, 23, 67, 104, 7, 62, 70, 157, 185, 46, 173, 117, 20, 138, 149, 247, 194, 76, 73, 242, 67, 95, 183, 199, 121, 117, 136], Index: 0, Removed: false, }, ], TxHash: [219, 61, 94, 242, 212, 227, 38, 14, 27, 140, 27, 203, 176, 155, 45, 143, 231, 166, 66, 49, 150, 162, 11, 138, 63, 166, 192, 157, 217, 215, 144, 115], ContractAddress: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], GasUsed: 33305, BlockHash: [184, 33, 202, 121, 189, 55, 23, 67, 104, 7, 62, 70, 157, 185, 46, 173, 117, 20, 138, 149, 247, 194, 76, 73, 242, 67, 95, 183, 199, 121, 117, 136], BlockNumber: {neg: false, abs: [14]}, TransactionIndex: 0, } to equal <*types.Receipt | 0xc0003101c0>: { PostState: nil, Status: 1, CumulativeGasUsed: 33305, Bloom: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Logs: [ { Address: [37, 115, 69, 16, 248, 61, 69, 206, 102, 138, 98, 218, 195, 117, 59, 224, 26, 36, 27, 183], Topics: [ [239, 222, 170, 245, 102, 247, 117, 29, 22, 161, 44, 127, 168, 144, 158, 183, 65, 32, 244, 44, 186, 51, 77, 7, 221, 82, 70, 196, 143, 31, 186, 129], ], Data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 72, 101, 108, 108, 111, 32, 49, 50, 51, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], BlockNumber: 0, TxHash: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], TxIndex: 0, BlockHash: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], Index: 0, Removed: false, }, ], TxHash: [219, 61, 94, 242, 212, 227, 38, 14, 27, 140, 27, 203, 176, 155, 45, 143, 231, 166, 66, 49, 150, 162, 11, 138, 63, 166, 192, 157, 217, 215, 144, 115], ContractAddress: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], GasUsed: 0, BlockHash: [184, 33, 202, 121, 189, 55, 23, 67, 104, 7, 62, 70, 157, 185, 46, 173, 117, 20, 138, 149, 247, 194, 76, 73, 242, 67, 95, 183, 199, 121, 117, 136], BlockNumber: {neg: false, abs: [14]}, TransactionIndex: 0, } ```
Member

Looks like the same underlying issue as in #54

Looks like the same underlying issue as in #54
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/ipld-eth-server#55
No description provided.